Loading...

qListView (5.4.1) – CAML filter to reference site name?

qListView (5.4.1) – CAML filter to reference site name?

  • This topic is empty.
Viewing 2 reply threads
  • Author
    Posts
    • #4805
      Anonymous
      Anonymous
      Participant

      Hi Daniel,

         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.

    • #3914
      Anonymous
      Anonymous
      Participant

      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?

    • #4802
      Anonymous
      Anonymous
      Participant

      Hi Daniel,

        I noticed that the topic is quite popular, could you please provide an update?

      Thanks,

Viewing 2 reply threads

You must be logged in to reply to this topic.