Skip to Content

How to customize text of SAPUI5 Object Marker? (sap.m.ObjectMarker)

Hello,

I need to customer sapui5 object ObjectMarker, but I couldn't do it. The current API does not support to do that.

Currently, the API allows me to pick one of the predefined types of ObjectMarkerType only. The annoying part is that these predefined types come with defined text, which I can not modify. Hence I wish there is some way to customize the text.

I'm looking forward to hearing from you!

Thank you!

Victor.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jun 29, 2017 at 08:08 AM

    Will it be helpful to you? http://plnkr.co/edit/A2kTDy87Dy8aN3Z62Jde?p=preview

    Regards,

    Karthik A

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Karthik,

      Thanks a lot. It does help.

      I make it worked with a similar solution. But I think sapui5 should somehow allow users to modify the text, which is really helpful for users.

      Thanks again!

      Victor.