Hello Michael,
Thank you very much for your reply!
I am not sure if I understood what you are suggesting. Let me explain what I am trying to achieve because I don't think I explained it properly.
For every project that is created in SharePoint I automatically create a subsite using a template. This subsite is to be used to store all the information and documents during the lifecycle of the project. In this subsite I also give access to the client and to the vendors that will work on the project. Both the vendors and the client can upload documents related to the project and then submit them for approval. The way I do the submission is from a button that triggers a flow. Until now my flow was using the "When an http requests is received" trigger and was getting parameters from my library as shown below:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "a",
"txtContent": "Υποβολή Παραδοτέου",
"attributes": {
"target": "_blank",
"href": "='https://default......../triggers/manual/paths/invoke?api-version=1' + [$ProjectSpaceUrl] + '&LibraryName=' + [$LibraryName] + '&FolderName=' + [$FileLeafRef] + '&ClientCompanyEmail=' + [$ClientCompanyEmail] + '&Finaldeliverable=' + [$Finaldeliverable]"
},
"style": {
"font-size": "14px",
"padding-top": "14px",
"padding-bottom": "0px",
"text-align": "center",
"background-color": "#C68B66",
"color": "white",
"display": "=if([$ContentType] == 'Folder' && [$Deliverablefolder] == 'Yes', 'block', 'none')"
}
}
Now that Microsoft changed the action and I can't use Anyone as an option to who can trigger my flow, I need to find another way to get those parameters. The issue is that I can't use For a selected file because I don't know the URL of my subsite beforehand. I am trying to see if there is any other way to get those parameters dynamically as I already have them stored as metadata in the library from where I trigger the flow. I tried using the HTTP action in another flow but I still can't get the parameters.
I hope this give you a better understanding of the situation.
Thank you!