Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

Can a Content Query Web Part (CQWP) be used to filter content based upon a substring of a variable

$
0
0

Folks, I'm a newbie to this forum and to SHarepoint in general - so please be gentle :-)

I'm using Sharepoint 2010 and have content in lists which I want to display based upon certain user attribtes. For example I have a sharepoint LINKS list which contains entries for vaious applications (I'm using the LINKS list as an example, however I'd like to apply it to many libraries/lists).

Name:UK Intranet - URL:http:UKintranet.com - Description: UK

Name:USA Intranet - http:USintranet.com - Description: USA

Name:UK Contacts list - http:UKPhones.com - Description: UK

Name:USA Contacts list - http:USAPhones.com - Description: USA

My users are split accross AD domains, one for each called UK and others in a domain called USA 

What I would like to do in a content query is display items where the users domain (ie UK or USA) is contained in the Description field.

So a CQWP which includes something like "filter when Decription = &userdomian"

I should also add that I am only using basic page editing in a browser and have no access to Sharepoint Designer

Can this be done?

BTW - I know this is a little like Audience Targetting, however I don't have rights to setup audiences and as the information about the audience is already available in the users domain I simply wanted to reuse that.



Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>