|
Home > Archive > Microsoft Content Management Server > August 2004 > assigning values to CustomProperties dynamically
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 |
assigning values to CustomProperties dynamically
|
|
| Jo Versmissen 2004-08-24, 8:14 am |
| Hi all,
I have a custom placeholder that renders as a textbox. The text in the
textbox will be copied to a customproperty of the posting.
Now here comes the problem: when I create a new page, it is impossible to
assign a value to a customproperty of the posting, because the save of the
placeholder (and also the assigning of the customproperty) appears to happen
before the creation of the posting.
The following message occurs:
Save Placeholder Failed
----------------------------------------------------------------------------
----
Error Details:
Cannot modify read only object. The target object is read only and it cannot
be modified.
Any ideas?
Greetings,
Jo
| |
| Stefan [MSFT] 2004-08-24, 8:14 am |
| Hi Jo,
I would suggest to use this solution rather than the placeholder approach:
http://blogs.msdn.com/stefan_gossne.../25/119613.aspx
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------
"Jo Versmissen" <jve@pss.be> wrote in message
news:#69ah3diEHA.1656@TK2MSFTNGP09.phx.gbl...
> Hi all,
>
> I have a custom placeholder that renders as a textbox. The text in the
> textbox will be copied to a customproperty of the posting.
>
> Now here comes the problem: when I create a new page, it is impossible to
> assign a value to a customproperty of the posting, because the save of the
> placeholder (and also the assigning of the customproperty) appears to
happen
> before the creation of the posting.
>
> The following message occurs:
>
> Save Placeholder Failed
> --------------------------------------------------------------------------
--
> ----
> Error Details:
> Cannot modify read only object. The target object is read only and it
cannot
> be modified.
>
> Any ideas?
>
> Greetings,
> Jo
>
>
| |
|
|
|
|
|
|
|