|
Home > Archive > Microsoft Content Management Server > September 2006 > Modify Behavior of Connected Postings
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 |
Modify Behavior of Connected Postings
|
|
| Arjuna 2006-09-22, 7:21 am |
| Hi,
If you have two connected Postings and if I modify one (even a custom
property) the status of the other connected Posting also changes as is the
default CMS behavior. Is there anyway in which I can avoid this. I want to
keep the status of the corresponding connected Postings as it is, rather than
having it move down to something like "Waiting for Editor Approval" if the
user modifies a Custom Property in one of the Postings.
If the content itself is modified then I want to change the status of the
corresponding connected Postings, this I have no problem with since this is
the default CMS behavior.
Thanks
Arjuna.
| |
| Stefan [MSFT] 2006-09-22, 1:18 pm |
| Hi Arjuna,
see here for an explanation for this:
http://blogs.technet.com/stefan_gos.../17/412613.aspx
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
news:F6EAFC52-1D5D-4E46-823B-FFAE59885E4A@microsoft.com...
> Hi,
>
> If you have two connected Postings and if I modify one (even a custom
> property) the status of the other connected Posting also changes as is the
> default CMS behavior. Is there anyway in which I can avoid this. I want to
> keep the status of the corresponding connected Postings as it is, rather
> than
> having it move down to something like "Waiting for Editor Approval" if the
> user modifies a Custom Property in one of the Postings.
>
> If the content itself is modified then I want to change the status of the
> corresponding connected Postings, this I have no problem with since this
> is
> the default CMS behavior.
>
> Thanks
> Arjuna.
| |
| Arjuna 2006-09-26, 7:24 am |
| Hi Stefan,
Thanks for the Pointer. But is there no way in which I can get this done. If
I explain again I have a Template with a Custom Property. Next I create two
connected Postings with this template. When the user modifies the Custom
Property on one Connected Posting the status of the other Connected Posting
also drops down to Saved. I want to avoid this. I want the status changed
only when content is modified and not when Custom Properties are modified. I
tried to wire into the "CmsPosting_CustomPropertyChanging" from Global.asax
and cancel if the Custom Property being modified is not on the current
Posting, but as explained in the article this event fires only once. Is there
any workaround this at all.
Thanks
Arjuna.
"Stefan [MSFT]" wrote:
> Hi Arjuna,
>
> see here for an explanation for this:
> http://blogs.technet.com/stefan_gos.../17/412613.aspx
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
> news:F6EAFC52-1D5D-4E46-823B-FFAE59885E4A@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2006-09-27, 1:19 pm |
| Hi Arjuna,
as the article explains: this is technically impossible due to the
underlaying architecture of posting and page objects.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
news:E9C52E71-AF7E-4C8F-91BA-BED9F5F6D013@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> Thanks for the Pointer. But is there no way in which I can get this done.
> If
> I explain again I have a Template with a Custom Property. Next I create
> two
> connected Postings with this template. When the user modifies the Custom
> Property on one Connected Posting the status of the other Connected
> Posting
> also drops down to Saved. I want to avoid this. I want the status changed
> only when content is modified and not when Custom Properties are modified.
> I
> tried to wire into the "CmsPosting_CustomPropertyChanging" from
> Global.asax
> and cancel if the Custom Property being modified is not on the current
> Posting, but as explained in the article this event fires only once. Is
> there
> any workaround this at all.
>
> Thanks
> Arjuna.
>
> "Stefan [MSFT]" wrote:
>
| |
| Arjuna 2006-09-28, 7:25 am |
| Hi Stefan,
Instead of using connected postings I thought of creating a copy of the
original Posting and store the GUID of the copied Posting in a custom
property of the original Posting. Now when the user goes into the Edit Mode
of the orignal Posting, modifies content and saves I check in the
"PlaceholderPropertyChanged" event if the content is different from what is
in the copied Posting and if so I modify the Copied Posting. Seems to work
ok, just wanted to know if you see any problems with this approach.
Thanks
Arjuna.
"Stefan [MSFT]" wrote:
> Hi Arjuna,
>
> as the article explains: this is technically impossible due to the
> underlaying architecture of posting and page objects.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
> news:E9C52E71-AF7E-4C8F-91BA-BED9F5F6D013@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2006-09-28, 7:25 am |
| Hi Arjuna,
should work fine.
Or use the server control here to render remote content if you only update
one posting:
http://www.gotdotnet.com/Community/...b9-8b395b722f24
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"Arjuna" <Arjuna@discussions.microsoft.com> wrote in message
news:797CA72A-B9AF-49C4-B428-A610BD8D85DF@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> Instead of using connected postings I thought of creating a copy of the
> original Posting and store the GUID of the copied Posting in a custom
> property of the original Posting. Now when the user goes into the Edit
> Mode
> of the orignal Posting, modifies content and saves I check in the
> "PlaceholderPropertyChanged" event if the content is different from what
> is
> in the copied Posting and if so I modify the Copied Posting. Seems to
> work
> ok, just wanted to know if you see any problems with this approach.
>
> Thanks
> Arjuna.
>
> "Stefan [MSFT]" wrote:
>
|
|
|
|
|