Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Designs Studio 1.4 - Is it possible to instantiate a new component with a global script function?

$
0
0

Hi,

 

Global script functions allow a component object as a Return Type.  I have noticed that it only seems to be possible to return a component that already exists when defining such a function, as in the example shown below:

 

GlobalScriptFunction.png

 

While this may have it's use cases, since an existing component can be addressed directly anyway, I would have thought it would be of more value to have the ability to instantiate new components with global script functions, for the purposes of dynamic UI generation as one example.

 

Does anyone know if this is possible and if so what is the correct syntax for the return statement in the global script function definition to achieve it?

 

Thanks,

 

Mustafa.


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>