- This topic is empty.
- 04/06/2011 at 1:37 am #4805
You can use a session variable that holds the name of the site and build a CAML filter condition based on the session variable (Value Source drop down field in the CAML editor).
Please let me know how that goes.
- 04/19/2011 at 9:49 am #3914
I am adding a list view webpart to every page of our website. At the moment it is only on one subsite (as a test) and i have set the CAML filter to display any graphics in a particular list with the tag “Waste”. The problem with this solution is I then need to configure the webpart on each and every page of the website (over 1000 pages) when we decide to expand the test.
A better solution is if in the list, the tags I use are actual site names and then I could use a generic CAML filter to say if tag contains Current Site Name then display graphic.
Does anyone know if I can reference the current Site Name in the CAML filter?
- 04/19/2011 at 9:49 am #4802
I noticed that the topic is quite popular, could you please provide an update?
You must be logged in to reply to this topic.