You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a function (Function A) that invokes GetChanges() and processes only IChangeItem changes. Each change is published to a single queue, where another function (Function B) picks it up, enriches the data, and distributes it to a different system.
The issue arises when handling DeleteObject events. In Function B, we need to retrieve the email of the user who deleted the item for enrichment.
Challenges Faced:
Initially, we attempted to fetch the recycle bin item by matching the deleted time with the change time. However, this approach fails when multiple users delete different files within the same second.
We considered filtering further using ServerRelativeUrl from IChangeItem, but it is always an empty string.
Another approach involved using Editor and EditorEmailHint from IChangeItem, and avoiding the need to query the RecycleBin, but these values are also always null or empty.
Category
Describe the domain model extension
We have a function (Function A) that invokes
GetChanges()
and processes onlyIChangeItem
changes. Each change is published to a single queue, where another function (Function B) picks it up, enriches the data, and distributes it to a different system.The issue arises when handling
DeleteObject
events. In Function B, we need to retrieve the email of the user who deleted the item for enrichment.Challenges Faced:
ServerRelativeUrl
fromIChangeItem
, but it is always an empty string.Editor
andEditorEmailHint
fromIChangeItem
, and avoiding the need to query the RecycleBin, but these values are also always null or empty.Model
Model:
IChangeItem
Properties:
DeleteObject
,ServerRelativeUrl
,Editor
,EditorEmailHint
APIs
API:
https://<tenant>.sharepoint.com/sites/<site>/_api/web/lists(guid'<listId>')/GetChanges()
Additional Information
DeleteObject
change with the correct user when multiple deletions occur at the same timestamp.The text was updated successfully, but these errors were encountered: