While building a custom connector using the CDK I found it time consuming to have to manually stop the SCRIBE Agent service, copy the connector .dll to the connector folder in the agent folder and restart the service. To over come this I added some pre and post build functions to my project in Visual Studio. Here is how you setup your development environment to automate all this:
1) Right click on your project and go to properties.
2) On left side go to Build Events.
3) In "Pre-build event command line" input this:
Replace AGENTNAME with the name of your agent and CONNECTORNAME with the name of the folder where you place the DLL file.
What this will do is stop the service, build your connector, copy your connector to the agent folder and then start the service.
1) Right click on your project and go to properties.
2) On left side go to Build Events.
3) In "Pre-build event command line" input this:
1: net stop "Scribe Online Agent"
2: Exit /b 0
4) In "Post-build event command line" input this: 1: copy /Y "$(TargetDir)$(ProjectName).dll" "C:\Program Files (x86)\Scribe Software\AGENTNAME\Connectors\CONNECTORNAME\$(ProjectName).dll"
2: net start "Scribe Online Agent"
Replace AGENTNAME with the name of your agent and CONNECTORNAME with the name of the folder where you place the DLL file.
What this will do is stop the service, build your connector, copy your connector to the agent folder and then start the service.
Those rules moreover attempted to wind up plainly a decent approach to perceive that other individuals online have the indistinguishable enthusiasm like mine to get a handle on incredible arrangement more around this condition
ReplyDeleteBest CRM System
The sanctuaries of South India were choice pearls. The Jagannath Temple in Puri was a hotbed of events as it facilitated petition functions, revering meetings, reciting meetings and even relationships inside its premises. cannabis event nyc
ReplyDeleteThanks for publishing such great information. You are doing such a great job. This information is very helpful for everyone. Keep it up. Thanks. Artist Studio For Rent Montreal
ReplyDelete