Note that there are some explanatory texts on larger screens.

plurals
  1. POAdjust static value into dynamic (javascript) value possible in Sharepoint allitems.aspx page?
    primarykey
    data
    text
    <pre><code>&lt;SharePoint:SPDataSource runat="server" IncludeHidden="true" SelectCommand="&amp;lt;View&amp;gt;&amp;lt;Query&amp;gt;&amp;lt;OrderBy&amp;gt;&amp;lt;FieldRef Name=&amp;quot;EventDate&amp;quot;/&amp;gt;&amp;lt;/OrderBy&amp;gt;&amp;lt;Where&amp;gt;&amp;lt;Contains&amp;gt;&amp;lt;FieldRef Name=&amp;quot;lawyer_x0020_1&amp;quot;/&amp;gt;&amp;lt;Value Type=&amp;quot;Note&amp;quot;&amp;gt;F. Sanches&amp;lt;/Value&amp;gt;&amp;lt;/Contains&amp;gt;&amp;lt;/Where&amp;gt;&amp;lt;/Query&amp;gt;&amp;lt;/View&amp;gt;" id="datasource1" DataSourceMode="List" UseInternalName="true"&gt;&lt;InsertParameters&gt;&lt;asp:Parameter DefaultValue="{ANUMBER}" Name="ListID"&gt;&lt;/asp:Parameter&gt; </code></pre> <p>SharePoint WSS 3.0</p> <p>This codeline is just one line of the allitems.aspx of a sharepoint list item (SharePoint created it himself). It only displays items where lawyer 1 = F. Sanches. Before I start messing around with the .ASPX page I wonder if it possible to change F. Sanches (in the code) into a dynamical variable (from a javascript value or something else that can be used to place the javascript value in there dynamically). If I put any javascript code in the line it will not work.</p> <p>P.S. Ignore ANUMBER part in code.</p> <p>Let say to make it simple I have javascript variable like this (now static but with my other code it is dynamic). It would be an achievement if it would place a static javascript variable.</p> <pre><code>&lt;SCRIPT type=text/javascript&gt;javaVAR = "P. Janssen";&lt;/script&gt; </code></pre> <p>Eventually I would like to filter with OR operator</p> <p>If Yes --> how?</p> <p>If No --> Thank you!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload