Autofill app settings for embed block using deep link

Matiss1
Shopify Partner
7 0 2

Hi!

Using the deep links in our app and they are awesome. However, I either cannot find or there is a missing functionality - settings. Is there any way I could pre-fill the schema settings? There is a field "source id" that I would very much like to set automatically. Then we could avoid the customer having to go back to the app's dashboard to copy it and enter it.

I think it also would be quite simple to implement, if missing:

/admin/themes/current/editor?template=${template}&addAppBlockId={uuid}/{handle}&target=newAppsSectio...settings}

Where settings - json stringified or key-value or whatever format for them.

 

Thanks!

Replies 2 (2)

dripdevelopment
Shopify Partner
3 0 0

I wonder if you got a solution for this case?
I can't figure out how to set the parameters in the url to populate a field in the app block

Matiss1
Shopify Partner
7 0 2

No, tried many different ways hoping that it simply wasn't documented, but without any luck. Haven't read into it since summer tho, so maybe something has changed.