Skip to main content
Nintex Community Menu Bar

Hello all, I need to store some user details  (variables) such as the user's ID, his manager's ID etc. In a classic web app, I would store these in a session variable, how can I do it here?

 

I read some comments about using a smart object for that, but smart object is just a data table and I don't want to read from this table each time I refresh a page. What options do I have?

 

If I could for example write the desired value in the SystemValues.CurrentUser.Name object, that would work fine, but does not seem like I can write to these SystemValue objects?

Thanks

Hello,


 


Since smartforms are stateless by design, you would need to create a SmartObject to reference these variables. You could also create SmartObjects that reference an SQL database that stores IDs.


 


How to create smartobjects:


- http://help.k2.com/onlinehelp/k2smartforms/userguide/current/default.htm#SF_-_SmartObject_Designer_Overview.html.


 


Community article that shows how to create a SQL Instance SmartObject: 


http://community.k2.com/t5/General/How-to-Create-Custom-SQL-Service-Instance-SmartObject/m-p/103094#M3464.


 


OK, that means I need to hit the SQL server (through smart object) each page refresh which is what I was hoping to avoid

thank you


Reply