You’re offline. This is a read only version of the page.
Skip to main content
Power Platform Community
Cancel
Get involved
Get answers
Discover events
Learn Power Platform
More
Search
Community site session details
Session Id :
Copy
Close
Power Platform Community
/
Gallery
/
Power Apps - Community App Samples
/
Validate attachment type in...
Validate attachment type in attachment data card while submitting the request
329 Views
Like
(
0
)
Share
Report
Posted
by
Priyadhersini
2
In my app , I want to restrict the attachment of types (.txt,.msg,.rtf). The users are allowed to add 6 attachments. Among these 6 attachments in that attachment data card how to identify the presence of restricted attachment.
I saw below code while searching
Last(!Split(Last(data card.attachments).Name,".")).Result in ("txt")
But this on will validate only the last file among the 6 attachments in the data card.
Kindly help me to solve this issue.
Categories:
Comments
Add new comment
Comment on this blog post
You don't have the appropriate permissions.
Messages
Welcome,
Profile
Messages
My activity
Sign out