Solved

SharePoint list - URL Field Pass Parameter

Posted on 2010-11-26
3
1,699 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

679 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