Recently a reader reported an issue happening while using the PDF export functionality in Canvas Apps:
I have an application with 2 galleries. The first one is populated with items that are users from a group, and the other is a collection that is populated with users from first table. Items with users from first gallery are “moved” to a collection and then, displayed to the secondary gallery.
Like in your example, I put a button that convert both galleries in pdf and send them as attachments to mail. This work great, but if one of these gallery are empty, of course, we get an error…. cannot generate a pdf with an empty gallery .
The main problem is: I try every kind of “combination” to eliminate first gallery from conversion to pdf if this is empty, but with no success !
Details:
Both galleries have at Visible -> !IsEmpty(GalleryX….. (to be hidden if they do not contain items)
I try to eliminate the first gallery from conversion by…
Source link
More About This Author
-
SharePoint and Office 365 Consultant/Developer always trying to get the best from Microsoft stack (Microsoft 365/Azure/Power Platform and related stuff).
Living in Ireland since 2018, I had previously worked in Brazil as a consultant/developer for Office 365, SharePoint and related technologies for almost 10 years.
Array
- Modern Workplace1 May 2024Using the new ‘Send a Microsoft Graph HTTP request’ action in Power Automate to send urgent messages in Microsoft Teams
- Modern Workplace13 April 2024Power Pages and Cloud Flows – Validate user against Dataverse records based on Contact ID
- Modern Workplace6 April 2024Download SharePoint library files in Power Pages with JavaScript and Cloud flows – Improved code using jQuery & option to open PDF file in a new tab
- Modern Workplace13 March 2024Handle multiple N:N records associate and disassociate requests with JavaScript and Power Pages Web API