Using Variables and Macros/Scripts

Using Variables and Macros/Scripts

avatar

I want to use RDM to assist in developing / testing / supporting a website application. Rather than duplicate multiple logins for each site (with a different host URL), is there a way to prompt the user for a website, save the user's response in a custom variable and then set the host URL to that variable?

Pointers to forum / blog entries and/or white papers would be helpful. Thanks

All Comments (6)

avatar

Hello Sue,
As far as I know it's not possible. I don't even know how we could support this with our current architecture.

Sorry about that.

Regards

David Hervieux

avatar

I've thought of something. Perhaps you could create a template and use the Quick connect with the template. The quick connect textbox will be used as your prompt for the host.

Regards

David Hervieux

avatar

Thanks for the suggestion. I haven't explored Quick Connect yet. There are so many ways to do things in RDM, it's very hard to figure out the best way to do things.

I believe I solved my desire to reduce the number of Host / Credential pairs, by creating one session for each host, and then prompting the user for a credential. Obvious, now, but it took me a long time to discover that you could prompt for a credential. It would be nice to tie a list of credentials to a session, but ..... It can be done with a Security Group for each Session, but that seems like overkill.

As for the Custom Variables, they seem to be lots of them, but I don't know what the rules are that govern which fields can receive the values of the Custom Variables. So far none of them get substituted.

Sue

avatar

Hello again,

Quick connect, obviously, doesn't have all the other settings that I want for the session.

I'v actually figured out a better approach. Configure a session for each host, with all the settings I want, then prompt for the credential. Seems obvious, I know. But I have different User IDs for each host and I'd rather not have the user figure out which UserID goes with which Host. So I can group the UserIDs in a folder for each Host. But the list of UserIDs is long.

What about this as an enhancement. When I enter the name of a credential, if I put in the name of a folder, then just list those credentials in that folder. Not the behavior is to prompt with the whole list when the credential name is not found. Or perhaps RDM could try a search on the "unfound" credential name. That would allow us to set a subset of credentials for any given session. That shouldn't be too difficult to implement, although given time constraints every new enhancement is difficult.

avatar

Hello,


Quick connect is extremely powerful when used with shared templates, more on that in User Interface > Top Pane > Quick Access Toolbar > Quick Connect

When you set sessions to use the Credential Repository, the first value in the drop down is "--- Prompt on connection ---", when you select that, a blue hyperlink labelled All appears below the dropdown. This is a control that allows you to select a Folder. This will make it so only credentials from that folder are offered instead of the whole list.

As per your approach, you would have a Folder containing a single host entry and multiple credential entries.


Best regards,

Maurice

avatar

Wow,

That's tremendous. You guys already thought of and implemented the selecting credentials from a folder. Thanks.