TOC : Script API > JavaScript > JavaScript API > Component > ReportTemplate > Method >

 

TriggerLinkCommand

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > Component > ReportTemplate > Method >

 

TriggerLinkCommand

 

 

Executes OZLinkCommand function.

 

 

 

Prototype :

 

void TriggerLinkCommand

(

        string ComponentName,

        string UserTag,

        string UserValue

)

 

 

 

Arguments :

 

ComponentName

value for componentname argument of  OZLinkCommand

UserTag

value for usertag argument of  OZLinkCommand

UserValue

value for uservalue argument of  OZLinkCommand

 

 

 

Reference :

 

OZLinkCommand will be executed after all scripts of the event calling TriggerLinkCommand are finished.

 

 

 

Example :

 

// if check state of a checkbox has been changed, in the OnValueChanged event of CheckBox, pass name, text, checkstate of CheckBox to OZLinkCommand

  ReportTemplate.TriggerLinkCommand(This.GetName(), This.GetText(), This.IsChecked());

 

 

 

Available Events :

 

OnExternalEvent event(Only e-Form)

OnLocationUpdated

OnValueChanged event of a checkbox and radio button

OnClick event of a button