Html template stopped working properly after AppSheet update. 4 apps affected. I need a help urgent!

Please see my call to action post:

https://www.googlecloudcommunity.com/gc/AppSheet-Q-A/PDF-generator-update-brakes-the-PDF-output/m-p/536398#M207533

@Kunal_Jain @neemias

1 Like

Hi Steve!

I just realized that the same error happened again. Last time you took 1 month to settle the situation, which brought a series of inconveniences and losses to the company where I work. Again, an upgrade in the pdf generator engine results in the disregard of conditionals established within the .html template. Can you help me?

I just realized that the same error happened again. Last time you took 1 month to settle the situation, which brought a series of inconveniences and losses to the company where I work. Again, an upgrade in the pdf generator engine results in the disregard of conditionals established within the .html template.

Hi, we updated the version of chromium used to generate PDFs (see release notes) yesterday, but the variable replacement (in this case removing the conditional “page”) happens before it gets rendered. I tried to reproduce the issue you described but couldn’t. I am still able to use this to conditionally exclude some content in an HTML template.

<!DOCTYPE html>
<html>
    <head>
        <title>pdf-template</title>
    </head>
    <body>
        <p><<If: ([MyYesNoColumn])>></p>
        <table style="width:90%" align="center">
        <tr>
            <td>My conditional content</td>
        </tr>
        </table>
        <p><<EndIf>></p>
        <p>This paragraph should always be here</p>
    </body>
</html>

Can you contact support who can gather some more information about your specific case.

@neemias you are right. Please see my call to action here.

https://www.googlecloudcommunity.com/gc/AppSheet-Q-A/PDF-generator-update-brakes-the-PDF-output/m-p/613871/highlight/true#M218339

Hi @Greg_Denton we are affected, two. Please see my post here:

https://www.googlecloudcommunity.com/gc/AppSheet-Q-A/PDF-generator-update-brakes-the-PDF-output/m-p/613871/highlight/true#M218339

1 Like

Hi Fabian, can you provide the before and after to support so we can take a look and see if it looks like another bug in Chromiums LayoutNG that we could pass along, or if it’s working as intended with that bug fix.

If you happen to have a copy of the PDF from when this broke earlier in the year that’d be even better so we could compare without LayoutNG, with LayoutNG before the bug fix, and LayoutNG with the bug fix.

2 Likes

Thanks @Greg_Denton . I reported it to support last Tuesday… hoping for a resolution.

Thanks @Fabian_Weller … monitoring the situation.

Thank you very much @Greg_Denton . I just sent the files to support.

could you please share the case id through DM to me? I can escalate the ticket to Greg!

Hi @Greg_Denton

any news? There are blank pages in all my pdf’s…

Hi @neemias I had to update all my templates again.

https://www.googlecloudcommunity.com/gc/AppSheet-Q-A/PDF-generator-update-brakes-the-PDF-output/m-p/616086/highlight/true#M218901