Shopify CLI app extension lost UUID how to recover

Solved
Bunty
Shopify Partner
133 39 80

Hi guys,

I was exploring the theme app extension and was able to create and push to my app using the CLI but I somehow lost the .env file which has the EXTENSION_UUID. I understand that the CLI uses this to be able to identify the app and push updates to the correct extension. Now, I can neither push, nor register my extension as there could be only 1 theme app extension registered in the app.

My question is, does anyone know how to recover the UUID of the registered extension? Seems like this should be the end of this extension for the app 

 

Thanks for your help

Accepted Solution (1)

Accepted Solutions
Bunty
Shopify Partner
133 39 80

This is an accepted solution.

To anyone who faced this, you can swap out the 

EXTENSION_UUID=

EXTENSION_ID=

in the .env file

the EXTENSION_ID= will get the value you can get from the partner dashboard by navigating to the extension in the app

View solution in original post

Replies 2 (2)
Bunty
Shopify Partner
133 39 80

This is an accepted solution.

To anyone who faced this, you can swap out the 

EXTENSION_UUID=

EXTENSION_ID=

in the .env file

the EXTENSION_ID= will get the value you can get from the partner dashboard by navigating to the extension in the app

ksladek
New Member
1 0 1

Save your current .env before these operations.

 

If you still need EXTENSION_UUID (ex. for build deep link) you can use this command in your extension folder

shopify extension connect

pick proper app and extension, and file .env with EXTENSION_UUID will be fetched.