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:

wdt_ID Scope Data Provider Module
1 Adam Adam Enterprise Module
2 Elvis Elvis Enterprise Module
3 Catalog Cloud Sales Layer Enterprise Module
4 Salsify Salsify Enterprise Module
5 Relational Relational Relational Data Provider
6 File (Delimited) Files EasyCatalog
7 Excel Excel EasyCatalog
8 Google Spreadsheet Google Docs EasyCatalog

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