Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

"Using macro to set database parameter"

EMDuellEMDuell Member Posts: 21 Contributor II
edited June 2019 in Help
Hello,

I would like to use a macro to set parameters in my database connection that is published on a RapidAnalytics server - for example, I would like to be able to have the string published, but modify a parameter like oauthaccess token at runtime.

I attempted to use %{oauthaccesstoken} in the database connection setup on the server, and then to set that macro in RapidMiner locally when it run, but it throws an error.

Does anyone know if this is possible?

Thanks,
Eric

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,528 RM Data Scientist
    As an Idea:

    If there are just a few options, you might try Select Subprocess and control that one with a macro?
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • EMDuellEMDuell Member Posts: 21 Contributor II
    Hmmm...I think the problem is that I don't know how to access the parameters in the connection string from an operator while the process is running on the server AND/OR the connection string won't accept macros as entries in the advanced settings value boxes.

    Is there anyone who has tried to do this?
Sign In or Register to comment.