Forum Discussion
Snowflake update datasource API
- 3 years ago
That's weird but it look like you have an error in your code that make the request. if you want to make it easier for the text in the parameter try entering data in a new table with two columns. One of them is going to be the name of the environment and the second column the server name. If you need a third one for db name you can also create it. Then create a parameter that will filter the table with environment name.
Now for regular tables just take the first row in the entered data table to complete de server.
That way you can add new environments or change them dynamically in a more secure way.
I hope that make sense
You are not able to update the data source.
When you use parameters to configure the connection. You are not able to update the paramaters through API calls. The data source is snowflake.
Parameters:
Even in the Power Bi portal, the parameters cannot be edited, the fields are disabled.
That's weird but it look like you have an error in your code that make the request. if you want to make it easier for the text in the parameter try entering data in a new table with two columns. One of them is going to be the name of the environment and the second column the server name. If you need a third one for db name you can also create it. Then create a parameter that will filter the table with environment name.
Now for regular tables just take the first row in the entered data table to complete de server.
That way you can add new environments or change them dynamically in a more secure way.
I hope that make sense