on 2025 May 26 1:28 PM
Hi,
I am trying t upload an icon on object page header in RAP application.
I am providing values form SAP-icons for example sap-icon://accelerated. it is populating the error "Annotation value must not contain the // character" . Could you please help me to understand how to pass correct value to image URL
Thanks
Request clarification before answering.
Hi @VISHAL_JHA
Object page header expects a property name (field name) or icon name, not a full URL or sap-icon://.
Instead try using
| UI.headerInfo.typeImageUrl | String | This annotation contains the URL of an image representing an entity. |
If you still want to use imageUrl which is "This annotation represents a path to an element containing the URL of an image representing the entity instance" then First initialize data(icon) = 'sap-icon://accelerated' and then imageUrl="icon" within the object page header.
Details are given in this documentation -https://help.sap.com/doc/saphelp_nw75/7.5.5/en-US/f8/af07bb0770414bb38a25cae29a12e9/content.htm?no_c... within in the "UI.headerInfo" section
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 8 | |
| 6 | |
| 6 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.