Microsoft Content Management Server - Workflow Hooks/

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > September 2005 > Workflow Hooks/





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 Workflow Hooks/
leisuresuitlissy

2005-09-25, 2:48 am

Hi. Does anyone know of a way to modify the workflow hooks to differentiate
between editors and moderators?

See below example of what I want to achieve...

If strAction = IDS_ACTION_APPROVE Then
If Current User = moderator then <--- this is what I want to be
able do...
OnBeforeWorkFlowOp = true

Thanks
m

Geoffrey [MSFT]

2005-09-25, 5:51 pm

Are you talking about CMS2001 or 2002?

--
----------------------------------------
Geoffrey Edge, Portals Technology Specialist
Microsoft Communications Sector North America
"leisuresuitlissy" <leisuresuitlissy@discussions.microsoft.com> wrote in
message news:DAF755D8-0902-4989-88D5-309C2969A2E1@microsoft.com...
> Hi. Does anyone know of a way to modify the workflow hooks to
> differentiate
> between editors and moderators?
>
> See below example of what I want to achieve...
>
> If strAction = IDS_ACTION_APPROVE Then
> If Current User = moderator then <--- this is what I want to be
> able do...
> OnBeforeWorkFlowOp = true
>
> Thanks
> m
>



leisuresuitlissy

2005-09-25, 8:48 pm

Hello. 2001.

"Geoffrey [MSFT]" wrote:

> Are you talking about CMS2001 or 2002?
>
> --
> ----------------------------------------
> Geoffrey Edge, Portals Technology Specialist
> Microsoft Communications Sector North America
> "leisuresuitlissy" <leisuresuitlissy@discussions.microsoft.com> wrote in
> message news:DAF755D8-0902-4989-88D5-309C2969A2E1@microsoft.com...
>
>
>

Stefan [MSFT]

2005-09-26, 2:48 am

Hi,

MCMS does not give this information to you.
What you could do is to create a channel and to assign all editors and
moderators to it.
Then create a posting and put it to "waiting for editor approval" state. Now
create a second posting and put it to "waiting for moderator approval"
state.

Ensure that these postings never get approved.

So now you can do a search for these postings and check the CanApprove
property.
This will allow you to see if the current user is in the moderator or the
editor role depending on which posting he could approve.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"leisuresuitlissy" <leisuresuitlissy@discussions.microsoft.com> wrote in
message news:82253CC9-4538-451A-9488-A830341D1619@microsoft.com...[vbcol=seagreen]
> Hello. 2001.
>
> "Geoffrey [MSFT]" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com