Skip to Content
0

Controller does not update in fiori launchpad

Apr 09 at 12:12 PM

38

avatar image

I created a custom tile so it is displaying a Text control and receiving data from the controller:

		var mensaje = this.byId("estado"); // this is the text
	        var oUserData;
	        var y = "https://company.com:port/sap/bc/ui2/start_up";
	        var xmlHttp = null;
	        xmlHttp = new XMLHttpRequest();
	        xmlHttp.onreadystatechange = function() {
		        if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
		                oUserData = JSON.parse(xmlHttp.responseText);
		                mensaje.setText(oUserData["id"]);
		               console.log('Bienvenido ' + oUserData["id"]);
		        }
		        console.log("nain");
	        }
                console.log("test");

this does not work on the launchpad designer but at least it's printing on the console "test" but the controller is not updated on fiori launchpad be cause i can't see these modification in my controller, what it can be ?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Desiree Matas
Apr 10 at 12:43 PM
1

Hello Naoto,

How have you deployed the modification? Maybe the following KBA is useful for you:

2426124 - SAPUI5 application modifications are not visible

Best regards,

Désirée

Show 2 Share
10 |10000 characters needed characters left characters exceeded

thanks, i'll take a look :D

0

Thanks! i clean up the cache of my fiori server and it works :D

Tx. /nSMICM

clena.png (42.5 kB)
0