Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#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

IF_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

IF_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