Skip to main content
Nintex Community Menu Bar

call SO save method in server event code

  • August 15, 2008
  • 6 replies
  • 22 views

Forum|alt.badge.img+2

Does anyone know how to call SmartObject Save method in server event code? I'm using infopath integration. I need to do update after the request has been approved. Thanks in advanced for any helps.

6 replies

Forum|alt.badge.img+4
  • Novice
  • August 15, 2008

you need to write code against the SmO API

check this out...

http://srikantha.wordpress.com/2007/09/18/code-manipulation-of-smart-objects/

 

 


Forum|alt.badge.img+11
  • August 15, 2008

You might also want to check out the SmartObject Event Wizard to see if it can meet your needs with no code,


David


Forum|alt.badge.img+9
  • Nintex Partner
  • August 15, 2008
There are also quite a number of code samples that deal with coding against SmartObjects (and other K2 APIs) within the K2 Developer's Reference document.

Forum|alt.badge.img+9
  • August 18, 2008
I second David's suggestion... why do you feel you need to use server event code?  I've had good success using the SmartObject event wizard for all smart object integration.

Forum|alt.badge.img
  • April 28, 2009
I have a smartobject event to save a field value into the smartbox database. I am using the save method. The event wizard shows all the fields in that smart object(smart box) table and i set the values for the ID field and status field which needs to be updated. This value never gets updated. Is there something that i am missing here.

Forum|alt.badge.img+9
  • April 28, 2009
Sounds like you got it right - can you post the process or a screenshot of what you are doing?  Maybe we can help see the problem.