Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set QVW variable using Qva via QvAJAXZfc

I was unable to find a solution, at least a clear direction to the solution, to setting a variable to an embedded iFrame QVW document through QvAJAXZfc. Or setting the TEXT value of an object, not an existing value within the object.

Any help would be appreciated. Thank you.

1 Reply
Not applicable
Author

Qv.InitWorkBench({

     View: 'myDocument',

     BodyOnLoadFunctionNames: ['Init'],

     Host: null

    });

function Init() {

     myDoc = Qv.GetCurrentDocument();

     myDoc.SetVariable("MyVariable","MyValue");

}

Should do the trick.