cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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.
Highlighted
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.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 80 members 4,707 guests
Please welcome our newest community members: