Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

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

Re: Set QVW variable using Qva via QvAJAXZfc

Qv.InitWorkBench({

     View: 'myDocument',

     BodyOnLoadFunctionNames: ['Init'],

     Host: null

    });

function Init() {

     myDoc = Qv.GetCurrentDocument();

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

}

Should do the trick.

Community Browser