Has Anyone Created a Script to Extract and Document Full AppSheet App Structure?

Hi everyone,

I’m wondering if anyone has ever developed a script (using Apps Script, Python, or any other tool) to automatically extract data from an AppSheet app and generate a comprehensive and detailed structure of the application, including:

  • Tables and their columns

  • Views

  • Actions

  • BOTs (processes, events, tasks, etc.)

  • Behaviors and expressions

  • Possibly security filters or sync settings

The goal would be to document the app or better understand its overall structure, especially for complex projects or team collaborations.

If anyone has worked on something like this or has any suggestions or examples, I’d really appreciate your input!

Thanks in advance :slightly_smiling_face:

Jee

1 Like

AppSheet does have a documentation option.

The option is under Settings → Information → App Documentation

At the bottom of this option, you can click on the link to get the app’s documentation in another browser page.

You can then save it to PDF or print it.

Please explore it.

4 Likes

i need this

Open your app’s editor, open dev tools, go to the console, and type window.currentApp(), click enter, and see the magic. I leave you to it but I can say that you can find pretty interesting stuff there :smiley: If you know JS you can play with this even in the console. Hope it helps!

3 Likes

Thank you!! I was too impatient when looking at this the other day and thought it was JUST showing me what I had written about the app. What a time saver!!!

1 Like

I wonder whether someone has developped the inverse of this.

I mean writing or modifying a document similar to the one provided in the Documentation and then impacting the result into AppSheet (Maybe the coherence tests that currently run on a background could be a good validation of conditions for allowing impacts from a document to an app’s definition)

Hi! I just published such a suite of scripts today. Please have a look.

2 Likes

Hi Suvrutt!

I know you are busy but as I published my suite of scripts today I was thinking to myself “I hope Suvrutt likes this.” Please let me know what you think. Constructive criticism welcome. :slight_smile:

3 Likes