Fetch all versions
Last updated
Was this helpful?
Last updated
Was this helpful?
The app fetches all the versions of the file you opened.
The app obtains a data ID handle for the versioned structured data (type tag 501) that contains the file you opened. The ID of this structured data is based on your user prefix and the name of the file.
The app obtains a structured data handle using the data ID handle of the file you opened.
After obtaining a structured data handle, the app drops the data ID handle of the file you opened.
The app fetches the metadata of the structured data that contains all the versions of the file you opened.
The app now knows the number of versions contained inside the structured data.
The app reads each version of the structured data one by one.
After reading all the versions of the file you opened, the app displays them in the UI.