Attempt 1 — Version number comparison
Compared {VersionNumber} stored in the tracker against the current trigger value. Failed because SharePoint increments the version number on every web open in the environment.
Attempt 2 — DriveItemId comparison
Compared {DriveItemId} as a change indicator. Failed because SharePoint returns the same DriveItemId across all versions — it identifies the file itself, not a specific version.
Attempt 3 — Modified timestamp comparison
Added ModifiedDate as a secondary check alongside version number. Failed because SharePoint updates the modified timestamp on every web open, same as the version number.
Attempt 4 — Content hash (quickXorHash) comparison
Retrieved the file's quickXorHash via the SharePoint Graph API, storing it in a new LastContentHash column. Failed because SharePoint recalculates and updates the hash on every web open in the environment, indicating Office Online is writing data back to the file on every open.

Report
All responses (
Answers (