Sending Messages to ISL Light

 

Messages explained in this section are usually sent as a response to HTTP events instead of a message <nomessage/>. For example, you may want to display a message when a certain user logs in using ISL Light Desk. You will need to handle the NEWSESSION event. You can obtain the session ID from the SESSIONID field.


Note: Replace dbsecret in the examples below with the appropriate database secret.

Show message box on client

<module secret="dbsecret">
    <islLight>
        <session id="s19_3_390">
            <send to="client">
                <msgbox>1</msgbox>
                <message>Text</message>
            </send>
        </session>
    </islLight>
</module>


Add text to chat on desk

<module secret="dbsecret">
    <islLight>
        <session id="s19_3_390">
            <send to="desk">
                <chat>1</chat>
                <message>Text</message>
            </send>
        </session>
    </islLight>
</module>


Add text to chat on desk (use custom label)

<module secret="dbsecret">
    <islLight>
        <session id="s19_3_390">
            <send to="desk">
                <cp_label>server: </cp_label>
                <chat>1</chat>
                <message>Text</message>
            </send>
        </session>
    </islLight>
</module>


Terminate session

<module secret="dbsecret">
    <islLight>
        <session id="s19_3_390">
            <drop/>
        </session>
    </islLight>
</module>

Was this article helpful?