Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 9 Next »

SDDMS is a single application (FuseIT.SDDMS) that has three modes of operation that can be triggered by command line arguments or settings in the config file.

1. Data Export Mode

Choose this mode by specifying "/DataExport" as the first argument. You need to use a Salesforce connection string name and ensure a connection string has been added to the config file.

There are two ways to reference the connection string:

  1. FuseIT.SDDMS.Executable /DataExport
    This uses the default connection string named, "SalesforceConnectionString", in the config file
    It will use the value of "DataExportPath" in config file, as the path where the dataExport zip files will be stored.
     e.g execute this command line (note spaces): FuseIT.SDDMS /DataExport
  2. FuseIT.SDDMS.Executable /DataExport /scs:YourSalesforceConnectionStringName "path"
    This uses your custom connection string with the name in the config file
    e.g execute this command line (note spaces) - FuseIT.SDDMS /DataExport /scs:YourSalesforceConnectionStringName "path"
    where /scs is the required Salesforce connection prefix and
    path is the file directory where the data export files should be saved e.g. c:/Myplace 

Note: If you want to pull schema information then set "pullSchemaInfo" to true in config file. The schema information will be saved with the name 'dataCache' on your file system along with the DataExport zip files at the path specified above.

2. Database Generation Mode

Choose this mode by specifing "/DatabaseGen" as the first argument. To use this mode you must specify SQL connection string in the config file.

There are three ways to use this mode:

  1. FuseIT.SDDMS /DatabaseGen
    This uses the default connection string named, "SqlAdminConnectionString", in the config file to connect to SQL Server. 
    If "useDataCache" is set to true in config file, it will use the dataCache file, else it will use the default connection string named, "SalesforceConnectionString", in config file to get the schema info. 
    It will use the value of "DataExportPath" in config file, as the path where the dataExport zip files are stored.
  2. FuseIT.SDDMS /DatabaseGen /scs:YourSalesforceConnectionStringName /sqlcs:YourSqlConnectionStringName "path"
    This uses your custom connection strings with the names in the config file.
    e.g execute this command line (note spaces) - FuseIT.SDDMS /DatabaseGen /scs:YourSalesforceConnectionStringName /sqlcs:YourSqlConnectionStringName "path"
    where /scs is the required Salesforce connection string prefix,
    /sqlcs is the required SQL Server connection string prefix and
    path is the file directory from where the data export files are saved e.g. c:/Myplace
  3. FuseIT.SDDMS /DatabaseGen /scs:useDataCache /sqlcs:YourSQLConnectionStringName "path"
    If you want to use the dataCache stored on the file system (stored while DataExport) write "useDataCache" in place of YourSalesforceConnectionStringName.
    e.g execute this command line (note spaces) - FuseIT.SDDMS /DatabaseGen /scs:useDataCache /sqlcs:YourSQLConnectionStringName "path"

 

3. Data Export and Database Generation Mode

Choose this mode by specifing "/DataExportAndDatabaseGen" as the first argument. Use Salesforce and SQL Server connection String name and ensure your connection strings have been added to the config file
If you do not want to specify the connection string name only specify the mode:
Four parameters are required when connecting with a connection strings
e.g FuseIT.SDDMS /DataExportAndDatabaseGen /scs:SalesforceConnectionStringName /sqlcs:SQLConnectionStringName "path"

Note:- You cannot use data cache in this mode. But, if you want to pull the schema information in DataExport section and use it while generating database, then set 'pullSchemaInfo' and 'useDataCache' to true in config file.

 

  • No labels