09-06-04 10:48 PM
Hi group,
I've been playing around w/ a custom property placeholder which
displays my custom properties while in authoring mode on my posting.
Everything works fine except when I create a new posting and attempt a
save...error message...as I expected to see from various groups
messages I've read.
Well, I went ahead and placed this custom property placeholder in a
user control and I fire the Saved_Content (sorry if I misuse the exact
method and/or property names as I'm typing this message from memory)
event on page save.
I override the Saved_Content method and pass the argument variable (e
by default) into a method within my Custom Property Placeholder which
will save the custom property information.
Using the e.Posting as my posting instead of the
CmsHttpContext.Current.Posting value and viola, the information is
saved for new and existing postings.
So more information. The custom property placeholder is an
XMLPlaceholder control. The account I'm using within MCMS is an admin
user role.
I have completed limited testing for this work around but I thought
I'd offer it to the group for scrutiny.
Let me know what you all think.
Thanx,
Will
[ Post a follow-up to this message ]
|