Answered by:
Pass value to be included in query string/URL

Question
-
Hi All - I have a default list view called 'All Items'. One a user clicks of the list items I want a value in that record to be passed in a URL. I've already found out how to filter based on the query string, I just cant figure out how to include the value as part of the query string. By default, my URL looks like this when I click on an item:
/DispForm.aspx?ID=111800&Source=http%3A%2F%2F%2Dsp1%3A48255%2FLists%2FCombined%2520%2520Panel%2FAllItems%2Easpx&ContentTypeId=0x0100B33DED133ED6CB48848FCC691D4D571F
As you can see I have the ID, source, and contenttypeid... I need to include additional value in that URL.
Tuesday, November 17, 2015 5:25 PM
Answers
-
You can achieve this in a xslt view. Refer to the following post for more information
http://stackoverflow.com/questions/940433/outputting-sharepoint-hyperlink-column-as-url
http://sharepoint.stackexchange.com/questions/58672/painless-way-to-display-hyperlink-as-url
- Proposed as answer by krishna kumar123...KK Tuesday, November 17, 2015 10:47 PM
- Marked as answer by Patrick_Liang Tuesday, November 24, 2015 8:05 AM
Tuesday, November 17, 2015 5:58 PM
All replies
-
You can achieve this in a xslt view. Refer to the following post for more information
http://stackoverflow.com/questions/940433/outputting-sharepoint-hyperlink-column-as-url
http://sharepoint.stackexchange.com/questions/58672/painless-way-to-display-hyperlink-as-url
- Proposed as answer by krishna kumar123...KK Tuesday, November 17, 2015 10:47 PM
- Marked as answer by Patrick_Liang Tuesday, November 24, 2015 8:05 AM
Tuesday, November 17, 2015 5:58 PM -
Thanks for the quick reply....Where do I put that code?Tuesday, November 17, 2015 7:06 PM
-
Edit the page using SharePoint Designer, convert the view to xslt and add the code in it.Wednesday, November 18, 2015 5:23 AM