This may be a more appropriate question for the SharePoint forum, but I'm worries no one there will know what I'm talking about.
I have built a dynamic link in PowerApps that opens a document from a gallery into Preview mode. The OnSelect formula looks like this:
Launch(
Concatenate(
"https://<organization>.sharepoint.com/sites/<SiteName>/<LibraryName>/Forms/
AllItems.aspx?id=/sites/<SiteName>",
ThisItem.'Folder path',
ThisItem.'File name with extension',
"&parent=/sites/<SiteName>",
ThisItem.'Folder path'
)
)
I have realized later that I could replace ThisItem.'Folder path' + ThisItem.'File name with extension' with ThisItem.'Full path' but this works perfectly well. Now I am trying to do something similar directly within a library, and I can't find what the actual internal field name for 'Folder path' is.
ThisItem.'Full path' = [$FileRef]
ThisItem.'File name with extension' = [$FileLeafRef]
ThisItem.'Folder path' = ???
Anyone know the answer to this?