Client Event URL

  • 17 April 2007
  • 1 reply
  • 0 views

Badge +1
Is it possible to put the client event URL into SharePoint 2003 List field?

I have added this code to a field in the event properties
"Complete: http://webserver/trans/smartform.aspx?sn=" + K2.SerialNumber
which I believe is the correct link but I cannot reference the ClientEventContext from the server event to add to worklist.
K2.AddWorklist("ASP",System.Web.HttpUtility.UrlPathEncode(strURL));

1 reply

Badge +6
Hi JMATT,

This should be fairly easy to do from within the client event code itself.

Try the following:

Use the 'SharePoint 2003 List' event wizard to produce the code to update the required list. Use this code to update the required field with the strURL value. Paste this code below the 'K2.AddWorklist("ASP",System.Web.HttpUtility.UrlPathEncode(strURL)); ' line in the client event code and delete the SPS List event.

The K2Server account will require required rights for the site.

HTH,
Conrad

Reply