function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Denis O'LearyDenis O'Leary 

Run a Batch File

Hi,

I wanted to Add a button to an Opp page that when clicked would be able to run a file on my server. Is something like this possible? 
@LaceySnr - Matt Lacey@LaceySnr - Matt Lacey
You mean run a batch file locally on the user's machine or run something on a remote server? In the case of the former I don't know of any solution to do that, in the case of the latter your server is going to need to expose a webservice which you could call from javascript fired when the button is clicked. There's nothing standard in Salesforce to perform this kind of operation!