cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with setStandardItemText not updating title in Variant Management UI5 v1.118.0

ramon_schmidt
Member
0 Kudos

Hello SAP Community,

I've encountered an issue with the setStandardItemText method in SAPUI5 version 1.118.0, where the title or text of the standard item in the Variant Management control is not being updated. This functionality worked in previous versions of UI5, but it seems to be behaving differently in the latest version.

Here's the relevant snippet of my code:

_getVariantManagement: function () {
return this._getSmartTable().getVariantManagement();
},


addVariantSettings: function () { const variantManagement = this._getVariantManagement(); variantManagement.setStandardItemText(this.getI18nText("defaultVariant.currentDocuments")); //... }

I use _getVariantManagement to retrieve the Variant Management control from a Smart Table and attempt to set the standard item text with setStandardItemText. However, the text remains unchanged in the UI.

I am looking for insights on whether there's a new approach to updating the standard item text in this version of UI5 or if there are known issues or workarounds that I should be aware of.

Any suggestions or guidance from the community would be greatly appreciated.

Thank you!

Accepted Solutions (0)

Answers (0)