Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
ECorona
Advocate I
Advocate I

Is there a way to preserve preferences in a custom connector to save the DataSource URL?

I'm making a custom connector, my final user usually uses the same Server everytime he uses the connector, but he need to type the URL everytime, the thing is, the URLs are really hard to remember for a human. So, I'm wondering if there's a way to save "preferences", my idea is if the user can sign-in sucessfully then save the URL somewhere, so, the next time the user uses the connector does not need to type (or copy-paste in my case) the URL.

 

I cannot save the the URL as hardcoded string in my source code, because, the connector is distributed to my final users and each of them has their own URL where they extract the data. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @ECorona,

Current custom connector does not support these, you can't use it to cache data or stay connection string data as default value.
For your requirement, I'd like to suggest you create a global credentials to cache to the locate. Then you can choose it to use as credentials in your data connector.

Authentication with a data source - Power Query | Microsoft Learn

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @ECorona,

Current custom connector does not support these, you can't use it to cache data or stay connection string data as default value.
For your requirement, I'd like to suggest you create a global credentials to cache to the locate. Then you can choose it to use as credentials in your data connector.

Authentication with a data source - Power Query | Microsoft Learn

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.