Skip to Content
0

jQuery and Design Studio (>1.6)

Sep 08, 2017 at 09:50 AM

94

avatar image

Hi,

I'm having problems connecting one of the ui5 plugins delivered with Design Studio and residing in plugins folder. As I understand it is a jQuery plugin (jar). I've tried to follow different resources to add a plugin, but with no visible result - it does not appear in Design Studio within Components view.

Could somebody lay down a sequence of steps to be taken to enable and use successfully a plugin?

Many thanks in advance,

Alex

10 |10000 characters needed characters left characters exceeded

Alex,

Can you be more specific about what you mean by "ui5 plugins delivered with Design Studio" and the exact steps you have taken to install this "plugin"? Design Studio does not come with any requirement to install "ui5 plugins". By "plugin" do you mean an SDK extension? If so, which extension specifically?

Regards,

Mustafa.

0

Further to my previous comment, the plugins folder of Design Studio contains internal plugins that are already installed. The jQuery plugin will not appear in the Components panel because it is only used internally and cannot be accessed via scripting. You can only access the jQuery library via the SDK. If you can be clearer about what you are trying to achieve, we can provide further guidance accordingly.

Mustafa.

0

Hi Mustafa,

That makes sense now.

I wanted to access com.sap.ui5.richtexteditor_1.34.12.jar from Design Studio.

What steps do I have to take to convert/make it available as a custom component in Design studio?

p.s. Are these plugins used internally by DS itself as user interface?

Thank you,

Alex

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Mustafa Bensan Sep 09, 2017 at 02:39 AM
0

Hi Alex,

The UI5 plugins you refer to are used internally by DS to provide a subset of the UI5 M library controls as user interface components in DS, such as the standard Button, Checkbox, Dropdown Box components. In order to use a UI5 control that is not provided as a standard component in DS, such as the UI5 Rich Text Editor control you've mentioned, you need to create an SDK component wrapper for it. You can refer to the following to understand how to achieve this:

1. SDK Extensions Using SAPUI5 Controls section in the Design Studio SDK Developer Guide;

2. Design Studio SDK Templates and Samples, which include several UI5 examples.

Regards,

Mustafa.

Share
10 |10000 characters needed characters left characters exceeded