Hi, I’m trying to get the SNAPSHOT() function to work properly for one of my apps. I’ve successfully created a Report behavior that calls the SNAPSHOT() function for the views I want captured in my PDF report, but all the screenshots show “No Data Available”. I’m wondering if this has something to do with the interaction between the screen capture tool that AppSheet uses and the security filters used in my app that restrict the data that individual users are allowed to see? Has anyone else run into a problem like this with their app? Any suggestions for how to solve this problem (besides removing my security filters)?
I’ve got a fix in mind for this. Snapshot is unique in the way it is rendering the view for chart which causes it to have little knowledge (right now) of the workflow that triggered it. I have coded up a way to provide this info so that security filters can be bypassed during the chart generation to ensure you have the data you need for your report. I’m waiting on a database change which is needed in order to store the workflow names so when the chart is rendered it knows what workflow created it and the associated parameters. I have been told that the database change will be completed early next week. In the meantime though, the bulk of needed logic changes are complete. I appreciate your patience and I will provide an update as soon as the fix is deployed to our servers.
Rather than using snapshot expression which is currently manage to display the snapshot for chart type view, why dont you seek alternative?
See my previous post I placed with category for Tips and Tricks.
In this post, I introduced a solution to display the snapshot for webpage. However, just twist the technique a bit, it could be possible to show the PDF file saved online as thumbnail and image witthin Appsheet.
As far as we are able to capture the front page of the PDF as image, we are able to place the same on the workflow template as well.
I m not physically testing with sample app but it should work.
Rather than using miniature io as a service, there will be bunch of services to convert URL linked to pdf online to thumbnail.
I googled it and tested one, it convered ULR to thumnail successfully.