Conditional Table Rows with Images
Hey Everyone,
I am looking for a bit of help here. I work for a company that is in the service industry. I have build a Power App that writes data into sharepoint for various service tasks. I have then created a flow that uses the document generator API to create the report. I have all of the data pulling through but am having an issue with tables that contain images and descriptions for the image but making the rows conditional based on whether or not there is any data to display. I see there have been changes to the table side of the API and you now need to use Table Tags with markers. I have it building the table (all be it the conditional part is not working and deleting the lines) however the biggest issue is I can not work out how to insert the photos into the table. They are usually in the first column with the description in the second. In the first column I have
{% table-start MotorPhotoTable %}
{{MotorPhoto}}with the second column being
{{MotorPhotoDescription: discard-row-if(expr(MotorPhotoDescription = null))}}
{% table-end %}
The MotorPhoto is in Base64 and currently it is displaying it as that. If I insert an image input into the table to replace the MotorPhoto, it does not work. If i try and put the entire first lot into the image input, it does not work.
Can anyone help out
Kind Regards,
Sam
