Where can I find a list of CAMLvariables and ServerVariables?
-
16-10-2019 - |
Question
Having some trouble finding a list of these variables. Any help would be greatly appreciated. More specifically, when I see this on the page:
<ParameterBinding Name="UserID" Location="CAMLVariable" DefaultValue="CurrentUserName"/>
I want to know what other CAMLVariable exist. This also of course includes ServerVariables as well.
Solution
Query schema: http://msdn.microsoft.com/en-us/library/ms467521.aspx
OTHER TIPS
Here's the reference to Server Variables from my blog: http://mdasblog.wordpress.com/2007/10/19/data-view-web-part-parameters-based-on-server-variables/
I can't provide you with a list of CAMLVariables, but here is an interesting link that demonstrates a trick that allows you to be extremely flexible with regards to the values being passed into your ParameterBindings.
There is another reference I can't seem to find now, but it helps to build and test your queries in something like Stramit CAML Viewer or U2U CAML Creator.