Logo 
Search:

Sharepoint 2010 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2010       RSS Feeds

Filter custom list by URL-name

  Asked By: Carl    Date: Mar 28    Category: Sharepoint 2010    Views: 7681

Hi!
I wonder if i can accomplish this in anyway in Sharepoint Online.
What i want to do is to filter a custom list with a columnname Company by the urlname of the webpage.


Example;
I do have a customersite on my webpage that is sharepoint/customer.aspx(customer is the name of the customer) , what i want with my filter that it should filter any value in the customercolumn except the ones that have the same name as the website.
So Sharepoint/ABC.aspx should filter out any customer except the ones that have ABC in the customercolumn.

Is there anyway to do this?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Spdailytips Site     Answered On: Mar 28

If you can send a URL parameter to your customer.aspx page like ?site="ABC" then all you have to do is add a Data view webpart using SharePoint designer on this customer.aspx page and create a filter for dataview webpart where the customer column in webpart = URL parameter



spdailytips

-http://spdailytips.blogspot.com


 
Didn't find what you were looking for? Find more on Filter custom list by URL-name Or get search suggestion and latest updates.




Tagged: