Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Alteryx App - Multiple usernames & Password and Constant SQL Query

Eswaran
8 - Asteroid

Hi,

I want to make an Alteryx App in which I want to make changes in the username & Password Field not in SQL Query when connecting to the source. Since SQL Query is constant, the same Alteryx app is used by multiple users. SQL Query is constant whoever is using.

How do I achieve this?

 

5 REPLIES 5
alexnajm
18 - Pollux
18 - Pollux

You can use two Text Box tools for users to insert a username and password, and then that would pass through into the connection string you have. Without knowing the connection string it'd be hard to advise any more, but that would ensure their credentials pass through!

Eswaran
8 - Asteroid

Could you please share some sample flow?

alexnajm
18 - Pollux
18 - Pollux

The problem is it highly depends on the database you are connecting to (SQL Server, Snowflake, etc.), how you are connecting to that database (Input Tool vs In-DB or Server connections), what connecting string is created, etc. Here's a very general sample:

Alteryx App - Multiple usernames & Password and Constant SQL Query snap.PNG

Eswaran
8 - Asteroid

Thanks !!!! It Works.!!!!!!!

alexnajm
18 - Pollux
18 - Pollux

Fantastic news!

Labels
Top Solution Authors