Skip to main content

This might be a simple question, but I'm just not sure on it. Is it possible to modify the parameter values that are sent to the SharePoint list/K2 forms?  For instance, if I add a custom parameter to a form, how do I set the value of that parameter when the form is launched (it may differ depending on what list and/or site the form is used on)? 

 

Additionally, can the OOB parameter values be modified when a form is launched?

Hi, 

 

This should be possible, in the initialise method of your form you can user the transfer data method to tansfer data to the parameters.

I assume you are using smartforms. As far as I know, this should be posible in all versions of smartforms.

 

Hope this helps.


In case you are talking about SmartForms: you can change the default value using the K2 Designer - using the same screen where you first declared the parameter

.After this there are (as far as I know) two ways to pass values to these parameters

 

  1. When called from a workflow the 'SmartForms event' Wizard allows you to specify values for the parameters
  2. It is also possible to specify these values using 'URL parameters'
    >FormURL]/?param1=0&param2=1

Thanks guys!


Reply