org-scn-design-studio-community / sdkpackage

SDK Package of SCN Design Studio Community
Apache License 2.0
32 stars 29 forks source link

Script Editor gets empty when using within Object #141

Closed philippgriesser closed 8 years ago

philippgriesser commented 8 years ago

Hi there.

I implemented a Design Studio SDK-Extension and come up against a problem with the maintainance of a specific property within the Design Studio (Design Time).

I wanna change the existing script function but after clicking on the Button (...)

1

I am getting the script editor which is empty. That means the already existing function does not appear in the script Editor anymore.

2

This problem only exists when I use the script-property within an object - when using the same property as a standalone property this problem does not exists.

For me this seams to be a problem in the Standard SDK-Kernel - may anyone check this issue and let me know if there is a solution for it?

Here are the objects I am using in SDK:

component.xml

3

component.js

4

Txs, Phil

MartinPankraz commented 8 years ago

Hi Phil.

According to SAP it is not possible what you are trying to do. Check https://scn.sap.com/community/businessobjects-design-studio/blog/2015/11/19/whats-new-in-design-studio-16-sdk There it says:

You can nest all property types into an Object property, except data-bound properties and ScriptTexts. But you can could nest properties of type Object into others, producing a deep structure.

Apart from that this issue page is targeted towards problems related to our repository and not for questions regarding the product itself. Please use SCN next time.

Kind regards Martin