|
Home > Archive > Microsoft Content Management Server > February 2004 > changing page properties
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 |
changing page properties
|
|
| newsgroup user 2004-02-24, 1:36 am |
| Changes to page properties (page props console as well as moving a page) do not trigger any workflow events (cmsposting_submitting/ed, approving, declining, etc). Certain change events get fired, but that doesnt help much because they fire once for each
property, and I want to send only one email notification per posting. Is this a flaw in the system that it skips submit event for page properties? Is there a fix for this?
Thanks!
| |
| Stefan [MSFT] 2004-02-24, 3:35 am |
| Hi DWC,
these changes should trigger
CmsPosting_PropertyChanging and CmsPosting_PropertyChanged.
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"dwc" <anonymous@discussions.microsoft.com> wrote in message
news:4EEF0051-D22F-403B-9A6C-54EA969D089D@microsoft.com...
> Changes to page properties (page props console as well as moving a page)
do not trigger any workflow events (cmsposting_submitting/ed, approving,
declining, etc). Certain change events get fired, but that doesnt help much
because they fire once for each property, and I want to send only one email
notification per posting. Is this a flaw in the system that it skips submit
event for page properties? Is there a fix for this?
>
> Thanks!
| |
| newsgroup user 2004-02-24, 6:35 am |
| It does trigger these properties, for each property changed. That is the problem. So if you change Is Hidden, Important, and Stop Publishing Date both events are triggered 3 times, one for each property. I want to send one email to the editors group te
lling them that this one posting has changed. At present, I call this code in CmsPosting_Submitted. I suppose I could set some global flag in the propertychanged event to determine if I've already sent an email or not, but that is rather messy.
So what you're telling me is that, by design, MCMS doesn't trigger the submit event for when page properties are changed? It just triggers the PropertyChanging and Changed event a bunch of times? This makes it a little awkward to perform workflow operat
ions for page properties.
| |
| Stefan [MSFT] 2004-02-24, 7:36 am |
| Hi DWC,
submit is only necessary if the Page object is changed. Not if the posting
object is changed.
These properties are parts of the posting object.
You should use the CmsPosting_Changed event. I assume this is only fired for
"e.Target is Posting".
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"dwc" <anonymous@discussions.microsoft.com> wrote in message
news:EEF370B1-2C68-491C-9259-E78AA98C490B@microsoft.com...
> It does trigger these properties, for each property changed. That is the
problem. So if you change Is Hidden, Important, and Stop Publishing Date
both events are triggered 3 times, one for each property. I want to send
one email to the editors group telling them that this one posting has
changed. At present, I call this code in CmsPosting_Submitted. I suppose I
could set some global flag in the propertychanged event to determine if I've
already sent an email or not, but that is rather messy.
>
> So what you're telling me is that, by design, MCMS doesn't trigger the
submit event for when page properties are changed? It just triggers the
PropertyChanging and Changed event a bunch of times? This makes it a little
awkward to perform workflow operations for page properties.
|
|
|
|
|