cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Solution Sage
Solution Sage

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
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.

View solution in original post

Okay , thank you @v-shex-msft!

 

I am sure it will help me immensely.

 

Helpful resources

Announcements
secondImage

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

secondImage

Power BI Women

Join our monthly meetings and learning sessions.

secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors