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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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