Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

SharePoint list - URL Field Pass Parameter

Posted on 2010-11-26
3
1,678 Views
Last Modified: 2012-05-10
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
Comment
Question by:Butterfield_Cayman
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
janicet123 earned 350 total points
ID: 34223928
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
 

Assisted Solution

by:Butterfield_Cayman
Butterfield_Cayman earned 0 total points
ID: 34242364
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
 

Author Closing Comment

by:Butterfield_Cayman
ID: 34289893
i'm going to repost my second part as a new question. thanks Janicet123. your second solution works perfectly
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question