We have a model driven app that users enter information into.
Using that data we want to create a file and save that file to Sharepoint and then using power automate, share that file via an approvals workflow, but the file must be READ ONLY.
The original file saved on sharepoint must not be editable.
We have built the model driven app.
We have built the approvals flow.
We need some ideas about how to create the file using the data from the model driven app (which is stored in Dataverse) and then how to make the file read only when saved on Sharepoint.
We already have a canvas app, built into the model driven app, so I'm thinking a new button on the canvas app, that:-
1. extracts the data components and creates a file
2. saves the file to sharepoint
3. Sets a flag to say the file has been created and cannot be created again, without some super user override
4. starts the approval flow with a link to the file on sharepoint.
Is this possible, or does anybody have a better solution to offer?
Thanks in advance...