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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ECorona
Advocate I
Advocate I

Is there a way to set a default value to a function documentation text box for a custom connector?

I'm making a custom connector, but my user will use only one server (each user has is own server), so I'm wondering if there's a way to set a default value from code to the text box? (or any way to pass from a text file), so my user would not need to type the URL every time he uses the connector and star the authentication process?

ECorona_0-1705197434299.png

SetupServerTemplate = type function (

     url as (
        Uri.Type meta [
            Documentation.FieldCaption = "Server URL",
            Documentation.FieldDescription = "The URL server"

        ]
    )
) as function meta [
    Documentation.Name = "My custom connector",
    Documentation.FieldDescription = "Connector to retrieve data from the server"
];

 

I have in mind that probable I can use something like: 
Source = File.Contents("C:\Users\TheUser\Documents\MyServer.txt"),
TheServer= Text.FromBinary(Source)

Documentation.AllowedValues = TheServer

But seems that is not possible to read files from a custom connector

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @ECorona,

I'd like to suggest you take a look at the following link to setting the parameter in your connection strings in dropdown list format.

Custom Data Connector UI - Dropdown list - Microsoft Fabric Community
Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @ECorona,

I'd like to suggest you take a look at the following link to setting the parameter in your connection strings in dropdown list format.

Custom Data Connector UI - Dropdown list - Microsoft Fabric Community
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.