1 Reply Latest reply on May 10, 2018 3:23 PM by David Hearn

    Possible to set "comment" field for asset with XML import?

    arosenthal

      I am trying to set the "comment" field (which appears in the "Version" tab) for an asset in AF. If I add a comment inside PSE, the XML export will show the comment:

       

      <?xml version="1.0" encoding="utf-8"?>
      <AF>
        <AFTable>
          <Name>AF0_Health</Name>
          <Description>Asset Framework Database</Description>
          <CacheInterval>1</CacheInterval>
          <ExternalPersist>true</ExternalPersist>
          <DataAdapter>System.Data.OleDb.OleDbDataAdapter</DataAdapter>
          <Connection>AFTableConnection_Name=AF</Connection>
          <Command>SELECT TOP 1 DATE() AS "sysdate" FROM Asset.ElementHierarchy</Command>
          <ImpersonateUser>true</ImpersonateUser>
          <Comment>test</Comment>
          
          [...]
          
        </AFTable>
      </AF>
      

       

      However if I change the value of the <Comment> XML node and import back into the database, it will not take effect.