Skip to main content
Announcements
Qlik Community Office Hours, March 20th. Former Talend Community users, ask your questions live. SIGN UP
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.