When you mean ,with "how to make this fast?"- , how to change your widget structure in the large list of widgit in the popups , regarding to the requirement of the second project - so far I do not see any suppoted way to do this .
Currently the only supported way to change the widgits structure /accoridng Vuforia R&D team is to use the Vuforia Studio UI. All other changes may lead to project corruption
possibly ,Not supported way is to write some parser which could read and change the structure. The Vuforia STuido implments h such parser to read and understand the View.json file but this is not availble as extra tool, so far I know.
-also to make some automatic changes your need to define some rules which should be clear before you try to implement some automatic mechanism.
- What you can do - and possibly that what you meant with comment... because commenting will be ignorred -> possibl you could try to change the Home.json /in src folder when the project is not open (first backup required) and remove the popup complete part , instead of comment. Then load in studio and later after your changed the remaining part you can add this back .
...
"name": "twx-overlay-container",
"children": [
{
"name": "twx-container-content",
"children": [
{
"attributes": {
"twx-widget": "",
"widget-id": "popup-1",
"widget-name": "popup-1",
"is-widget-container": "true"
},
"name": "twx-popup",
"children": [
{
"name": "twx-container-content",
...
...
"text": "close",
"class": "button-assertive"
},
"name": "twx-button",
"children": [
{
"attributes": {
"eventbind-id": "eb-1710932893481",
"source-type": "widget",
"source-label": "Button",
"source-name": "button-1",
"source-event": "click",
"handler-type": "ui",
"handler-name": "popup-1",
"handler-service": "hidepopup",
"handler-path": "app.view[\"Home\"].wdg[\"popup-1\"].svc.hidepopup"
},
"name": "twx-eventbind"
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
...
What I meant if you have a tool/editor which understand the json synax you can find the popup structure and remove them from the Home.js then open the view. The popup if there are not any mistake should be displayed without the popup and all childern widgets
but the quesiton is if this will be helpful
If this is not that what you need , possibly you can report a Technial Support issue for Vuforia Studio where PTC can investigate your issue more detailed.
Thanks , BR