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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
namsor
Regular Visitor

Customizing custom connector datasource path evaluation for credentials

Hi! New to PowerBI connector development. 

 

We have a working prototype for appending gender to any table with firstName, lastName - based on an external API. We need to set the parameters as mandatory for the UI to prompt a nice form asking for a firstName, lastName to connect. But if we do so, then the API Key credential is based on a datasource path that includes the firstName/lastName (ex. /John/Smith) so we'd need to re-enter credentials if we want to infer gender from -say- /Andrea/Rossini. 

 

To make it work, we've put all parameters as optional and so it works. But there's an annoying error when we try to connect with default parameters as null. Is there a way to circumvent this? 

https://github.com/namsor/namsor-powerbi-connector/issues/2

 

Ideally we'd like to get rid of that 'Unable to Connect' error to make it simpler

https://github.com/namsor/namsor-powerbi-connector/wiki/PowerBI-Gender-API-Connector

 

Other than that, we've managed to get a connector working taking data as input and producing outputs in a matter of a few days. The framework is great! 

1 REPLY 1
Anonymous
Not applicable

Hi,
I am also starting building a custom connector to retreive data from an API. Did you manage to figure out how to handle user input?

Kind Regards

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.