FAXL3: CCER
From fringDocumentation
Contents |
Client Command Execution Request
A Client Command Execution Request (CCER) is a way to run some Actions on the client without having a UI notification. Meaning, when a CCER arrives to the client the add-on tab does not open and the onLoad events execute.
Description
An add-on can use a CCER to query some information from the client and receive it back or to perform any other action without any user interface effect.
CCER: Element onLoad
The following are the elements or building blocks comprising an onLoad element of a CCER:
| Required | Name | Type | Description |
| Required | onLoad | - | The actions to execute when the CCER arrives to the client. |
| Origin | add-on server |
| URL | http://www.fringcall.com:8080/fis/channels/YOUR_ADD-ON_ID/client |
| HTTP method | POST |
| Content type | Application/XML |
Request FAXL Syntax
<Request>
<Recipients>
<UserHash>USER_HASH_OF_THE_USER</UserHash>
</Recipients>
<CCER>
<onLoad>
<Actions>
<ActionRunScript>
<IN>
<argScriptBody>
<value>fringalert("hello world");</value>
</argScriptBody>
</IN>
</ActionRunScript>
</Actions>
</onLoad>
</CCER>
</Request>
FAXL compatibility
Supported from FAXL 3.0