cancel
Showing results for 
Search instead for 
Did you mean: 

how to MI Client initialize webapps

Former Member
0 Kudos

hello.

i have a big request:

i have deployed in my MI CLIENT 3 webapps.

the first webapp does calling the 2 & 3 webapps from a page that contains 2 link. in others words, i need to simulate the calling of MI CLIENT to webapp into homepage:

http://localhost:4444/me/servlet/com.sap.ip.me.apps.jsp.ControllerServlet?action=homeonApplicationCh... name>&applicationType=JSP&applicationVersion=<n. version of application>&applicationNamespace=&1141913648250

how my class can read :

- application name

- application versione

- application namespace

in the meg.jar exist any method that read these 3 parameters?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hello eliana,

use the following code:

import packages

com.sap.ip.me.api.user.*

com.sap.ip.me.core.*


User currentUser = UserManager.getInstance().getCurrentUser();
MobileSolutionDescriptor[] msds = 
 ConversationIdHandler.getInstance().getAllMobileSolutionDescriptorsForUser(currentUser);
for(int idx=0; idx<msds.length; idx++){
  String appName =msds[idx].getName();
  String appVer =msds[idx].getVersion();
  String appDesc = msds[idx].getDescription();
  String appNmSp = msds[idx].getNamespace();
  String appType =msds[idx].getType().toString();
}

you will retrieve all the MSDs including that of the

framework and hidden ones (like addons, patches...)

regards

jo

Former Member
0 Kudos

very beautiful magnific class

Answers (0)