cancel
Showing results for 
Search instead for 
Did you mean: 

Smartedit - Add to the existing decorator

0 Kudos

I am trying to add some information to the existing decorator in basic and advanced editing. Basicly just show some text next to the buttons.

So I added my custom extension with the ysmarteditmodule like shown here:
https://help.sap.com/viewer/9d346683b0084da2938be8a285c0c27a/1811/en-US/af037831649b4b88b6f0fddcee81...

After that I tried to add the decorator the the basic perspective like this:

        perspectiveService.register({
            key: 'se.cms.perspective.basic',
            nameI18nKey: 'se.cms.perspective.basic.name',
            features: ['abAnalyticsDecorator']
        });

Now the decorator is added to the basic perspective, but it overrides the normal one. How can I just add something to the existing elements as mentioned above?

I also tried the code in
https://help.sap.com/viewer/9d346683b0084da2938be8a285c0c27a/1811/en-US/1c7f5da860174b59b4bd45c210da...

But the build fails if I add this code to my ts file.

former_member34
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thank you for visiting SAP Community to get answers to your questions. Since you're new in asking questions here, I recommend that you familiarize yourself with https://community.sap.com/resources/questions-and-answers (if you haven't already), as it provides tips for preparing questions that draw responses from our members.

Should you wish, you can revise your question now by selecting Actions, then Edit.

Finally, if you're hoping to connect with readers, please consider adding a picture to your profile. Here's how you do it: https://www.youtube.com/watch?v=F5JdUbyjfMA&list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS . By personalizing your profile with a photo of you, you encourage readers to respond.

Best regards

Jennifer

SAP Community moderator

Accepted Solutions (0)

Answers (0)