Reputation: 263
I have developed a windows application which extracts the required data from a web site and stores data in crm. Now i have added a button on ribbon , from which i want to call the windows application. I'm able to do this using below code
function resume()
{
var _Object=new ActiveXObject( "WScript.Shell" ) ;
_Object.Run("C:\\ResumeGrab\\ResumeGrab.exe" );
}
The problem now i'm facing is, the button is working only in local system. I want to run this application from any system using the crm. I tried copying the .exe file in server and tried to run it , but when i tried its only running in server but not in any system. How to make this application run in multiple system without needing the .exe file copied in local system on click of button on ribbon in crm 2011.
Upvotes: 0
Views: 1087
Reputation: 18895
As long as everyone has access to it, I'd think putting it on a network share would be a little easier than trying to deploy it to every client machine.
Upvotes: 0
Reputation: 968
I have used "web deploy" a couple of times in situations like this.
Upvotes: 0
Reputation: 3878
Can't you redevelop it as a web service and invoke the servie from the button click?
Upvotes: 0
Reputation: 8079
Unfortunately your client machines will need the .exe
. I worked on a project where the employees of the company had to be able to run an application when a button on the ribbon was clicked and this is how we went about it.
So just an extra deployment step! Copy .exe
to c:\ResumeGrab
on client machines.
Upvotes: 1