API or method for accessing dataETag on the client

I am trying to recreate modified sync using APIs.

I could access the dataETag of a table from server by accessing table resources using the api given here: ODK-X Sync Protocol — ODK-X Docs

Could someone tell me how to access the dataETag on the client (the mobile device)? I couldn’t find any method for this in odkCommon.js or odkTables.js.

Thank you!

It will likely be in odkData.js as that is the interface to the database. The dataETag is stored as metadata column not a data column.

1 Like