Ordering Data Provider Properties in UI

Hi

I have a custom data connector created with the .NET framework. The properties I need for the connection are defined in IReadOnlyList<Dundas.BI.Data.DataProviders.ProviderProperty>.

I want to order the data provider information in the UI when the user edits the connector. At present they are being sorted in alphabetical order, ‘API key’ coming before ‘URL’.

Where can I define the sort order? I can’t find anything in the ProviderProperty object

Thanks

Start by telling the control you want to have a custom UI

public override bool HasCustomConfigurationUI
{
get { return true; }
}

Then you can implement the following function to which returns HTML to allow you to control the UI.

public override string GetCustomConfigurationUI(System.Net.Mime.ContentType contentType)

Thanks Jeff

Grabbed the HTML from the console and modified it. All working fine.

Smart Idea!! i wish i thought to suggest that.

This GetCustomConfigurationUI method offers a lot of control but if you want a fully customized experience then there will be a lot of HTML/JQUERY required. Sometimes even dynamic HTML.

Copying the existing with a slight modification is a great idea and will save you… days?