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.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

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

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 195 members 4,262 guests
Please welcome our newest community members: