cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

how to copy entire view from one project to another new project in vuforia studio?

SOLVED
Highlighted
Aquamarine

how to copy entire view from one project to another new project in vuforia studio?

how to copy entire view from one project to another new project in vuforia studio?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: how to copy entire view from one project to another new project in vuforia studio?

so far I know currently there is no supported functionality to do this but you can try the following.

- let say you have defined a project with 2 views : Home and SECOND_VIEW 

- let say you want to copy the SECOND_VIEW to other project.

Steps:

1.) copy the SECOND_VIEW.js and SECOND_VIEW.json form the 

<your USER directory >\VuforiaStudio\Projects\<SOURCE project>>\src\phone\components to ...

<your USER directory >\VuforiaStudio\Projects\<Target project>>\src\phone\components to ...

2,) I think this above is all but to be sure, you can  additionallly   eddit in the  directory

<your USER directory >\VuforiaStudio\Projects\<Target project>>\ appConfig.json

so here you need to edit  appConfig.json and add the second view:

"targets": {
    "phone": {
      "components": [
        {
          "name": "Home",
          "fileName": "Home",
          "showInMainMenu": true,
          "viewType": "ar",
          "title": "Home"
        },
        {
          "name": "SECOND_VIEW",
          "fileName": "SECOND_VIEW",
          "showInMainMenu": true,
          "viewType": "mobile-2D",
          "title": "SECOND_VIEW"
        }
      ],

 

 then go and open the Target project in Studio UI. It should update the project.

A related issue is reported in the post duplicated a view

View solution in original post

3 REPLIES 3

Re: how to copy entire view from one project to another new project in vuforia studio?

so far I know currently there is no supported functionality to do this but you can try the following.

- let say you have defined a project with 2 views : Home and SECOND_VIEW 

- let say you want to copy the SECOND_VIEW to other project.

Steps:

1.) copy the SECOND_VIEW.js and SECOND_VIEW.json form the 

<your USER directory >\VuforiaStudio\Projects\<SOURCE project>>\src\phone\components to ...

<your USER directory >\VuforiaStudio\Projects\<Target project>>\src\phone\components to ...

2,) I think this above is all but to be sure, you can  additionallly   eddit in the  directory

<your USER directory >\VuforiaStudio\Projects\<Target project>>\ appConfig.json

so here you need to edit  appConfig.json and add the second view:

"targets": {
    "phone": {
      "components": [
        {
          "name": "Home",
          "fileName": "Home",
          "showInMainMenu": true,
          "viewType": "ar",
          "title": "Home"
        },
        {
          "name": "SECOND_VIEW",
          "fileName": "SECOND_VIEW",
          "showInMainMenu": true,
          "viewType": "mobile-2D",
          "title": "SECOND_VIEW"
        }
      ],

 

 then go and open the Target project in Studio UI. It should update the project.

A related issue is reported in the post duplicated a view

View solution in original post

Highlighted

Re: how to copy entire view from one project to another new project in vuforia studio?

thanks for reply. this solution helps a lot and it saves the time during creating experience. I tried this solution personally and its working fine.

only one thing i want to add is we need to copy paste the resources from original project to new project

Tags (1)
Highlighted

Re: how to copy entire view from one project to another new project in vuforia studio?

I am expecting PTC R&D will work on this to bring this solution on vuforia Canvas instead of following the procedure given in this above link.

because most of the vuforia Indian users are from mechanical background and they don't understand the software limitations.

Announcements
Topics available:
AR/VR for Data Optimization AR/VR for Security and Control AR/VR for Inspection