Skip to main content
1-Visitor
Feb 6, 2017 11:40 AM UTC
Solved

Need to navigate back to scan mode

Hi,

In my experience I am having a button. When user clicks on this button I want ThingWorx View App should go back to scanning mode (from scan mode I meant when we start ThingWorx View, the app is looking for a ThingMark, the state in which the app is looking for a ThingMark)

Please suggest.

Sample code is welcome .

Thanks and Regards,

Sameer Singh Rathoud

pvermeerAnswer
1-Visitor
Dec 19, 2017 7:11 PM UTC

Return to Scan mode is now available in ThingWorx Studio and View, as of release 8.1.1.  In your Experience, add a button and put this in the JS for the click event:

app.fn.navigateToScanMode();

Thanks

Pam

5 replies

7-Bedrock
Mar 23, 2017 5:15 PM UTC

I second this question, will appreciate any suggestions.

Regards,

Constantine

Translate
16-Pearl
Mar 24, 2017 8:07 AM UTC

I guess this is the same functionality as the "< Scan" button on the top left?

Translate
16-Pearl
Mar 24, 2017 8:11 AM UTC

I found some previous discussions (outside of this forum) which state, that a dedicated button functionality or similar to go back to the scan mode or to exit an experience is not implemented.

However it's in R&D's backlog, so it might get implemented in any of the upcoming versions.

I hope that helps,

/Michael

Translate
7-Bedrock
Mar 24, 2017 8:41 AM UTC

Thanks Michael, that's exactly what I was looking for.

/ Constantine

Translate
pvermeer1-VisitorAnswer
1-Visitor
Dec 19, 2017 7:11 PM UTC

Return to Scan mode is now available in ThingWorx Studio and View, as of release 8.1.1.  In your Experience, add a button and put this in the JS for the click event:

app.fn.navigateToScanMode();

Thanks

Pam

Translate