Code icon indicating copy to clipboard operation
Code copied to clipboard

Unable to pass params as described.

Open vbadri opened this issue 7 years ago • 1 comments

Thanks. This is a very useful example. However, when I tried it, params does not seem to get passed into the inline pages. I added some debug traces, and I found this..

params [foo:bar, thisIs:totally working, install:false, nextPage:thirdPage] .. At the second page, with params: [install:, id:3c7ca98c-54c9-44fc-b528-55c075535fd6, csrf:cdf54384-3d8d-4a83-af91-16f340ea4ed3, settings.undefined.value:, settings:[:], name:secondPage, versionId:, currentPageInstalledSmartAppId:3c7ca98c-54c9-44fc-b528-55c075535fd6]

As you can see, params is NOT derived from the message passed above, but rather contains some other pre-defined values related to the app id, etc.

Has there been a change to the syntax?

vbadri avatar Oct 08 '18 01:10 vbadri

I have an update on this. .

The same smartapp runs just fine if I install it as a smartapp on my phone, but if I install it on the smartapps simulator, I get the error described above where params is not passed.

This does surprise me a little. Explanatios anyone?

vbadri avatar Oct 08 '18 04:10 vbadri