DX NetOps

 View Only
Expand all | Collapse all

Pass OneClick server details in custom-menu-config.xml

Jump to Best Answer
  • 1.  Pass OneClick server details in custom-menu-config.xml

    Posted May 05, 2017 11:16 AM

    Hi

    I'm working on a <launch-web-server-script> item for my custom-menu-config.xml.

     

    I know it is possible to parse the name of the user to my script via com.aprisma.spectrum.app.util.context.ApplicationContext.USER_PARAMETER_NAME and I am using that successfully.

     

    My question is whether there is a way to pass the OneClick server name to the script using a similar method. Does anyone know? I want to use this to be able to make a Web Services call back to the OneClick server at a later stage. 

     

    Regards, John



  • 2.  Re: Pass OneClick server details in custom-menu-config.xml
    Best Answer

    Posted May 05, 2017 11:24 AM

    Please ignore this question. Just did this using `hostname` in the launched script ... doh