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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
tanito
Frequent Visitor

Custom Connector Selection Field

Hello,

 

I am currently developing a custom connector.
Is it possible to create a selection field like the "Count" in the Hello World Sample Connector:

tanito_0-1715949864158.png

 


In this selection field, however, should the selection values be generated dynamically.
Specifically, the possible values should result from a result of a NativeQuery from a database and, for example, map the schemas of a database.

 

Is it also possible to create several selection fields and make their results dependent on each other?
For example, I want to select a schema in the first field and a table that exists in this schema in the next step.

Thank you very much!

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@tanito In the sample, the record is hard coded but there is no reason why you shouldn't be able to make this dynamic but I will have to test. As long as you bring the data back as a record (single field). Documentation.AllowedValues = {1, 2, 3} <-- this is an ad-hoc record

 

For the second part, making them dependent on one another, I don't think that is possible given what they have exposed via the UI, which is very basic. It might be better to instead build the hierachy as part of the Navigator dialog if possible. 


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

1 REPLY 1
Greg_Deckler
Super User
Super User

@tanito In the sample, the record is hard coded but there is no reason why you shouldn't be able to make this dynamic but I will have to test. As long as you bring the data back as a record (single field). Documentation.AllowedValues = {1, 2, 3} <-- this is an ad-hoc record

 

For the second part, making them dependent on one another, I don't think that is possible given what they have exposed via the UI, which is very basic. It might be better to instead build the hierachy as part of the Navigator dialog if possible. 


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors