• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2021
  • Last Modified:

SharePoint list - URL Field Pass Parameter

Experts,

I've added a URL field to a list and I'd like to be able to pass the title of my list item to this URL.

For example, my list item has this data:
Title: Test 1
Assigned To: Test User
URL: http://sharepoint/TaskFilterPage.aspx?title=[Title]

where [Title] is the title value of the item?

further to this, I'd like to pass in multiple parameters for an a column could have multiple values.

What's the best way to accomplish these?

Thanks in advance.
0
Butterfield_Cayman
Asked:
Butterfield_Cayman
  • 2
2 Solutions
 
janicet123Commented:
If you just want the URL, you should be able to use a calculated field instead of the URL. This way you can use the concatenation to take fields from the list and create the URL. When you do it this way, it will just be a text field, but will display the URl.

The other option is to use SharePoint Designer to create a workflow that populates the URL field. You would set the workflow to run at the time the item was created or modified and use a concatenate formula to populate a hyperlink column type.

I prefer the workflow option, since it will create an actual clickable link. Let me know if you need more specifics.
0
 
Butterfield_CaymanAuthor Commented:
thanks Janicet123,

i have a follow up question:

the workflow option in designer looks like the way to go, how would i design this to accomodate with multiple titles. titles isn't a good option, but if i had a column that was a lookup field and accepted multiple values, how would i create a url for each one of those? my actual example is a task list with a column named contact that links to a contact list. I would like to pass that contact name into a url as a parameter. the column has the "allow multiple values" flag turned on.

this has added a little more complexity to my question so i've added more points.

thanks again for the help,
0
 
Butterfield_CaymanAuthor Commented:
i'm going to repost my second part as a new question. thanks Janicet123. your second solution works perfectly
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now