Microsoft Content Management Server - CmsPosting_Changing problem

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > July 2007 > CmsPosting_Changing problem





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 CmsPosting_Changing problem
Randel

2007-07-17, 1:18 pm

Hi.

I have previously added three workflow event handlers in my
global.asax.cs file using CmsPosting_Approving, CmsPosting_Approved
and CmsPosting_Submitted. I have added CmsPosting_Changing but cannot
get code to fire when placed within this module. I changed the name
to CmsPosting_Changed and I can fire code.

Has anyone of you experienced this type of problem? Can you help me
figure this out?

thanks for your help. Randy

Stefan Goßner [MSFT]

2007-07-17, 1:18 pm

Hi Randel,

if changing the name works then the answer is easy:
The parameter types are incorrect.

CmsPosting_Changing and CmsPosting_Changed have different parameter types.
If the types are incorrect the events will not fire.

Ensure to create your CmsPosting_Changing event like this:

public void CmsPosting_Changing( Object sender, ChangingEventArgs e )

Cheers,
Stefan

"Randel" <randel.mckee@okdhs.org> wrote in message
news:1184686180.949355.205270@x35g2000prf.googlegroups.com...
> Hi.
>
> I have previously added three workflow event handlers in my
> global.asax.cs file using CmsPosting_Approving, CmsPosting_Approved
> and CmsPosting_Submitted. I have added CmsPosting_Changing but cannot
> get code to fire when placed within this module. I changed the name
> to CmsPosting_Changed and I can fire code.
>
> Has anyone of you experienced this type of problem? Can you help me
> figure this out?
>
> thanks for your help. Randy
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com