04-26-05 07:48 AM
Hi Suni,
in a workflow event you should use e.Context as context and e.Target as the
current posting:
CmsContext context = e.Context;
Posting p = (Posting) e.Target;
Never user CmsHttpContext in a workflow event!
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
----------------------
"sunireddy" <sunireddy@gmail.com> wrote in message
news:1114463813.974786.163360@f14g2000cwb.googlegroups.com...
Hi Stefan,
Thanks for the quick reply, I already know that the object
pst =
Microsoft.ContentManagement.Pu_blishing.CmsHttpContext.Curren_t.Posting;
is null.
But not too sure how to go about it. The same workflow.cs works for web
edit. I am not too sure how to use the same for word edit cause for
this i am creating a new application and copying the workflow.cs and
global.asax.cs and global.asax and bin dir to the folder C:\Program
Files\Microsoft Content Management Server\Server\MCMS manually.
Thanks
Sunitha
[ Post a follow-up to this message ]
|