How to pass field or variable as a parameter in query string

  • 23 October 2019
  • 2 replies
  • 54 views

Badge +1

I want to pass field name in query string, how can i achieve this.

 

Example: /Lists/ExpenseDetail/NewForm.aspx?variableName=ColumnName

 

 


2 replies

Badge +12

@sachsoni .....could you please describe more about your requirement?

 

If you just need the internal name of the SharePoint column then:

  • Go to list settings
  • Click on the column whose internal name you want 
  • When it opens in edit column format -- Grab the URL and internal name will be at the end
  • Or else just right click and copy the link and paste it in notepad 
Badge +1

Hello kunal,

 

Thanks for reply, i have open another list form on save button click, along with i want to display my previous form data to new form. that's why i use query string method, but query string only works with static value and i want to put my column name here. but its not working correctly.

 

Do you have any idea how can i pass one form data to another form.

Reply