Page 1 of 1

add connection from encrypted string

Posted: Fri Sep 30, 2016 2:13 pm
by MAnKabanov
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

Re: add connection from encrypted string

Posted: Mon Oct 03, 2016 7:12 am
by HighAley
Hello.

Please, try to use next code:

Code: Select all

report.dictionary.databases.clear();
report.dictionary.databases.add(demoData.dictionary.databases.getByIndex(0));
Thank you.