org-scn-design-studio-community / lumiradesignercommunityext

Lumira Designer SCN Community Extensions
Apache License 2.0
3 stars 2 forks source link

Component Manager functions not working #10

Closed philipphell closed 7 years ago

philipphell commented 7 years ago

Hi, i've installed the extensions on a Lumira Designer SP2. When i use COMPONENTMANAGER component list functions and exists functions will not work.

Other functions (get, set, returnAs) work. I use Lumira Designer in local mode.

thanks for support

entmike commented 7 years ago

Hi, this is a component Karol wrote, so it may take me a bit to debug. Can you share a simple example app, and/or the error log? Hopefully this is something simple with the scope changes SAP did..

entmike commented 7 years ago

Ok, I've researched this. We were using an undocumented hack in Design Studio prior to 2.0 that allowed us to iterate over global scope to determine a list of components in both the Component Manager and Component Layouter extensions. Unfortunately, SAP has changed scope in the RhinoJS VM, and made this hack unusable. I'm at a dead-end for now on this one.

entmike commented 7 years ago

Good news - I think I have come up with a new hack to test this. Can you please re-test?

EDIT: Component Layouter is working, I have to do a few different things for Component Manager, stand by...

entmike commented 7 years ago

Ok, now it should be for sure fixed, if you would like to re-test.

philipphell commented 7 years ago

Hi, very cool. I testet the function listAllComponents(); sucessfully. Function listAllDataSources(); still does nothing. Do you have an idea ?

entmike commented 7 years ago

I will take a look, I did not try with data sources. Hopefully a quick/easy fix.

entmike commented 7 years ago

Ok, I think I have listAllDataSources method fixed as well, now. Can you re-download and try again and let me know?

entmike commented 7 years ago

I'll assume no news is good news and close this one EOD today.

entmike commented 7 years ago

Closing.