Hi,
Does anyone have any code samples to use the following classes, for System landscape access:
package:
com.sapportals.iviewserver.systemlandscape.service
Classes:
IAlias
IDesigntimeSystemLandscapeService
IRuntimeSystemLandscapeService
ISystemLandscapeService
ISystemObject
Thomas,
I have not found any code camples so far.
Basically we need to find a replacement for the following line:
ILandscapeService objLS = (ILandscapeService) PortalRuntime.getRuntimeResources().getService("com.sap.portal.compatibility50.systemlandscape.landscape");
The above uses the deprecated API. ( I am assuming it is deprecated because it is listed under "5.0 compatibility" in the documentation ).
If the value for the string in the above line for the new api is found, adapting the code to the new api should not be difficult.
Add a comment