Hello,
Is there a way I can restrict only certain file types to be uploaded via a Power Apps form (canvas app) linked to SharePoint Online.
Currently I want only PDF to be attached to my form, is this possible?
I've tried something like this:
Created a label - LblAttachmentWarning
On the Visible property of the label:
If(!".pdf" in Concat(DataCardValue38.Attachments.Name,Name&","),false)
On the submit button Visible property:
!LblAttachmentWarning.Visible
But I dont get the error appear when i upload a non PDF or even when i upload a PDF