Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • sravani 50 posts 70 karma points
    Apr 06, 2011 @ 08:37
    sravani
    0

    Accesses umbraco content from asp.net application??????

    Hi,

    I am new to umbraco, I need to edit content pages through umbraco in my existing asp.net application .

    How can access the content pages from umbraco.......Please help me 

    Thanks in advance........

  • Pasang Tamang 258 posts 458 karma points
    Apr 06, 2011 @ 09:24
    Pasang Tamang
    0

    Hi sravani,

    You can consume umbraco site data via web service. Here is one post may be this will help you http://our.umbraco.org/forum/developers/api-questions/8364-How-to-use-Umbraco-API-and-programmatically-access-the-content-tree-in-umbraco-cms-

    Thanks

    Pnima

  • skiltz 501 posts 701 karma points
    Apr 06, 2011 @ 09:25
    skiltz
    0

    Your question is quite ambigious.  If you want to edit Umbraco pages in your existing application you could run Umbraco in an iframe however this would still require users to login again to umbraco.

  • sravani 50 posts 70 karma points
    Apr 06, 2011 @ 09:39
    sravani
    0

    Thanks for the reply 

    let me explain more.... In my application I have two static content page. I want edit my content through the umbraco..... how can i access the content pages from umbraco to my existing application 



  • skiltz 501 posts 701 karma points
    Apr 06, 2011 @ 09:44
    skiltz
    0

    Do you want to convert your existing website to Umbraco or just the two static pages?

  • sravani 50 posts 70 karma points
    Apr 06, 2011 @ 09:47
    sravani
    0

    just  static pages only........

    Thanks

  • Pasang Tamang 258 posts 458 karma points
    Apr 06, 2011 @ 09:48
    Pasang Tamang
    0

    In my view it's bit complicated to edit content of static page from umbraco.One way is if you make your those 2 pages dynamic then there may be some ways to do.

    Pnima

  • skiltz 501 posts 701 karma points
    Apr 06, 2011 @ 09:58
    skiltz
    0

    Yeah ummm there is various way you could go about this. You could look into Umbraco.Library.RenderTemplate.  The best thing to do would be just move everything to Umbraco :)

  • sravani 50 posts 70 karma points
    Apr 06, 2011 @ 09:58
    sravani
    0

    Those two pages are content pages only. no problem I can change those pages as dynamic......  

    pages are like  faq.aspx..... etc

  • Gordon Saxby 1461 posts 1883 karma points
    Apr 06, 2011 @ 09:59
    Gordon Saxby
    0

    It seems like overkill (probably better to write a simple admin tool for the 2 static pages), but you could install Umbraco and the ASP.net site in the same website. You would need to configure Umbraco to "ignore" the ASP.Net website and then convert the 2 static pages into dynamic pages controlled by Umbraco.

    You would need to edit the "umbracoReservedUrls" and / or "umbracoReservedPaths" values in web.config to stop Umbraco clashing with the other website.

     

  • sravani 50 posts 70 karma points
    Apr 06, 2011 @ 10:05
    sravani
    0

    It is not possible for  me to move everything into umbraco  now .... :( 

    please help me........... how can add umbraco content pages to my application.... pls..........

  • Gordon Saxby 1461 posts 1883 karma points
    Apr 06, 2011 @ 10:17
    Gordon Saxby
    0

    Can you install Umbraco in the same website as the existing application? If so, configure Umbraco (as above) to ignore all folders / pages from the existing application. Then recreate the 2 static pages as pages in Umbraco ... this is of course simplifying it, as you would need to recreate (copy?) the template from the current site to get the design. You would also need to implement the menu system too.

    It does seem like far too much work for just a couple of pages ... can you give us more details of the overall situation and why these 2 pages need to be edited, how often, what the existing system is / does.

    Just to point out - in case you are not aware - the pages you create in Umbraco do not physically exist! So, to be able to edit the 2 static pages, they would need to be created in Umbraco and be under the control of / be served by Umbraco.

     

  • Rich Green 2246 posts 4008 karma points
    Apr 06, 2011 @ 10:40
    Rich Green
    0

    Just paste the 2 "static" pages into 2 new templates within Umbraco create a new doc type (anything will do) allow both templates and use these whereever you need them.

    Rich

  • sravani 50 posts 70 karma points
    Apr 06, 2011 @ 10:46
    sravani
    0

     

    I have an existing, large, ASP.NET app. It has nothing to do with umbraco.

    I need to allow my marketing team  can edit the  file content, which will be available on pages in the ASP.NET app everytime ( in future we can add more pages......like faq.aspx.........) .

    for example I have a faq.aspx page it contains questions and answer evry time we nee to change the content  for that I need umbraco

     

  • Gordon Saxby 1461 posts 1883 karma points
    Apr 06, 2011 @ 10:48
    Gordon Saxby
    0

    Can you not build an edit feature into the existing ASP.NET application?

     

  • Pasang Tamang 258 posts 458 karma points
    Apr 06, 2011 @ 10:52
    Pasang Tamang
    0

    Hi sravani,

    If that the case then better to move all your static pages to umbraco site, and in your asp.net application just link the nav menu to umbraco page. I'm following the same way which I described here.

    Pnima

  • Rich Green 2246 posts 4008 karma points
    Apr 06, 2011 @ 10:53
    Rich Green
    0

    Hey Sravani,

    I'm sorry but I'm not sure what it is you're trying to do.

    What does the existing ASP.NET site do, are the pages editable in the existing system already?

    At a wild guess I'm assuming that you want to integrate an existing ASP.NET and add a few more editable pages via Umbraco??

    Rich

     

  • sravani 50 posts 70 karma points
    Apr 06, 2011 @ 10:57
    sravani
    0

    just it a text ....................................

    That content pages having the static text only not from the database...... like runawayhomepage in umbraco......

     

  • sravani 50 posts 70 karma points
    Apr 06, 2011 @ 11:04
    sravani
    0

    I have created one content page in umbraco called opcontent .

    my problem is how can I add this conetnt page to my asp.net application...............

     

  • sravani 50 posts 70 karma points
    Apr 06, 2011 @ 11:06
    sravani
    0

    Thanks Pnima

    can you explain more about that with example it helps me a lot..... Thanks again

  • Rich Green 2246 posts 4008 karma points
    Apr 06, 2011 @ 11:07
    Rich Green
    0

    If they are just text I would convert each page to an Umbraco template (Master Page).

    Then your user can add these pages where they want, link to them and the site map and URL rewriting will all work without problems.  You can also integrate new data into the templates when you're ready.

    Rich

  • sravani 50 posts 70 karma points
    Apr 06, 2011 @ 11:13
    sravani
    0

    How can I link those umbraco content pages to my site ....

    Pls give me any example link or code 

    Thanks

  • Rich Green 2246 posts 4008 karma points
    Apr 06, 2011 @ 11:23
    Rich Green
    0

    Login to Umbraco

    Go to settings - Create a new Doc Type, lets say for "About Us"

    Tick the box to create a template

    Open the template (Settings - Templates)

    Paste your HTML from your static page into the About Us template

    Go to Settings - Doc Types click your "Home" Doc Type and then go to "Structure" tab and allow About Us to be added.

    Go to your content section and right click "Home" (add this if it's not there) and add the about us doc type.

    Repeat for all your pages.

    How many pages are there?

    Rich

  • sravani 50 posts 70 karma points
    Apr 06, 2011 @ 11:29
    sravani
    0

    I have done with creation...............How can I add or link these pages into my application..........

    Thanks a lot for your time

  • Pasang Tamang 258 posts 458 karma points
    Apr 06, 2011 @ 11:31
    Pasang Tamang
    0

    I've done with simple easy steps.

    Like I've a umbraco site, mydomain.com and another application application.com. I just create umbraco pages in mydomain.com and in application.com's faq menu, I defined url from mydomain.com like mydomain.com/faq. Another step you can do is that just create faq page in application.com and using iframe you can consume faq page of mydomain.com.

    Hope this helps to fix your problem.

    Pnima

  • sravani 50 posts 70 karma points
    Apr 06, 2011 @ 11:48
    sravani
    0

    Thank you All

  • Pasang Tamang 258 posts 458 karma points
    Apr 06, 2011 @ 12:28
    Pasang Tamang
    0

    Means you have fix the problem?

  • sravani 50 posts 70 karma points
    Apr 06, 2011 @ 12:31
    sravani
    0

    Yes it solved through iframe concept ........... Thanks a lot :)

  • Pasang Tamang 258 posts 458 karma points
    Apr 06, 2011 @ 12:35
    Pasang Tamang
    0

    Could you please mark as solved? This will be helpful for others, those who are facing same problem.

    Pnima

  • Gordon Saxby 1461 posts 1883 karma points
    Apr 06, 2011 @ 12:40
    Gordon Saxby
    0

    Details of the actual solution implemented would be useful too ;-)

     

  • sravani 50 posts 70 karma points
    Apr 06, 2011 @ 13:16
    sravani
    0

    I have created  content pages in umbraco and just use the following code for redirecting 

    myIframe.Attributes["src"] = "http://localhost/1065.aspx; (localhost)
    working perfect..... :)

Please Sign in or register to post replies

Write your reply to:

Draft