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 2019-06-24 14:04:01

Patryx
Member
Registered: 2019-03-25

Datasource parameter - problem with default values

I have a datasoure parameter with query:

select distinct sd.content_key, get_content_text(sd.content_key, ${_RS_LOCALE_USER})
from sd.status_dict sd
order by 2

I want to mark default values. As you can see the values depend on current language (_RS_LOCALE_USER) so I am not able to set default values correctly...
It would be better to set default keys than default values.

I try to change language and add as default values all the values in all my languages used in application (en, pl).
Unfortunately it marks parameter at start correctly but I cannot filter parameters - it looked like you add all default keys selected in default values, so always there are added from different language.

As example I have default values:
A_pl   (key as A_en)
B_pl  (key as B_en)
C_pl  (key as B_en)
A_en
B_en
C_en

If I have ENGLISH language in appliaction I see marked A_en, B_en, C_en but even If I reject some of them, the result is not changed (like all are set always).
Better if you can reject from parameters all default values which are not related with current language.

Any idea how to set default values in such case?

Offline

Board footer

Powered by FluxBB