Hi, Report.JS add connection options as encoded string, if I wand save it and provide in other report what can I do?
If I do
report.dictionary.databases.clear();
report.dictionary.databases.add(demoData.Dictionary.Databases[0]);
then I get error
r.regData is not a function
add connection from encrypted string
-
- Posts: 2
- Joined: Fri Sep 30, 2016 1:20 pm
add connection from encrypted string
- Attachments
-
- Снимок экрана 2016-09-30 в 17.12.31.png (73.53 KiB) Viewed 1226 times
Re: add connection from encrypted string
Hello.
Please, try to use next code:
Thank you.
Please, try to use next code:
Code: Select all
report.dictionary.databases.clear();
report.dictionary.databases.add(demoData.dictionary.databases.getByIndex(0));