Skip to main content

Hi


Currently there are few request in K2 System using below XML Schema as DataSet.


xs:element

name="Assets">


<xs:complexType>


<xs:sequence>


 


<xs:element name="Available_Date" type="xs:string" minOccurs="0" />



<xs:element name="Reuse" type="xs:string" minOccurs="0" />

 <Assets>


        <Available_Date>07022008</Available_Date>


         <Reuse/>true</Reuse>


 </Assets>


 


Now we want to add one more new Element as below. 


xs:element

name="Assets">


<xs:complexType>


<xs:sequence>


<xs:element name="Available_Date" type="xs:string" minOccurs="0" />


<xs:element name="Reuse" type="xs:string" minOccurs="0" />


<xs:element name="Asset_Location" type="xs:string" minOccurs="0" />


 <Assets>


        <Available_Date>07022008</Available_Date>


         <Reuse/>true</Reuse>


        <Asset_Location>htuhuth</Asset_Location>


 </Assets>


 


We are binding these values into to an ASP.net page  using DataList controler as below


<%#DataBinder.Eval(Container.DataItem, "Asset_Location")


But all the Latest version of request are working fine but the Old requests are failing( Unable to open the page  is the error message). Because Old version request are not binded new element Asset_Location.  Please help me in this.

Be the first to reply!

Reply