Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 The following ways can be used 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 specifying "/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 modeThe following ways can be used to reference the connection string:

  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 storedIt will use the value of "DataExportPath" in config file, as the path where the dataExport zip files are stored.
    e.g execute this command line (note spaces) - FuseIT.SDDMS /DatabaseGen
  2. FuseIT.SDDMS /DatabaseGen /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 /sqlcs:YourSqlConnectionStringName "path"
    where /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. Data Export and Database Generation Mode

Choose this mode by specifying "/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

The following ways can be used to reference the connection string:

  1. FuseIT.SDDMS /DataExportAndDatabaseGen
    This uses the default connection strings named, "SalesforceConnectionString" and "SqlAdminConnectionString", in the config file.
    It uses the values of all the other required parameters from the config file.
    e.g execute this command line (note spaces) - FuseIT.SDDMS /DatabaseGenDataExportAndDatabaseGen
  2. FuseIT.SDDMS /DatabaseGen DataExportAndDatabaseGen /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 DataExportAndDatabaseGen /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

4. Web Application Generation Mode

Choose this mode by specifying "/WebAppGen" as the first argument.

The following ways can be used to reference the connection string:

  1. 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 YourSalesforceConnectionStringNameWebAppGen
    This uses the default connection string named, "SqlAdminConnectionString", in the config file to connect to SQL Server.
    e.g execute this command line (note spaces) - FuseIT.SDDMS /WebAppGen
  2. FuseIT.SDDMS /WebAppGen /sqlcs:YourSqlConnectionStringName
    This uses your custom connection string with the name in the config file
    e.g execute this command line (note spaces) - /WebAppGen /sqlcs:YourSqlConnectionStringName
    where /sqlcs is the required Salesforce connection prefix

Note:- The values of "appEdmFolder", "modelName" and "webApplicationProject" from the config file nested in appSettings section are required for this mode. 

5. Database Generation and Web Application Generation Mode

Choose this mode by specifying "/DataBaseGenAndWebAppGen" as the first argument.

The following ways can be used to reference the connection string:

  1. FuseIT.SDDMS /DataBaseGenAndWebAppGen
    This uses the default connection string named, "SqlAdminConnectionString", in the config file.
    e.g execute this command line (note spaces) - FuseIT.SDDMS /DataBaseGenAndWebAppGen
  2. FuseIT.SDDMS /DataBaseGenAndWebAppGen /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:useDataCache DataBaseGenAndWebAppGen /sqlcs:YourSqlConnectionStringName "path"

 

...

  1. where /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

6. Data Export, Database Generation and

...

Web Application Generation Mode

Choose this mode by specifing specifying "/DataExportAndDatabaseGenCompleteGen" as the first argument. Use Salesforce and SQL Server connection String name and ensure your connection strings have been added to the config fileThere are two ways to use this modeas the first argument. 

The following ways can be used to reference the connection string:

  1. FuseIT.SDDMS SDDMS /DataExportAndDatabaseGenCompleteGen
    This uses the default connection strings named, "SalesforceConnectionString" and "SqlAdminConnectionString", in the config file.
    It uses the values of all the other required parameters from the config file.
    e.g execute this command line (note spaces) - FuseIT.SDDMS /DataExportAndDatabaseGenCompleteGen
  2. FuseIT.SDDMS SDDMS /DataExportAndDatabaseGen CompleteGen  /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 /DataExportAndDatabaseGen CompleteGen /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

Note:- if you want to use data cache in this mode, set 'pullSchemaInfo' and 'useDataCache' to true in config file.

...