Monday, 20 June 2016

Fetching Server or Clone ID in a Controller Command

In Order to fetch the server/ Instance name or clone ID in Controller Command use the following methods

HttpControllerRequestObject req = (HttpControllerRequestObject) getCommandContext().getRequest();
req.getServletContext().getServerInfo();

or

WCSApp.getCloneId();

No comments:

Post a Comment