Script API Report - AnalyticsGate/AGR-OnPrem-Setups GitHub Wiki

general

Description

Here, you can control the general behavior of AnalyticsGate Reporting.

Example

general:
{
    timeout: 1200
    autoFitTables: true
}

template

Description

This parameter is used to configure the settings for the template.

Required: Yes (but not in Alerting Mode)

Example

template: 
{
    input: content:///ExecutiveDashboard.xlsx
	output: ='Report_'&only(Region)&'_Demo.pdf'		
	selections:[
        {
            type: static
            name: Fiscal Year
            values: 2020
        }
        {
            type: dynamic
            name: Region
        }
	]
}

distribute

Description

This parameter contains a flexible JSON script. It can vary depending on the delivery type.

Example

   distribute:
    {
    	file:
    	{
        	active: false
    		target: lib://demolib/output
    		mode: DeleteAllFirst
    	}
    	hub: 
    	{
        	active: true
    		mode: Override
    	}
    }

connections

Description

The already existing connections to Qlik are stored here. This parameter is controlled by Reporting.

Required: Yes