To download the Multi-CDP Service installer, click here: multiCDP.zip.
The CDP Service installer script must be run by an Administrator.
If an Application User has not been defined with a User ID and Password specifically for use by the CDP, then one must be created in Enterprise Manager.
If “Use Complex Passwords” is enabled in Enterprise Manager then passwords may be case-sensitive. If so, this password must respect that setting; otherwise it must be all lowercase. See the Help in Enterprise Manager regarding Password and User Security for info more about complex passwords.
Recommendation: In the Franchisor’s environment, create a generic CDP USER in Enterprise Manager specifically for the purpose of being associated with files processed via the CDP. We recommend that userid & password = “cdpuser”. (This is the default in the cdp.ini file.)
For security purposes, assign this user to a User Group with only the following access permissions enabled:
Application Users > Link to all Locations – Required to process some location-specific imports.
Application Users > Link to all Markets – Required if importing Vendor Bid files.
Package Types > Add/Delete/Save – Required if file includes a Package Type that currently doesn’t exist.
This user will be valid for CDP processing but will not be able to log in to the applications.
Steps to Install
1
To extract contents, right-click on the multiCDP.zip folder and select Extract All.
1
To extract contents, right-click on the multiCDP.zip folder and select Extract All.
2
In the pop-up, Browse to select the desired destination folder (if necessary), then select Extract.
3
In the CDP_Service_Source folder, open the cdp.ini file.
A
userid and password: Verify the User ID and Password for the “CDP User” is defined as recommended in the Need to Know section on the previous page. If you used something other than “cdpuser” for either, edit those entries here.
A
userid and password: Verify the User ID and Password for the “CDP User” is defined as recommended in the Need to Know section on the previous page. If you used something other than “cdpuser” for either, edit those entries here.
This User ID will be associated with certain imported records, such as Vendors, Company Products, Recipes, Recipe Location Data, Employee Information, and Labor Actuals.
Note
The CDP_Service_Source folder and file structure is used as the source to create the multi-CDP folder and file structure. The userid & password above will be the default for each instance created.
4
In the multiCDP folder, right click on the create_cdp_service_loop.bat file and select Run as administrator.
5
A pop up will ask if you want to allow this app to make changes to your computer. Select Yes.
6
You will be prompted to enter the following values; press the Enter key after entering each:
startNum – The number you want to assign to the first folder you create.
incrementNum – The number of folders you want to create.
Note: In this example, the first folder will be CDP_Service_1, and you will create 5 folders.
A create_output.log file will be generated if the script fails. For example, this will occur if you double-click the file instead of choosing “Run as administrator” as directed in Step 4 above.
7
The CDP_Service_N folders should now be in the multiCDP folder. (‘N’ = the unique folder #)
8
In each CDP_Service_N folder, you can now update the cdp.ini file as needed. At the very least, you will need to enter the following parameters:
A
URL: Enter the actual Net-Chef website or IP address for the URL; do NOT include the “https://” portion. (Example: crunchtimecafe.net-chef.com)
B
sitename: Enter the web site name of your Net-Chef web site (this is the portion of the URL before “.net-chef.com”). This entry, along with the URL, validates the correct site that data should be uploaded to/downloaded from. (Example: crunchtimecafe)
8
In each CDP_Service_N folder, you can now update the cdp.ini file as needed. At the very least, you will need to enter the following parameters:
A
URL: Enter the actual Net-Chef website or IP address for the URL; do NOT include the “https://” portion. (Example: crunchtimecafe.net-chef.com)
B
sitename: Enter the web site name of your Net-Chef web site (this is the portion of the URL before “.net-chef.com”). This entry, along with the URL, validates the correct site that data should be uploaded to/downloaded from. (Example: crunchtimecafe)
Tip
Within the cdp.ini file, the upload/download/export directory is using relative path; this should stay ‘as is’ for ease of use and to reduce maintenance.
Steps to Start Each CDP Service
By default, the CDP services you just created will be disabled. You will need to start each CDP service as needed. Follow the steps below to display the Windows Services app.
1
In the Search bar, type ‘serv’.
2
At the top of the window, select Services.
1
In the Search bar, type ‘serv’.
2
At the top of the window, select Services.
The Windows Services app will display.
The service names will correspond to the names of the CDP_Service_N folders. To start each CDP Service, you must first update the Startup type within the service Properties.
1
Right click on the create_cdp_service_loop.bat file and select Run as administrator (similar to step 4 in the previous “Steps to Install” section of this document).
2
You will be prompted to enter the following values; press the Enter key after entering each:
3
Select Apply.
4
Then select Start.
1
Right-click on a service and select Properties.
2
In the Properties window, on the General tab, select Automatic as the Startup type.
3
Select Apply.
4
Then select Start.
Usage Guidelines
The parent “multiCDP” should be used just for ONE client (e.g. One Franchisor and its multiple Franchisee entities).
Each CDP_Service_N folder should be used for ONE Franchise entity, for instance:
CDP_Service_1, can be used for the Franchisor.
CDP_Service_2, can be used for Franchisee-002.
CDP_Service_3, can be used for Franchisee-003, etc.
Caution
The CDP_Service_N folders should NOT be renamed. This means you need to manually track which folder corresponds to which franchise entity.
Note
(For FTP end point): Each franchise entity should have its own file upload end point to avoid any issues and ease of troubleshooting/maintenance: e.g.: “\multiCDP\CDP_Service_1\out”.
Additional Steps as Needed
To Add/Create more CDP folders
1
Right click on the create_cdp_service_loop.bat file and select Run as administrator (similar to step 4 in the previous “Steps to Install” section of this document).
2
You will be prompted to enter the following values; press the Enter key after entering each:
2
You will be prompted to enter the following values; press the Enter key after entering each:
startNum – The number you want to assign to the next folder you create.
incrementNum – The number of additional folders you want to create.
Note: In this example, you will create 5 more folders labeled CDP_Service_6 to CDP_Service_10.
A create_output.log file will be generated if the script fails. For example, this will occur if you double-click the file instead of choosing “Run as administrator” as directed in Step 1.
To Delete CDP Services and folders
1
Right click the delete_cdp_service_loop.bat file and select “Run as Administrator”.
2
You will be prompted to enter the following values; press the Enter key after entering each:
startNum – The number of the first folder you want to delete.
incrementNum – The number of folders you want to delete.
Note: In this example, you will delete folders CDP_Service_6 to CDP_Service_10 that you created in the previous example.
A delete_output.log file will be generated if the script fails. For example, this will occur if you double-click the file instead of choosing “Run as administrator” as directed in Step 1.