cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
namsor Frequent Visitor
Frequent 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
CAOP Frequent Visitor
Frequent Visitor

Re: Customizing custom connector datasource path evaluation for credentials

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
Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Summit Australia 2019

Summit Australia 2019

Travel to Melbourne and network with thousands of peers!

Top Ideas
Top Kudoed Authors
Users Online
Currently online: 281 members 2,953 guests
Please welcome our newest community members: