cancel
Showing results for 
Search instead for 
Did you mean: 

The result of loadFragment is undefined.

Jacky_Liu
Product and Topic Expert
Product and Topic Expert
0 Kudos
173

Hi,SAP UI5 expert,

When loadFragment , the result is undefined .

Jacky_Liu_0-1718592740386.png

But in network , the result is 200.

Jacky_Liu_1-1718592899526.png

Jacky_Liu_2-1718592908224.png

Can anyone help me to resolve this issue?

 

Best regards!

Jacky Liu

 

View Entire Topic
ravishgarg
Participant
0 Kudos

Hi Jacky

The loadFragment method returns a Promise, so you'll need to handle it accordingly.

 

Regards

RG

Jacky_Liu
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi, RG, Thanks for comments on this ! But loadFragment is predelivered sap ui5 library .We don't need to define it . please refer to :https://sapui5.hana.ondemand.com/#/topic/aeb86c181b9742a2bf88049abf9ccb95