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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Vuforia Studio Experience Manager

mmarkenson
14-Alexandrite

Vuforia Studio Experience Manager

Hello Vuforia Studio community!

 

This past week the PTC user AR/VR Technical community and Vuforia product management discussed visualization and management of your organizations experience server. The Product Management team would like share a Vuforia Studio experience developed to help you manage the experiences you've published. Import and publish this experience as you would with any other project. Next use your device to get information about the experiences published. The experience can be used to unpublish unnecessary experiences.

 

Attached are the project files

 

Some helpful tips:

Icon Meaning
device.jpg The device the experience is published for
lock.jpg The experience requires authentication
Download.jpg The experience is available for download

 

Feel free to comment with your feedback and thoughts!

 

-Marty Markenson, Vuforia Product Management 

12 REPLIES 12

Subject of this post does not do justice to the significance of this. This is a massive improvement over having to dig stuff up in Postman or CURL. This is really elegant and useful.

 

Only improvement I can think of is a way to sort the data grid by a column. In my use I intend to only ever have on experience per Thingmark which doesn't always happen and if I could sort by the Thingmark column this would be easy to spot.

mmarkenson
14-Alexandrite
(To:jmikesell)

Glad you think this is an improvement and thanks for sharing your feedback! This is helpful for the product team as in defining how experiences are managed

 

-Marty

Ike@ACE
15-Moonstone
(To:mmarkenson)

It seems that this Manager no longer works with the latest update to Vuforia. Is there an update to the indispensable Studio Experience Manager coming soon, hopefully?

Hi Ike@ACE , thanks for reporting this issue!

yes currently this seems not to work, but I do not believe that the experience manger has an implementation issue , I believe that the current issue is based on an issue of the data Grid widget (and possibly also the repeater) which lead to the incorrect wrong display in the Experience Manger. So this what was reported in https://community.ptc.com/t5/Vuforia-Studio/Data-Grid-Widget-Appears-to-not-be-working/m-p/869073#M11631

I reported some time ago this issue to PTC R&D team as Jira VTS-1469. and fix is ready and need to be released soon. In the post mentioned above I will announce when the fix is release, so I am sure that this also will be solved with this. 

fix verified Studio 9.11.1263.0 (2D Widget) and 9.11.0.1302 (3D Widget). - so I think , here is the first item related to the Experience Manager

Has this been confirmed to work? I just tried this today in both preview mode and on my phone and it does not seem to be working.

Ike@ACE
15-Moonstone
(To:JR_10180367)

Just so you're aware, I was told to never publish the Studio Experience Manager. So, you might run into a problem there. Once I update Vuforia Studio - which I have been putting off because of issues with my Microsoft work account not allowing me to go into the Store; I really do not like this latest update to the VS update system - I'll let you know if it worked for me, at the very least

Ike@ACE
15-Moonstone
(To:JR_10180367)

First, it was easier than I expected to do the update. The must have streamlined the process a lot more since the last time I tried it. Thank goodness.

 

Second, once I installed the update, the Studio Experience Manager that I had installed worked like a charm.

Sandy_Gunner
14-Alexandrite
(To:mmarkenson)

Hi @mmarkenson 

 

Thank you providing the complete zip file for managing the Studio Experience. I could not understand how you created a thing and bind it to the data grid in the studio. But it is still working in my studio.

I wanted to add the few columns in the data grid with published user information (publishedBy) as well as published date (publishedData) in addition to the grid provided in this sample .

How to add the additional information within the grid ?   Please see the attachment for the details. Is creating a thing and binding its properties is the only way to do this, I will appreciate if you could provide explanation in details to do this also.
Thanking You.

Hi @Sandy_Gunner ,

because some time ago  I receive a question  about that post I see that it is sinse longer time not answered. So try to proivide here some answer.

The quesiton is how to add information in additional field.

So 2 points.

  • What are the informaiton what we can add:  That we can when we print the results of  
    $http.get('/ExperienceService/content/projects/', { ...​
    e. g. console.warn(  app.mdl.experienceService.svc.getProjects.data)  to print the info to the preview chorme debugging consoel Cntrl+Shift+I2024-07-10_11-34-40.jpg

so we can see that e.g. there also different informaiton what we can also see e.g. the understructure publishData what we can access then to display e.g. the following 2024-07-10_11-43-58.jpg

So that filed setting could be then - something like that:

 

"item.publishData.projectSize + ',' +item.publishData.publishedBy + ',' +item.publishData.publishedData"

 

  • but here is the second point how to add the field. That is currently not supported on that way to do that but mostly it will work. Becuase the supported way is to add a service from thingworx and when the service is executed one time it provides a fields what could be attached / via binding directly in Vuforia Studio UI. 
  • because the service is executed in javasecript on run time we can not use it during design time in  the UI. The current workaroudn is to use a similar service from Thingworx which deliver the same resutls and the first attached it to the proejct to have the fields to create the data grids and later switch the related field  to the results of the internal call.
  • What not supported technicues what work in the current functionality / not supported means that R&D team do not pay attention for furhter compatibility /  - this techniques is to edit the json file for the view and add this manually . Here in the example we have the Home view /also as start view. So we need then open e.g. in my project
    \VuforiaStudio\Projects\Experience_Manager-AddFields\src\phone\components\Home.json​
    and copy the field Experiences:
    //.....
    ,
                    {
                      "attributes": {
                        "twx-widget": "",
                        "widget-id": "content-column-3",
                        "widget-name": "content-name-3",
                        "is-widget-container": "true",
                        "label": "Experiences"
                      },
                      "name": "twx-data-grid-col",
                      "children": [
                        {
                          "attributes": {
                            "class": "twx-widget-bindings",
                            "slot": "bindings",
                            "ptc-rendered": ""
                          },
                          "name": "twx-widget-bindings"
                        },
                        {
                          "name": "twx-container-content",
                          "children": [
                            {
                              "attributes": {
                                "twx-widget": "",
                                "widget-id": "content-label-3",
                                "state-format-value": "text",
                                "widget-name": "content-label-3",
                                "text": "Label"
                              },
                              "name": "twx-label",
                              "children": [
                                {
                                  "attributes": {
                                    "databind-id": "db-1528229159002",
                                    "source-type": "data",
                                    "source-label": "",
                                    "source-name": "experienceService",
                                    "source-item-type": "service",
                                    "source-item-name": "getProjects",
                                    "source-item-field-name": "name",
                                    "binding-type": "collection_item_field",
                                    "from-expression": "item.metadata.experiences[0].title.en + ',' +item.metadata.experiences[1].title.en + ',' +item.metadata.experiences[2].title.en",
                                    "to-property": "text",
                                    "base-type": "undefined",
                                    "shape": ""
                                  },
                                  "name": "twx-databind"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
    //....​
    copy and past in the Home.js and change to new values  the names of widget Id  widget name and databind-id --> the values /names should be not used in the Home.json
    ,
                    {
                      "attributes": {
                        "twx-widget": "",
                        "widget-id": "content-column-new1",
                        "widget-name": "content-name-new1",
                        "is-widget-container": "true",
                        "label": "publishData"
                      },
                      "name": "twx-data-grid-col",
                      "children": [
                        {
                          "attributes": {
                            "class": "twx-widget-bindings",
                            "slot": "bindings",
                            "ptc-rendered": ""
                          },
                          "name": "twx-widget-bindings"
                        },
                        {
                          "name": "twx-container-content",
                          "children": [
                            {
                              "attributes": {
                                "twx-widget": "",
                                "widget-id": "content-label-new1",
                                "state-format-value": "text",
                                "widget-name": "content-label-new1",
                                "text": "Label"
                              },
                              "name": "twx-label",
                              "children": [
                                {
                                  "attributes": {
                                    "databind-id": "db-1528229159777",
                                    "source-type": "data",
                                    "source-label": "",
                                    "source-name": "experienceService",
                                    "source-item-type": "service",
                                    "source-item-name": "getProjects",
                                    "source-item-field-name": "name",
                                    "binding-type": "collection_item_field",
                                    "from-expression": "item.publishData.projectSize + ',' +item.publishData.publishedBy + ',' +item.publishData.publishedData",
                                    "to-property": "text",
                                    "base-type": "undefined",
                                    "shape": ""
                                  },
                                  "name": "twx-databind"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }​
  • That will display the info in the field as schowend in the picture above . Of couse you can create /split it to 3 different fields but in this case you need to add 3 different columns - here for the sake of simplicity I used only one but for the 3 properties. The property from-experession should be changed to the experession what we want to add here

 "from-expression": "item.publishData.projectSize + ',' +item.publishData.publishedBy + ',' +item.publishData.publishedData",

 

Hi @RolandRaytchev 

Thanks a lot for the detailed explanation.

However, I was able to achieve what I wanted a long time ago by modifying the existing project.

 

BR

Sandy

 

Announcements

Top Tags