CMS Posting Approval Event - MCMS SP2
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > CMS Posting Approval Event - MCMS SP2




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    CMS Posting Approval Event - MCMS SP2  
Sathish Kumar K


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-16-06 12:23 PM

Hi,

We're trying to do some actions in the event of MCMS posting Approval. We tr
ied 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





[ Post a follow-up to this message ]



    Re: CMS Posting Approval Event - MCMS SP2  
Sathish Kumar K


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-16-06 12:23 PM

Hi,

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

Thanks and Regards,
Sathish Kumar K





[ Post a follow-up to this message ]



    Re: CMS Posting Approval Event - MCMS SP2  
svdkooij


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-18-06 06: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 ?






[ Post a follow-up to this message ]



    Re: Re: CMS Posting Approval Event - MCMS SP2  
Sathish Kumar K


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-18-06 12:18 PM

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=neutra
l, PublicKeyToken=31bf3856ad364e35" name="CmsPosting"/>

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

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

public void CmsPosting_Approved(Object sender, ChangedEventArgs e)
{
///TODO: Add Event Handler Code!
}





[ Post a follow-up to this message ]



    Re: CMS Posting Approval Event - MCMS SP2  
Stefan Goßner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-19-06 06: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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:56 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register