Page 1 of 1

Pass value from Root to child document

Posted: Wed Feb 07, 2018 8:42 pm
by vikas
Hi

I am assigning a value to a variable declared in Root.xml but the value gets cleared as soon as the call enters the child document. Looking at the log it looks like it is because calling <goto> on child document reloads Root.xml.

Is there a value to pass value from Root to child document other than using <subdialog> ? Please let me know.

Sharing variable value between 2 child documents to the same Parent works.
But variable set in Parent (Root.xml) is not available in child document.

Re: Pass value from Root to child document

Posted: Thu Feb 08, 2018 9:37 am
by support
Hi Vikas,

Can you provide a small amount of sample code that demonstrates the issue that you are describing? Generally speaking it is possible to set a variable in a root document and then access it in a child document. However, without sample code it is difficult to determine where exactly things are going wrong.

Regards,
Plum Support