Hi everyone!
I am hitting a roadblock and wanted to check if anyone is able to help.
I am trying to build the following:
- user opens my app
- user clicks on an element inside the designer
- user clicks on a button within my app
- a custom code is generated either inline or in the current page
The issue:
- In order to add custom code blocks you seed the
site_id - in order to get the
site_idyou need a usertoken - Even if I ask the user for the token then I need to ask the user to select the site.
Is there any way to pass the current site_id (where the user has installed the app) into the app?
Maybe I am missing something
Any help will be appreciated, thanks!