Hi guys, I'm trying to use the trigger for files within a library because I have a lot of subfolders.
Usually I would resolve this by using the Identifier to get file metadata and content.
However, my client is using SP 2013, on prem and I'm only receiving internal ItemID, not the identifier. It's driving me crazy, I'm not getting anywhere with locating the file. Does anyone know why SP 2013 wouldn't have the identifier?
Hi @Anonymous,
Can you test if you can get the GUID via a REST request?
https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest
Hi @Anonymous,
I can see the property of the trigger body that can be used is only ID.
What will you get back from Action "Get file properties"?
{
"@odata.etag": "\"4\"",
"ItemInternalId": "831",
"Title": null,
"Proces": null,
"Proces#Id": null,
"companyname": null,
"companyname#Id": null,
"Sektor": null,
"Sektor#Id": null,
"SlovnaOznaka": null,
"SlovnaOznaka#Id": null,
"ISORevizija": null,
"KataloskaOznaka": null,
"Reference": null,
"Previous_ref": null,
"Author_in_charge_of_the_update": null,
"Storage_Location": null,
"Circulaton_Date": null,
"Forms_recording_Storage_Location": null,
"Storage_Duration": null,
"External_distribution": null,
"Forms_recording_Author": null,
"Forms_Recording_In_charge_of_storage": null,
"IzmijenioOsoba": null,
"IzradioDatum": null,
"IzmjenioDatum": null,
"IzradioFunkcija": null,
"IzradioFunkcija#Id": null,
"IzradioOsoba": null,
"KontroliraoDatum": null,
"KontroliraoFunkcija": null,
"KontroliraoFunkcija#Id": null,
"KontroliraoOsoba": null,
"OdobrioDatum": null,
"OdobrioFunkcija": null,
"OdobrioFunkcija#Id": null,
"OdobrioOsoba": null,
"CreateFolderSecurityGroups": false,
"OpisProcesa": null,
"CollaboratorsGroupId": 0,
"RedniBroj": 0,
"ID": 831,
"ResponsiblePersonsGroupId": 0,
"Created": "2019-06-27T16:01:40Z",
"Modified": "2019-06-27T16:02:03Z",
"Editor": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
"Claims": "i:0#.w|CONFIDENTIAL\\intranet",
"DisplayName": "Intranet",
"Email": "CONFIDENTIAL",
"Picture": null,
"Department": null,
"JobTitle": null
},
"Editor#Claims": "i:0#.w|CONFIDENTIAL\\intranet",
"Author": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
"Claims": "i:0#.w|CONFIDENTIAL\\intranet",
"DisplayName": "Intranet",
"Email": "CONFIDENTIAL",
"Picture": null,
"Department": null,
"JobTitle": null
},
"Author#Claims": "i:0#.w|CONFIDENTIAL\\intranet"
}
Hi @Anonymous,
Could you please provide the Body of trigger after a run?
Please keep out of the key information.
PS, it's an on-prem with a gateway
Hi, here is the trigger.
The issue is that I'm not getting file path or file name either. Perhaps this has something to do with SharePoint setup...
However, in SP I can see these normally:
Hi @Anonymous,
Could you please provide the Body of trigger?
Since the SharePoint client may not provide Identifier to use, we can find out if there are properties that can be utilized instead of Identify in the return value of trigger.
Or you can use the ID to get file path, then utilize file path to get file content and metadata.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492