Custom application with CMS controlled content sections
We have a website build and managed using Umbraco. We are now developing a custom portal which we would like to integrate with Umbraco.
We plan on using the members features through the API but was wondering if it was possible to include a CMS controlled content section in one of my custom aspx pages? Allowing a content editor to update the content in the portal which is actually a custom .NET web application.
if you're running under the samme context it should be possible to use the umbraco.presentation.nodeFactory.Node to get data. Another option might be to use xml, either by tapping into umbraco.config directly (be carefull with locking issues) or perhaps the prefered way, which would be to use xml through a page template. See examples for rss feeds/site maps.
for updating see Richard's answer. However, if you cannot run under the same context you can interact with the document using the umbraco web services.
Firstly thanks for the replied. Sorry not sure I was clear on my explanation, however Harald your first answer seems to be close to what I am after.
Here is an example:
Custom web application. I write a custom login page that works with Umbraco members. On this page there is some information:
Login introduction test
Success message
Failure message
I want to be able to create a page in Umbraco (lack of a better idea) with 3 text fields that allows the user to modify said text. The custom login page will automatically be updated because I told it to use page x field y for the success message etc.
By all means if there is a better solution please let me know.
Custom application with CMS controlled content sections
We have a website build and managed using Umbraco. We are now developing a custom portal which we would like to integrate with Umbraco.
We plan on using the members features through the API but was wondering if it was possible to include a CMS controlled content section in one of my custom aspx pages? Allowing a content editor to update the content in the portal which is actually a custom .NET web application.
Cheers
Hi Daniel,
if you're running under the samme context it should be possible to use the umbraco.presentation.nodeFactory.Node to get data. Another option might be to use xml, either by tapping into umbraco.config directly (be carefull with locking issues) or perhaps the prefered way, which would be to use xml through a page template. See examples for rss feeds/site maps.
Hth,
Harald
Hi Daniel,
Yes it's possible. You can create a custom form for the portal and use the Document object check this wiki article how to do that
http://our.umbraco.org/wiki/reference/api-cheatsheet/creating-a-document
Cheers,
Richard
Hi Daniel,
for updating see Richard's answer. However, if you cannot run under the same context you can interact with the document using the umbraco web services.
Cheers,
Harald
Firstly thanks for the replied. Sorry not sure I was clear on my explanation, however Harald your first answer seems to be close to what I am after.
Here is an example:
Custom web application. I write a custom login page that works with Umbraco members. On this page there is some information:
is working on a reply...