Options

"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

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,507 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
  • Options
    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.