Let's follow up this discussion at the Neptune Community

(this forum will be kept in read-only mode)
Solved

Create custom elements in NAD

Hi,

I would like to know whether it's possible to create custom items in NAD.

I know I can add a custom string attribute to an element but I would like to make bigger changes and I would like to reuse them.


sapui5 allows me to extend an already existing element as described in this tutorial:

https://openui5.hana.ondemand.com/#docs/guide/d12d2ee6a5454d799358d425f9e7c4db.html

Can I use this for my neptune apps? And if yes, how?


Thanks for your help

Best regards


Hi Tobias,


NAD is using SAPUI5, so you can extend any component into your own following the guideline from SAP:

https://openui5.hana.ondemand.com/#docs/guide/91f02ece6f4d1014b6dd926db0e91070.html


   


image


Now if you want to add new custom components to the Library (left side in NAD), that is a much more complex process. I recommend you to keep your custom component implementation in a Script Code block, so that you easily can copy and paste it between your apps.   image


Have a nice weekend,

Julian


Hi Julian,


thanks for your answer!

I will try that.


Have a nice day,

Tobias

You are welcome, Tobias!
Login or Signup to post a comment