Add your list webpart on your page then using designer edit the page.
In side of "xsltListviewwebpart, on you page add below lines....
Add below line in <ParameterBindings>
<ParameterBinding Name="Param1" Location="QueryString(ID)" DefaultValue="" />
After that add below line in "<Query>"
<Where>
<Eq>
<FieldRef Name="tream_x003a_ID"/>
<Value Type="Text">{Param1}</Value>
</Eq>
</Where>
Look on this below image
No comments:
Post a Comment