How to get variable between two views in the current page in SharePoint 3.0

Last post 09-05-2008 7:23 AM by nguyenvanbay1975. 0 replies.

Sort Posts:

  • How to get variable between two views in the current page in SharePoint 3.0

    09-05-2008, 7:23 AM

    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.

Page 1 of 1 (1 items)