Specifying parameters that can be used in SQL queries, connection strings and file paths allows you to use a single Sync file for multiple 'organisations' in Phocas. These , with the result that the same a different organisationSelect
Midnight phocasphocaslocalhostSyncParamsFilelocalhostphocas_testing_salesMysource entity_1cat_3,cat_4,cat_5
Data item types that reference parameters
- SQL
- File
- Directory.
Defining parameters
in SyncSelect the Add button to create a new parameter and a value into the table, noting that: can not can not in valuesParameters can then be used - e.g. defining a database connection:
Parameter substitution parameter * Examples of the
using parameters:
Path to sync file
-r "c:\temp\new sync\sqlparameters.sync"
Server connection switches
-user "phocas"
-password "phocas"
-service "http://localhost"
-source "ParametersBro"
Substituted parameters
- “localhost“phocas_testing_salesentity_1cat_3,cat_4,cat_5"substituting a number of items Example of arguments as entered into the arguments theme