VIKTOR JavaScript SDK

Hi

I was trying out somethings to send values from Webview to Params using VIKTOR JavaScript SDK. It works as expected but with a negative outcome finally. I tried my own way of doing but just for simplicity I tried your example code. Params are transfering from webview to params using a html button but after sending when I click save and come back later the field (here textfield) in params are resetting to null.

Am I doing something wrong here or did my understanding is wrong?

Can some one please help me asap. Because I have to continue working on it now.

Thanks

Hi, could you specify what “come back later” means? Do you leave the editor completely? If so, you can only save data if your app is of type Simple or Tree, not Editor.

Hi @rweigand ,

Thanks for your quick response.

“come back later” simply means reloading the whole browser. My app is a “tree” type app.

For the record, in the meantime I’ve had a call with Rohith and this appears to be a bug in the webview interaction, which we are working to solve.

1 Like

@rohith007 a fix for this bug has been deployed. Thank you for reporting!

2 Likes