Friday, 7 December 2012

NextReports Server : Iframe Tunning

NextReports Server allows to have any widget (chart, table, alarm, pivot) inserted in any HTML page through an iframe tag. This can be generated through "Embedded code" action:

You will get a code like :

This code has some parameters like widget id, width and height.

From version 5.4 users can define if they want to allow iframes or not. Inside Settings section some new properties can be used:

"Enable iframes" property will disallow the use of iframes if it is not selected.

"Use authentication" property will allow only for logged users to see iframes, if it is checked.

Also an iframe code can be modified to contain parameters. In this way more iframes with different settings can be used even if they have the same widget id. You have to add a new parameter :

..&P=<encrypted parameters string>

"Encryption key" is used by NextReports Server internal algorithm.

To create <encrypted parameters string> you will have to create a string with pairs of parameters and their values like :


This string must be  then encrypted using an internal algorithm. Because this is application specific, I will not get into details.

1 comment:

  1. IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.

    IEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.

    corporate training in chennai corporate training in chennai

    corporate training companies in india corporate training companies in india

    corporate training companies in chennai corporate training companies in chennai

    I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai