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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
rajulshah
Super User
Super User

Different controls that can be used in custom connector using M Language

Hello everyone ,

 

Can anyone please guide me on how to show different controls on custom connector ( For eg : Checkbox, Radiobutton, Text Area, Expand/Collapse, Textbox with password type) using M language?

 

Also , it would be helpful if there's anything regarding how to pass parameters in textboxes or how to handle 'optional' datatype.

 

Any documentation or tutorial will be helpful on any one of these controls.

 

Thanks in advance.

1 ACCEPTED SOLUTION

Hi @rajulshah,

 

For custom connector, you can refer to below link:

Data Connector SDK Developer Preview

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

4 REPLIES 4
v-shex-msft
Community Support
Community Support

Hi @rajulshah,

 

>>Can anyone please guide me on how to show different controls on custom connector ( For eg : Checkbox, Radiobutton, Text Area, Expand/Collapse, Textbox with password type) using M language?

Power query(M) not programming language, so you can't use it to customize your connector.

 

>>Also , it would be helpful if there's anything regarding how to pass parameters in textboxes or how to handle 'optional' datatype.

If you means define custom parameter as a optional parameter, you can define it with 'optional' prefix, then power query will recognize it as an optional parameter.

 

Sample:

 

let
    Source=(abc as text,optional option as number) => abc&option
in
    Source

7.PNG

 

 

Regards,

Xiaxoin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Okay , thank you @v-shex-msft

 

That means I won't be able to customize my custom parameter , right?

 

Although , can you please share where can I get tutorial of M language for custom connectors in Power BI?

 

Thanks a lot!

Hi @rajulshah,

 

For custom connector, you can refer to below link:

Data Connector SDK Developer Preview

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Okay , thank you @v-shex-msft!

 

I am sure it will help me immensely.

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.