Hello All,
We've been doing a ton of integration around RDM with the Web Protocol Handler. We learned by asking that the /DATABASE= param actually existed but wasn't documented -- so I thought I would drop a question here in hopes that there were some additional capabilities.
To be specific, what we need the ability to do is to programmatically specify the Credential Repo and Credential ID along with the Template and Host information. Is this, by chance, exposed? If not, is there any way to accomplish this by other means today (or, if it's easy -- can it be tossed into a patch)? We're willing to write whatever extensions/add-ons would be necessary to make it happen -- but a seamless integration through the Protocol Handler would be FAR easier.
Thanks in Advance!
Chris
Hi,
I'mp pretty sure that this does not exists. Could you post an example of the url you would like? I will use it as sample to add the feature.
Regards
David Hervieux
Thanks David!
Since we're on the topic, I'll put another wishlist item in here (which should require touching the same modules I'd imagine), and that is the ability to pass the RD Gateway as a param as well (though I realize this is specific to one connection type -- having the ability to pass it in for any connection that requires a proxy of some kind would be ideal).
Something like this would be fantastic:
rdm://open?Database=' + conn.database_id + '&Template=' + conn.template_id + '&Host=' + conn.host + '&Port=' + conn.port + '&RDGateway=' + conn.rd_gateway+ '&CredentialRepo=' + conn.credential_repo_id + '&Credential=' + conn.credential_id + '&Title=' + conn.title
I've attached screenshots where each of the parameters reside in the normal Microsoft Remote Desktop Connection Template Window. (An important note -- I don't currently have a good way of getting the IDs that RDM uses for the Credential Repo and Credential ID -- so it would be great to know a good way to retrieve those.)


Here is what the template looks like when it's exported:
<ArrayOfConnection>
<Connection>
<RDP>
<GatewayHostname>conn.rd_gateway</GatewayHostname>
<GatewayProfileUsageMethod>Explicit</GatewayProfileUsageMethod>
<GatewayUsageMethod>ModeDirect</GatewayUsageMethod>
<NetworkLevelAuthentication>true</NetworkLevelAuthentication>
<PromptCredentialOnce>true</PromptCredentialOnce>
</RDP>
<Color>#FFFF00</Color>
<ConnectionType>RDPConfigured</ConnectionType>
<CredentialConnectionID>conn.credential_repo_id</CredentialConnectionID>
<CredentialDynamicDescription>Basic Access - L1</CredentialDynamicDescription>
<CredentialDynamicValue>conn.credential_id</CredentialDynamicValue>
<ID>conn.template_id</ID>
<OpenEmbedded>true</OpenEmbedded>
<SoundHook>DoNotPlay</SoundHook>
<Stamp>95588b9b-48d2-47fe-b126-b146d6b010ca</Stamp>
<TemplateName>XXXXXXXXXX RDS Gateway</TemplateName>
<Url>conn.host</Url>
<UsesHardDrives>false</UsesHardDrives>
<UsesSerialPorts>false</UsesSerialPorts>
</Connection>
</ArrayOfConnection>
Thanks Again!
Thank you. I will add this to our todo list.
Regards
David Hervieux
Thanks David,
If you could, could you please let me know when you have an idea of when it will be implemented? We have a current project that needs this functionality. This will allow me to decide whether or not I have to solve the problem a different way, for now.
Thanks Again,
Chris
Hi,
This should not be hard to add but we have so many things to do on our list. I hope to have this in February but I can't promise anything. It could be earlier depending of the availability of our resources.
Regards
David Hervieux
Hi Again,
I definitely understand that predicament... For now I'll try and see if there is another way to achieve the same end result. Please let me know if there is anything we can do to assist (testing or whatever that may be).
Thanks,
Chris
Dear Mr. Dye,
The feature you requested will be added in the next update of RDM. The things you have requested will have the following names for the command line :
template_id = TEMPLATE
credential_repo_id = CREDENTIAL
credential_id = DYNAMICCREDENTIAL
database_id = DATASOURCE
datasource_id = DATASOURCE (both database_id and datasource_id have the same result when being inputted in DATASOURCE)
rd_gateway = RDGATEWAY
Therefor the command line will look something like this :
rdm://open?DATASOURCE=your_datasource_or_database_id&TEMPLATE=your_template_id&HOST=your_computer&PORT=your_port&RDGATEWAY=your_gateway_name&CREDENTIAL=your_credential_repo_id&DYNAMICCREDENTIAL=your_selected_credential_id
To obtain the required id's follow these steps :
TEMPLATE -> FILE -> Templates -> Select your template -> Advanced -> Session ID
DATASOURCE & HOST & PORT -> Right click your RDP -> properties -> advanced -> choose Database ID, Datasource ID, Host or Port
CREDENTIAL -> Right click credential repository -> properties -> advanced -> Session ID or Right click RDP -> clipboard -> copy -> preview tab -> find "CredentialConnectionID"
DYNAMICCREDENTIAL -> Right click your RDP -> copy -> preview tab -> find "DynamicValue"
Please take note that if you set the RDGateway value in your template (General -> Connection tab -> Use the RD Gateway server settings) you won't need to give it as a parameter in your command line.
Michaël Beaudin
Thank you! You guys are awesome!