Revert the Convert to Application Repository Mode

fnunes-pd
Tera Contributor

Hi all,

 

We have deployed an application to a vendor instance using now-cli. 

Then clicked on Convert to Application Repository Mode. The application switched from "In development" to "Installed" 

After i clicked on "Convert to Development Mode". Now the app doesn't appear on Installed or In development and no longer can deploy it again using now-cli deploy command, it states that the scope is already in use. 

 

Is there a way to see again the app?

 

Thanks a lot.

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @fnunes-pd ,

You must set the instance scope to the desired application scope. For example, if converting Agent Workspace, the application scope is set to Agent Workspace.

Role required: admin

About this task

The system properties feature [sn_appclient.store_app_convert_enabled] controls this action, which is enabled by default. You can disable this feature by setting sn_appclient.store_app_convert_enabled to false.

You can convert only the applications that your company owns. The application scope must match a key that is set in sn_appauthor.all_company_keys.
Note: Installed global applications are eligible for conversion.
After you convert the application, it can't receive updates from the application repository on this instance. Ensure that the version of the application that is installed on the instance is the version that you intend to develop as a new version.
Note: Applications that are installed with demo data lose their reference to this data on installation. If an application is converted, you must re-create any sys_metadata_link records to the demo data before you link the application to the source control or publish a new version.

Procedure

  1. Navigate to All > System Applications > My Company Applications.
  2. In the Installed tab, click the name of the application record that you want to convert.
  3. Select the Convert to Development Mode related link.
  4. Select Convert.
    • If the installed version of the application is equal to the latest version that is published to the Application Repository, you see the following dialog:
       

       

    • If the installed version of the application is lower than the latest version that is published to the Application Repository, you see the following warning:
      •  

         

      • If an instance is connected to a self-hosted application repository, you may see this warning regardless of the availability of a higher version in the repository. Check your repository to ensure that the development version that you require is installed in this case.
    • After the successful conversion, the following message is displayed:
      •  

         

      • Close the window to be redirected to the development application form.

View solution in original post

1 REPLY 1

Community Alums
Not applicable

Hi @fnunes-pd ,

You must set the instance scope to the desired application scope. For example, if converting Agent Workspace, the application scope is set to Agent Workspace.

Role required: admin

About this task

The system properties feature [sn_appclient.store_app_convert_enabled] controls this action, which is enabled by default. You can disable this feature by setting sn_appclient.store_app_convert_enabled to false.

You can convert only the applications that your company owns. The application scope must match a key that is set in sn_appauthor.all_company_keys.
Note: Installed global applications are eligible for conversion.
After you convert the application, it can't receive updates from the application repository on this instance. Ensure that the version of the application that is installed on the instance is the version that you intend to develop as a new version.
Note: Applications that are installed with demo data lose their reference to this data on installation. If an application is converted, you must re-create any sys_metadata_link records to the demo data before you link the application to the source control or publish a new version.

Procedure

  1. Navigate to All > System Applications > My Company Applications.
  2. In the Installed tab, click the name of the application record that you want to convert.
  3. Select the Convert to Development Mode related link.
  4. Select Convert.
    • If the installed version of the application is equal to the latest version that is published to the Application Repository, you see the following dialog:
       

       

    • If the installed version of the application is lower than the latest version that is published to the Application Repository, you see the following warning:
      •  

         

      • If an instance is connected to a self-hosted application repository, you may see this warning regardless of the availability of a higher version in the repository. Check your repository to ensure that the development version that you require is installed in this case.
    • After the successful conversion, the following message is displayed:
      •  

         

      • Close the window to be redirected to the development application form.