Specifying Defaults For Data Providers

Defaults for data providers can be specified by creating a preference file in your preferences folder, which on the Mac can be found at:

on Windows it can be found at (although it depends on the version of Windows):

The file should be created using a text editor (such as Notepad or TextEdit) and saves as text (not formatted, such as RTF).  If the ’65bit Software’ folder doesn’t exist it should also be created.

The content of the file should be:

The <scope> node specifies the data provider that the child <value> nodes refer to.  Valid scopes are:

ScopeData ProviderModule
AdamAdamEnterprise Module
ElvisElvisEnterprise Module
Catalog CloudSales LayerEnterprise Module
SalsifySalsifyEnterprise Module
RelationalRelationalRelational Data Provider
File(Delimited) FilesEasyCatalog
Google SpreadsheetGoogle DocsEasyCatalog

The key attribute on the <value> node specifies the setting to modify, and these match the keys that can be provided to the setOption scripting call.

Overriding Defaults

An “EasyCatalog Preferences.xml” file can also be stored in the EasyCatalog Workspace folder.  EasyCatalog will first load the file from the user’s preferences folder (if present) and then from the Workspace folder.  The Workspace folder settings are loaded in addition to the user’s preferences settings, so these can be used to provide overrides for  settings depending on the workspace folder that’s being used.

First available: build 13612