Microsoft Content Management Server - Edit mode

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > March 2006 > Edit mode





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Edit mode
Ram

2006-03-16, 7:48 am

Dear Stefan,

Is it possible to open my template page directly editing mode throgh
MCMS API. If possible how to do it?

regards
senthil

Stefan [MSFT]

2006-03-16, 8:48 pm

Hi Senthil,

yes this is possible.
Would you need to open an existing page or a new page based on this
template?
For a new page you need to do the following:

Response.Redirect(WebAuthorContext.Current.GetAuthoringNewUrl(template,
channel));

For an existing Page you need to do the following:

Response.Redirect(WebAuthorContext.Current.GetUrlForMode(posting,
WebAuthorContextMode.AuthoringReedit);

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Ram" <senthilpnr@gmail.com> wrote in message
news:1142492696.363924.308860@p10g2000cwp.googlegroups.com...
> Dear Stefan,
>
> Is it possible to open my template page directly editing mode throgh
> MCMS API. If possible how to do it?
>
> regards
> senthil
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com