Re: Get file identifier for list rows present in a table when using a dynamic location
The file identifier in the context of the Excel online API is a long string. You can parse it out from the Get file metadata action.
What you need to do here is pass in the site URL from the Power App as the dynamic content (e.g. https://mycompany.sharepoint.com/sites/dynamic%20site) and use it in the get files (Properties only) action. In the Advanced settings of that Get files action, put this into the Filter query: FileLeafRef eq 'myfile.xlsx'
This will return a collection of files within that site/library combo called myfile.xlsx. If there is only one it'll still be a collection (array) but with only one item.
Now you need to get the file ID of that file for the List rows action.
Add a Get file metadata action. Put the same dynamic site address in there as the previous action and for the Identifier, add an expression: first(body('Get_files_(properties_only)')?['value'])?['{Identifier}']
Now, add a compose and put this expression in: last(split(outputs('Get_file_metadata')?['body/FileLocator'],'id='))
Now the output of the compose can go into the List tables action as dynamic content.
A further note, you probably won't get away with typing Documents as a custom value into these actions for the library name. Use the Get all lists and libraries action and filter the output for Documents or Shared Documents
