I have a document library that holds html files. Each file is associated to one user. I have an app on power apps that I would like to retrieve individual files associated with the user that is logged into power apps. This user has a file associated to his name in the SharePoint library under "modified by". How can I go about retrieving a file in that document library to showcase on the power apps screen after hitting a button?
I am also getting a delegation issue with this:
'folder path' = "shared doc/testing/"
So far I have the following:
Set(currentUser, User());
ClearCollect(userFiles, Filter(mydoc, 'folder path' = "shared doc/testing/", 'Modified By'.DisplayName = currentUser.FullName));
Set(htmlfile, First(userfiles).Name);
and then I have the htmltext property to htmlfile.
However, I am not displaying anything, it is showing up as blank. It is saying "htmlfile" is blank.
Am I going about this the wrong way or did i miss a step with the html file.
Thanks