Handlebars to PDF Component

Hello @bradlymathews , I'm unable to import the json for your sample app. The errors say "Failed to restore from JSON: Cannot read properties of undefined (reading 'appTemplate')" and " Error retrieving page: Page with uuid "414ccdf4-7ffa-11ed-b282-1f4c2d914c05" not found". I've tried editing the json file in VS code, but I still can't import it. Is there a public link to the app that I can try directly downloading the JSON for so I can edit in my own sandbox?

Seems like something broke in Retool so some JSON no longer imports? That is a bit concerning since that means old backups might not work and all new backups should be created.

I exported the sample app in the new ToolScript format here:

Handlebars to PDF Sample App

Handlebars to PDF Module

1 Like

@bradlymathews The Handlebars_PDF_Export_Module contains 2 queries. It seems that the import is correctly.

But when I try to import Handlebars_To_PDF I get the same message:
image

Theres a reference to Handlebars_PDF_Export_jsPDF

Maybe that's the problem

UPDATE: I have replaced the UUID
image

After this I can see more:

I think that is a vestigial query. All new Retool apps have a query (or used to anyway) and this one does nothing and can be deleted.

1 Like