Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Sep 05, 2008 11:23 AM by nguyenvanbay1975
0 Points
7 Posts
Sep 05, 2008 11:23 AM|LINK
I have 2 views (View1, View2) in Schema.xml file and I assign them on the same page .
<View1> <SetVar Name="CurrentPostDate"> <Field Name="PublishedDate" Scope="Request" /> </SetVar> </View1>
<View2> <GetVar Name="CurrentPostDate" Scope="Request" /> </View2>
I used SetVar in View1 with name is CurrentPostDate and I want to using it in View2 by GetVar.
But I does not work.
Can you help me?
Thanks.
nguyenvanbay...
0 Points
7 Posts
How to get variable between two views in the current page in SharePoint 3.0
Sep 05, 2008 11:23 AM|LINK
I have 2 views (View1, View2) in Schema.xml file and I assign them on the same page .
<View1>
<SetVar Name="CurrentPostDate">
<Field Name="PublishedDate" Scope="Request" />
</SetVar>
</View1>
<View2>
<GetVar Name="CurrentPostDate" Scope="Request" />
</View2>
I used SetVar in View1 with name is CurrentPostDate and I want to using it in View2 by GetVar.
But I does not work.
Can you help me?
Thanks.