Microsoft Content Management Server - CMS Posting Approval Event - MCMS SP2

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > December 2006 > CMS Posting Approval Event - MCMS SP2





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 CMS Posting Approval Event - MCMS SP2
Sathish Kumar K

2006-12-16, 7:23 am

Hi,

We're trying to do some actions in the event of MCMS posting Approval. We tried changing the Global.asax. It didn't fire. We're using MCMS 2002 with SP2. We're using VS 2005 as dev IDE.

Could you let us know how to make it work?

Regards,
Sathish Kumar K
Sathish Kumar K

2006-12-16, 7:23 am

Hi,

This works fine. The issue was in Web.Config. We figured that out.

Thanks and Regards,
Sathish Kumar K
svdkooij

2006-12-18, 1:28 am


Sathish Kumar K wrote:
> Hi,
>
> This works fine. The issue was in Web.Config. We figured that out.
>
> Thanks and Regards,
> Sathish Kumar K


Could you perhaps share your knownledge with us ?

Sathish Kumar K

2006-12-18, 7:18 am

We need to have the following line in httpmodules section in Web.CONFIG.

<add type="Microsoft.ContentManagement.Publishing.Events.PostingEventsModule, Microsoft.ContentManagement.Publishing, Version=5.0.1200.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="CmsPosting"/>

We had a duplicate line of this with different value in name attribute... That was the issue.

In Global.asax file we need to have this. CmsPosting is the name value in the web.config line mentioned above. We need to have add _Approved for Approved Event. Similarly we can have for other events.

public void CmsPosting_Approved(Object sender, ChangedEventArgs e)
{
///TODO: Add Event Handler Code!
}
Stefan Goßner [MSFT]

2006-12-19, 1:19 pm

Hi Satish,

the usual reason is that one of the parameters of the event is of a wrong
type.
Please ensure that the parameter types are correct.

Cheers,
Stefan


"Sathish Kumar K" <anonymous@discussions.microsoft.com> wrote in message
news:%23Rqgz6OIHHA.1784@TK2MSFTNGP06.phx.gbl...
> Hi,
>
> We're trying to do some actions in the event of MCMS posting Approval. We
> tried changing the Global.asax. It didn't fire. We're using MCMS 2002 with
> SP2. We're using VS 2005 as dev IDE.
>
> Could you let us know how to make it work?
>
> Regards,
> Sathish Kumar K



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com