Creating a URL that runs a web protocol

I seem to remember that starting in version 8 there was a simple way to create a URL that simply pops you into a particular web protocol. I can't find any mention in the documentation. Did I just fall asleep at a UGM and dream it, or is it real?

Lee

Answers 4
SB
SB 2011-11-08

Hi Lee,

I don't know when it was added, but from the Professional Client right click on any protocol and choose "Create Protocol Link...", fill in the various options, then click "Copy to Clipboard".

Cheers,

Steve

LH
LH 2011-11-10

Thanks Steve. The link executes the protocol directly. I'm looking simply for a way to put the user into the Web Port with that protocol queued up, ready for input data. Really just a way to make it easy for the user to get to the protocol, but still give them the opportunity to specify the input. Is this possible?

HP
HP 2011-11-10

Hi Lee,

You can do that by appending "?protocol=YourProtocolName" (without the quotes) to the general link to Web Port.

So for example, if your protocol was called ProtocolFromLee, then you would use

http://[servername]:[port]/webport/default/main.htm?protocol=ProtocolFromLee

If the protocol has whitespace, use "%20" (again without quotes) in place of the whitespace.

Cheers,

Andrew

HP
HP 2011-11-10

Of course, you'll have to provide the full folder location -- my example assumes the protocol is saved directly in the Protocols > Web Services folder.

This is documented in the Web Port Customization Guide, in the "Loading an Initial Protocol" section, p. 5.