Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

how to get the theme-app-extensions deep link id

Solved

how to get the theme-app-extensions deep link id

Not applicable


Hi all,
I am using the theme app extension. but  shopify CLI 3.0 there is no any .env file I can find the extension_id 
based on that extension_id my deep link working.

https://shopify.dev/docs/apps/online-store/theme-app-extensions/extensions-framework#deep-linking

any one can help for the deep link with CLI 3.0 !

Accepted Solution (1)
adrmrn
Shopify Partner
6 2 13

This is an accepted solution.

Hi, if you don't see an env file in your project, there is one workaround how to get UUID you are looking for. BTW are you sure you connected your project with the Shopify dev account? Anyway...

 

Install the app in the dev store. Go to the theme editor -> select "App embeds" from the left-hand menu -> if you have installed the app and extension correctly, your extension should be listed there. Press the right mouse button over the extension name and choose Inspect from the context menu. In the source code, find the phrase "&app_embed_uuid=xxxxx" - this is your UUID. If you have installed more than one app, make sure you copy the proper UUID of your extension.

Let me know if it works for you. Best!

View solution in original post

Replies 6 (6)

Liam
Community Manager
3108 344 910

Hi Sanjay,

 

I'm not 100% sure if you do need the extension_id for setting up a deep link. Is it possible you are looking for the sectionID (the ID of the section to which the app block should be added) which is mentioned in the deep linking docs here? There's also more info on Section data in these docs too

 

Let me know if this is what you're looking for, if not we'll dig into this a bit more!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Not applicable

@Liam  Thanks for the your answer . 
As per the DOC all are working fine before the may 2023.

"uuid" I can find in .env with shopify CLI 2.0x but I can see the CLI 2.0x   was sun set 31 May 2023. 

now i am using the CLI 3.0x I can see the any .env file into project folder structure.

npm run shopify app env show


https://shopify.dev/docs/apps/tools/cli/commands#env-show 
 I try with the show --env it was show the naming not any ID or UUID 

can you please help this was high issue facing our app user.

 

 

Not applicable

@Liam  can you please look into  this issue.  I read CLi 3.0 answer so i am tagging you here @ShopifyDevSup 

adrmrn
Shopify Partner
6 2 13

This is an accepted solution.

Hi, if you don't see an env file in your project, there is one workaround how to get UUID you are looking for. BTW are you sure you connected your project with the Shopify dev account? Anyway...

 

Install the app in the dev store. Go to the theme editor -> select "App embeds" from the left-hand menu -> if you have installed the app and extension correctly, your extension should be listed there. Press the right mouse button over the extension name and choose Inspect from the context menu. In the source code, find the phrase "&app_embed_uuid=xxxxx" - this is your UUID. If you have installed more than one app, make sure you copy the proper UUID of your extension.

Let me know if it works for you. Best!

Not applicable

@adrmrn   Superb.  I find the UUID thanks lot for the answers.

Prabjot
Shopify Partner
2 0 1

Hi, how do we get the UUID of a theme app extension? Not an embedded one