#1 2018-11-26 21:26:05

notsagx
Member
Registered: 2018-04-20

Show current user info

Hello community,
I have a static dadget HTML , is posible show de information from de globals variables or read of de request URL in dadget panel.

Example static html dadget
"<!DOCTYPE html>
<html>
    <head>
    </head>
    <body>
                    <p> the current user is :  ${_RS_USER.getUsername()} </p>
    </body>
</html>"

Example URL dadget:
http://host:port/xxx/xxxx/?user=${_RS_USER.getUsername()}
"<!DOCTYPE html>
<html>
    <head>
    </head>
    <body>
                    <p> the current user is : <% request.getParameter("user"); %>  </p>
    </body>
</html>"



Ideas for this.
thanks.

Offline

#2 2018-11-27 09:27:06

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Show current user info

Hi notsagx,

we will look into this in RS-3169. In the meanwhile, the easiest way to do this would be to use a script report rather than a static HTML dadgets. The script report can render HTML and it can access parameters, global variables, etc.

Regards,
Eduardo

Offline

#3 2018-11-27 13:23:11

notsagx
Member
Registered: 2018-04-20

Re: Show current user info

eduardo wrote:

Hi notsagx,

we will look into this in RS-3169. In the meanwhile, the easiest way to do this would be to use a script report rather than a static HTML dadgets. The script report can render HTML and it can access parameters, global variables, etc.

Regards,
Eduardo


Thanks eduardo.

what is the "RS-3169" ...? 
script report is not posible, because I have a report server community version.

Offline

#4 2018-11-27 13:33:23

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Show current user info

Hi notsagx,

RS-3169 is the ticket number of the ticket I raised for this.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB