cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
maxm4065
Level: Powered On

check sharepoint list attachments

Hi,

 

I am wanting to check if there are any attachments against a Sharepoint row but I can't see how to do this. I've tried to count the attachments but that doesn't seem possible.

 

Ultimately, I want to:

- if there's an attachment, show it in the PDF viewer (only PDF's will be uploaded as attachments)

- if there's no attachment, hide the PDF viewer control.

 

Any thoughts?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: check sharepoint list attachments

Hi @maxm4065,

 

Try to follow the steps here to make a SharePoint pdf file shown in PowerApps:

https://www.youtube.com/watch?v=s3PC7tqqoI4

 

You could set the Visible property of pdf viewer to something like:

If(IsBlank(DataCardValue16),false,true)

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Community Support Team
Community Support Team

Re: check sharepoint list attachments

Hi @maxm4065,

 

Try to follow the steps here to make a SharePoint pdf file shown in PowerApps:

https://www.youtube.com/watch?v=s3PC7tqqoI4

 

You could set the Visible property of pdf viewer to something like:

If(IsBlank(DataCardValue16),false,true)

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
maxm4065
Level: Powered On

Re: check sharepoint list attachments

Hi Mona,

 

Thanks for your suggestion. I couldn't get it to work like that but it did give me an idea for testing the "Has Attachments" option which worked and did the trick.

 

Thanks again.