cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hemasai1999
Helper III
Helper III

How to validate attachment file name with name present in sharepoint list

Hi Team,
I need to do one validation , where

Hemasai1999_0-1647017590912.png

attachement uploaded in this attachment box should validate artifact id column in my sharepoint list

Hemasai1999_1-1647017696650.png

and users will upload attachment in this format(artf012345_TrainingProgram). I need to seperate (artf012345) this part from file name and need to validate with artifact id column in sharepoint list
Any suggestion would be helpful
Thanks in Advance

 

1 REPLY 1
BrianPadgett
Regular Visitor

I have an app where I validate if an attachment has been added or removed.  Use the following to create a collection of attachment names.

ClearCollect(colArtifactAttachmentTbl,DataCardValueNN.Attachments.Name)

 

Then you can compare to your SharePoint list.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (4,585)