Open this page in the API Guide

DataConnectorDialog.applyDefaultsToUI Method

Calling this will apply the defaults from the data connector to the UI.