Click here to Skip to main content
12,894,708 members (62,628 online)
Click here to Skip to main content
Add your own
alternative version


18 bookmarked
Posted 28 Apr 2004

Quick editor for MCMS Postings

, 28 Apr 2004
Rate this:
Please Sign up or sign in to vote.
Quickly navigate through your channels and postings and edit the rawcontent of posting placeholders.

Sample Image - CustomEdit.jpg


Sometimes, when you're working with MCMS, you quickly want to navigate through the channels and/or edit a Postings Placeholder's RawContent. The CustomEdit aspx page enables this.

It creates a list of subchannels and posting for the typed address. Clicking a channel causes a navigation to that channel. Clicking a posting causes the above screenshot to appear. On this page, you can quickly edit the name, display name and placeholder's RawContent for the selected posting.

Especially when you mess up an XmlPlaceholder, this may come in handy.

Clicking the save button causes a validation of the current logged on user like this:

CmsApplicationContext cxt = new CmsApplicationContext();
WindowsIdentity ident = HttpContext.Current.User.Identity as WindowsIdentity; 

After that, it resets all the placeholders' RawContent values.

Posting p = (Posting)hi;
p.Name = Request.Form["NAME"];
p.DisplayName = Request.Form["DISPLAYNAME"];
foreach (Placeholder ph in p.Placeholders)
    ph.Datasource.RawContent = Request.Form[ph.Name];

Hope it helps.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Web Developer
Netherlands Netherlands
Developer since 1998 and mainly focused on web development. Currently employed as technical architect.

You may also be interested in...

Comments and Discussions

GeneralI got enough acroymns floating around in my head... Pin
Erik Thompson29-Apr-04 8:22
sitebuilderErik Thompson29-Apr-04 8:22 
GeneralRe: I got enough acroymns floating around in my head... Pin
Anonymous30-Apr-04 3:45
sussAnonymous30-Apr-04 3:45 
GeneralRe: I got enough acroymns floating around in my head... Pin
Erik Thompson30-Apr-04 6:40
sitebuilderErik Thompson30-Apr-04 6:40 
GeneralPlaceholder Types Pin
Reiss29-Apr-04 5:06
memberReiss29-Apr-04 5:06 
GeneralRe: Placeholder Types Pin
Anonymous30-Apr-04 3:46
sussAnonymous30-Apr-04 3:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170424.1 | Last Updated 29 Apr 2004
Article Copyright 2004 by Rooc
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid