on 11-24-2017 10:05 AM
Hello,
I would like to iterate all datasources (in a generic way) in Design Studio/Lumira Designer scripting. Therefore I am wondering if it is possible to list all datasources in Design Studio/Lumira Designer scripts.
Kindly regards
Peter
Hi Peter,
It is not possible to do this with standard Design Studio / Lumira Designer. You can do this using the Component Manager from the SCN Lumira Designer 2.0 SDK Components with script code like this:
var myDataSources = COMPONENTMANAGER_1.listAllDataSources();
myDataSources.forEach(function(dataSource, index) {
LISTBOX_1.addItem(dataSource.name, dataSource.name);
});
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much for the quick answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Searching, I found this - https://blogs.sap.com/2014/11/26/global-scripting-in-design-studio-14/ by Eshwar - not sure if that meets your requirements
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.