Passing nintex variables to a SharePoint 2013 page

  • 14 September 2017
  • 4 replies
  • 4 views

Badge +6

   Hi

I have a 3 tiered drop down created in a nintex form  as above.  The Nintex form has been inserted into  page.  I have created 3 variables in the Nintex Form to save the values that are selected when the user makes choices from all 3 drop downs.  The values are not stored in the underlying list.  The user will click on a button which will load another page which will be based on these variables.  For example, if Principal Architect for Enterprise Architecture in the Architecture category is selected, these variables will be used in a new page which lists the Principal architect's job description and skills list..

The Skills required will be picked up from an Excel dashboard.  Being new to html, I just need to get the code to pass the variables into the Job role and to the filters for the Dashboard.  The Job Role would then sit next to Job Role:.  The variables for the Jobs and the Job Family will also need to be stored so that the Dashboard could use these values to filter the lists.

Thanks again for all your help.  Your solutions are invaluable.


4 replies

Userlevel 5
Badge +14

you can pass them via URL like

http://link_to_principal_job_description_page?job=architecture&Family=Enterprise%20Architecture&role=principal%20Architect

if the target page is nintex form as well there is already a function fn-GetQueryString() that can parse URL tokens and return their values. it can be simply used like

fn-GetQueryString('job')
Badge +6

Thanks Marian.  I was thinking of using another Nintex form because there are 3 values that are being stored.  These values are used to further filter Skills and Job Descriptions in the next page.

If I had more than one variable in fn-getquerystring, I assume you add them with a comma after eg 'job'.  Could you give me more information - I am a newbie to this.

Thanks so much for your  help.

Userlevel 5
Badge +14

no, fn-GetQueryString()  accepts only one token at a time.

for several tokens you have to make several calls.

here you can find an example how to use it

https://community.nintex.com/thread/13565-open-specific-panel-from-nintex-workflow-url-link#comment-47950 

Badge +6

Thanks so much Marian.  I will have a look at it on Monday.

Reply