website-management-server-plugins.png

Plug-Ins: "RQL-Connector for JavaScript"

Title: j-rql-connector-https

Compatibility: 7.x, 9.x, 10.x, 11.x, 16.x

Description:

  • An all version compatible RQL connector written in JavaScript/JQuery. This flavor works in both HTTP and HTTPS.

Accessibility:

  • In SmartTree / SmartEdit

Developed by: Jian Huang

Download: Solution Exchange GitHub

Usage:

 JavaScript & VBScript 
<script type="text/javascript" src="rqlconnector/Rqlconnector.js"></script>
<script type='text/javascript'>
    var LoginGuid = '<%= session("loginguid") %>';
    var SessionKey = '<%= session("sessionkey") %>';
    var RqlConnectorObj = new RqlConnector(LoginGuid, SessionKey);

    function LoadPageSimpleInfo(PageGuid)
    {
        //load simple page info
        var strRQLXML = '<PAGE action="load" guid="' + PageGuid + '"/>';

        RqlConnectorObj.SendRql(strRQLXML, false, function(data){
            //alert($(data).find('PAGE').attr('headline'));
        });
    }
</script>