Closed whydrae closed 4 months ago
Hello @whydrae , The sap.ushell.renderers.fiori2.Renderer is part of sap.ushell library, not of OPENUI5. GitHub is a place for managing issues for OPENUI5 only. Please, open a ticket in SAP ticket system for managing incidents.
Regards, Iliana
https://ui5.sap.com/#/entity/sap.ushell.services.Extension/sample/sap.ushell.sample.HeaderItem/code might help. See also other FLP samples there. But yes, FLP is not part of this OpenUI5 repo.
OpenUI5 version: since 1.120
Browser/version (+device/version): all
URL (minimal example if possible): https://ui5.sap.com/#/api/sap.ushell.renderers.fiori2.Renderer%23methods/addHeaderItem
Steps to reproduce the problem:
sap.ushell.renderers.fiori2.Renderer
is deprecated, instead experimentalsap.ushell.services.Extension
shall be used.addHeaderItem
function is not deprecated, but it looks like it should point to a new functioncreateHeaderItem
of the extension.The question is: which of the functions shall be used in the production? One of them is deprecated, another one is experimental. As I remember, guidelines say that (ideally) neither should be used.
Shall documentation be adjusted and deprecate the
addHeaderItem
if favour ofcreateHeaderItem
?