Questions and Answers

0 Like 0 Dislike

Christopher Thompson

How do I open an external URL from a tool session?

I was told there is a mechanism for tool developers similar to exportfile that will allow us to pass a URL outside the tool session to open in the end user’s web browser similar to how exportfile allows the downloading of files through the user’s external web browser, but I cannot find any info on this. Is there a section of documentation for things like this aimed at tool developers which I am just overlooking?

Report abuse

Chosen Answer

  1. 0 Like 0 Dislike

    Anonymous

    From within a workspace session container, you can execute the command:

    /usr/lib/mw/bin/clientaction url https://hubzero.org

    where you replace the “https://hubzero.org; with the url that you want to open.

    In your program you can call the clientaction program with the “url” command as shown above.

    Reply Report abuse

    Please login to answer the question.

0 Responses

No other responses made.