This will cover How to set up the "CPWebhooks.exe" file. First, MiSP will need to temporarily move the .exe file to downloads. This is because windows will not allow to save changes in the "Program Files" folder.


1. Navigate and Select "C:" Drive.

2. Navigate and Select "Program Files" folder.

3. Navigate and Select "move" folder.

4. Select CPWebhooks Folder.

5. Point to "CPWebhooks.exe" file.

6. Select "Move to".

 

CPWebhooks 
Share View 
Cut 
Copy path 
pin to Quick Copy Paste 
shortcut 
access 
Clipboard 
Copy Delete Rename 
Organize 
Easy access • 
folder 
CPWebhooks 
Date modified 
10/16/2019 6:57 PM 
10/16/2019 6-57 PM 
10/16/2019 6:57 PM 
10/16/2019 657 PM 
10 28 2020 _ 
6/1 1/2021 9:06 AM 
8/2/2019 6:12 PM 
10/28/2020 10:28 
11/20/2020 11:17 
10/16/2019 057 PM 
10/16/2019 657 PM 
6/5/2018 11:24 AM 
6/5/2018 1124 AM 
10/16/2020 3:53 PM 
10/11/2019 3:33 PM 
•a Open • 
Edit 
properties 
Open 
Type 
Application extens.„ 
PD3 File 
Application extens.„ 
PD3 File 
lication 
CONFIG File 
INSTALLLOG File 
INSTALLSTATE File 
PD3 File 
Internet Shortcut 
Application extens.„ 
PD3 File 
Application extens.„ 
XML Document 
Text Document 
Application extens.„ 
Select all 
Select none 
Invert selection 
Select 
Size 
15 
44 K 3 
143 KB 
278 KB 
27 G 
13 KB 
78 KB 
213 KB 
706 KB 
5.103 KB 
3,594 KB 
31,386 KB 
32 KB 
o 
Search CPWebhcoks 
x 
o 
J This PC Local Di C:) program Files Rook 
C on JDOMASH- 's 
Desktop 
Documents 
IS Downloads 
Music 
e: Pictures 
Videos 
Local Disk (C) 
I inetpub 
pert Logs 
Program Files 
program Files 
Users 
Windows 
DVD Drive S 
37 items I item selected 
Name 
C3POAbstractdll 
CYO Abstract pdb 
CPHive.Data.dll 
CPHive.Data.pdb 
CPWebHOOks 
CPWebHooks.exe 
CPWebHooks.InstaIILog 
n 
CPWebHooks.lnstallState 
CPWebHooks.pdb 
DockingBay94.dll 
DockingBay94pdb 
EntityFrameworkdll 
'$1 EntityFramework 
@ IGV55.Data.dlI 
1.37 KB

 

7. Select "Downloads" from dropdown.

8. Select "Continue".

 

Next MiSP need update .exe File in "Downloads Folder.

 

1. Navigate and Select "Downloads" folder.

2. Select "InstallCPWebhooks.exe" file.

3. Change "Token" value with "WEBHOOK API KEY" from last section.

 

CPWebHooks.exe • Notepad 
File Edit Format View Help 
<appsettings> 
<add key-"URL" value-" 
(add value "CPzbv 
'R 2EhiZDRIZDk ZiOwODM3LTR "ZWItYTd1NC1kM2M50GM5MGN 'MDdBcGk VG9rzwaam 
<add value " 
(add key="LogSeverity" value= 
--E-Error only, W - Warning, 
(add key-"productwait" valuez"løø" 
- aøø" 
D - Detail, V - 
Verbose 
These settings are required to support multiple instances of the CPWebHooks service on the same machine--> 
<add key="ServiceName" value="CPWebHooks - CPHive7 CPApiv5" 
(add key="Disp1ayName" for ipaas - CPHive7_CPApiv5" 
</appsettings> 
(supportedRuntime sku=" 
</startup> 
(connectionstrings> 
<add name-"counterpoint" connectionstring-"user security Info-False;lnitial catalog-DBName;Data source-server" 
< / connection* rings > 
(runtime) 
<assemb1yBinding 
(dependentAssemb1y> 
<assemblyldentity name-"Restsharp" publicKeYToken-"598ø62e77f915f75" culture-"neutral" 
(bindingRedirect 
</assemb1yBinding> 
</runtime> 
< / configuration)

 

 

4. Scroll to "<connectionstrings>".

5. Pay attention to "<add name>" portion.

6. Change "User ID" value to a user of the CP Microsoft SQL Server.

7. Change "Password" value to a password of a user of the CP Microsoft SQL Server.

8. Change "Initial Catalog" value to the database name of the CP system.

9. Change "Data Source" value to server name of the CP system.

 

 

 

 

 

10: Save File.

 

Now MiSP will need to move file back to "CPWebhooks"folder.

 

1. Navigate and Select "Downloads" folder.

2. Point to "CPWebhooks.exe" file.

3. Select "Move to".

4. Select "choose location" from dropdown. 

 

Home 
Share 
Copy path 
Pin to Quick Copy Paste 
Move 
Paste shortcut 
Clipboard 
ThisPC Downloads 
Copy Delete 
Organize 
Rename 
Easy 
New 
folder 
Date modified 
5/10/2021 11:33 A., 
7/26/2021 12:16 PM 
7/22/2021 9:49 AM 
6/11/2021 9:06 AM 
7/22/2021 9:50 AM 
open 
Properties 
Open 
CONFIG File 
Shortcut 
Compressed (zipp... 
CONFIG File 
Compressed (zipp... 
select all 
Select none 
Inven selection 
Select 
15 KB 
3,909 KB 
22725 G 
Search Downloads 
* Quick access 
Desktop 
Downloads 
Documents 
Pictures 
CPHive 
CPHive 
CPWebhooks 
Scripts 
This pc 
C on JDOMASH_ 
Desktop 
Documents 
Downloads 
Music 
Pictures 
Videos 
Local Disk (C:) 
inetpub 
Pert Logs 
Program Files 
Program Files ( 
Windows 
Name 
Web 
Documents - Shortcut 
CPWebHoo ks.exe

5. navigate to and select "CPWebhooks" folder.

6: Select "Move".

7. Select "Continue".

 

 

CPWebhooks.exe File is now moved back to "CPWebhooks" folder.

 

Now MiSP will need to run the "InstallCPWebhooks.bat" file.

 

1. Search for "Command Prompt" in "Windows" Server.

2. Right-click "Command Prompt".

3. Select "Run as Administrator".

 

A" Apps 
Best match 
Documents 
Web 
More 
Command Prompt 
Search work and web 
cm - See work and wet 
p cm 
Run as administrator 
Open file ocation 
pin to Start 
Pin to taskbar 
Command Prompt 
Open 
Run as administrator 
Open file ocation 
pin to Start 
Pin to taskbar 
PM 
M 
PM 
M 
M 
M 
M 
M 
PM 
M 
Type 
Tot O u 
Applicat+' Ott 
CONFIG File 
File 
CONFIG File 
INSTALLLOG 
Application 
Applicatim 
XML Document 
Applicat+' Ott 
XML Document 
Application 
CONFIG File 
pog File 
Tot

 

4. Navigate back to "CPWebhooks" folder.

5. Right-Click "CPWebhooks" in the address box.

6. Select "Copy address".

 

CP.-VebhOOkS 
View 
Copy path 
"n to Quick Copy Paste 
Copy Delete 
Rename 
shortcut 
access 
Clipboara 
Organize 
Thi,pc , 
Easy access • 
* Quick 
loads 
—J P i ctures 
This pc 
Network 
COL-LAPIO 
COL-STATOI 
COL.STAT16 
COL-STATIO 
COL-STAT44 
COL-STAT" 
COL.STAT58 
COL.STAT5g 
COL-STATO 
COL-STATQ 
COL.STAT63 
C3PO.Abstr"t. d Il 
ct. pdb 
CPHive.Data.dll 
cpwebHocks 
CPWebHc-oks.lrstallLog 
CPWebHooks 
CPWebHOOkS pdb 
cpwebhooks 
Entityf dll 
E "Log 
IGvss.Data.dll 
, pdb 
Installutil 
InstallUtilLib.dll 
Newtonsoft.Json d Il 
Date modified 
6:57 P 
10/16.'20196;57PM 
10/28,'2020 1&28 
1:24 PM 
vg/2021 IQS PM 
8/9/2021 
10/28/2020 10:28 
657 PM 
11;24AM 
10/15,'2ceo 3:53 PM 
10/11/2019 3:33 PM 
7/23/2019 223 PM 
10/11/2019 PM 
4/26,'2019'15 PM 
4/11/201805 PM 
g,G/2021 1:29 PM 
11/9/2019 
Open 
Copy address as tot 
Edit 
POB File 
Appliation 
CONFIG File 
INSTALLLOG File 
INSTALLSTATE File 
pos File 
InWnet Shortcut 
Appliation 
POE File 
Appliation 
XML 00 cument 
Text Document 
AP-pliation 
CONFIG File 
poe File 
Batch File 
Application 
CONFIG File 
INSTALLLOG File 
Appl.ation 
Select none 
278 
27 
78 KB 
213 
706 Kg 
31,386 
32 KB 
82 Kg 
10 Kg 
sec KB

 

7. Navigate  to "Command Prompt".

8. Type in cd  into "Command Prompt".

9. Paste address(Ctrl+V) into Command Prompt.

10. Type in InstallCPWebhooks.bat into "Command Prompt".

 

Command Pmmpt 
icrosoft "incons L Version 
(c) 2e16 microsoft Corporation. All rights 
• C: XProgram• is not recognized as an internal or external cc—land, 
perable program or batch file. 
: \Program 
ns a 
00 s.

 

11. Click "Enter".

12. Once script runs, click "Enter again".

13. Search and select "Services".

14. Right-click "CPWebhooks for iPaaS.com".

15. Select "Start".


Note: if “CPWebhooks for iPaaS.com" is not in services, There is a problem with the CPWebhooks.config file setup. MiSP will need to fix that file, then rerun "InstallCPWebhooks.bat".