Skip to Content
0
Aug 08, 2019 at 12:12 PM

How to fetch Internal ID of Reused Component in SAPUI5 XML View

52 Views

hi Team,

Am using the SAPUI5 Reuse Components .

I have a Common F4Help i.e. customer Code and Using this F4 Help Component in an UI5 application A.

There is an Internal ID created by my application at Run Time for this Customer Code which is as follows

"__component1---app--CUSTOMER_CODE_INPUTID", In chrom browser right clicking->Select Inspect we can find this ID.

on using sap.ui.getCore().byId("__component1---app--CUSTOMER_CODE_INPUTID").getValue() am able to fetch the value.

i mean how to get this ID , "__component1---app--CUSTOMER_CODE_INPUTID" by code which is created at Run Time.

Regards

Govardan Raj