Retrieve the AFAS Remote tool and record settings
You place the tool on the system on which you want to run it and you specify the settings.
Contents |
Retrieve the AFAS Remote tool (once only)
You need the AfasRemoteCmd.exe tool to be able to use AFAS Remote.
To retrieve the AFAS Remote tool:
- You can retrieve the tool in two ways:
- Local installation
The tool is in the following location:
\Program Files (x86)\Profit\AFAS Windows\Kernel\Bin\AfasRemoteCmd.exe
- Download (AFAS Online)
Download the tool from the AFAS website. This is a zip file; you must extract it. This tool is suitable for Profit 2016.2.08 and later updates. Use the Dutch Help Page to download the tool.
- Local installation
- Place the tool on the system that you will use to run command lines.
Example:
You are going to run AFAS Remote from a local server.
Create the C:\AfasRemote folder.
Place the AfasRemoteCmd.exe tool in this folder.
If you add a token at a later stage, also place token.xml in this folder.
Generate a settings file
If you perform these steps for the first time, the tool creates a settings file on your local system.
If you get a new token, follow these steps to register the new token in the settings file. The token is encrypted and stored here.
To generate a settings file:
- You must log on to the system on which afasremotecmd.exe resides, using the user name of the default user of the Command Line Utility.
- Create a batch file with the following content:
AfasRemoteCmd.exe /O"<environment name>" IMPORTTOKEN /F"Token.xml"
Example:
Environment name: O12345AA
File location: C:\AfasRemote
Command line:
C:\AfasRemote\AfasRemoteCmd.exe /O"O12345AA" IMPORTTOKEN /F"C:\AfasRemote\Token.xml"
Change web services URL
The settings file contains the URL of the Profit Web services.
To change the URL of the Profit Web services:
- Start Windows Explorer and open the following folder:
%AppData%\AFAS Software\RemoteCmd
- Open 'Settings.xml'.
- Change the URL of the Profit Web services:
- AFAS Online
The https://12345.afasonlineconnector.nl/profitservices/ URL must contain the correct participant number.
- Local installation
Use the URL of the Webservices in the local installation.
- AFAS Accept (early adopters)
Copy the below line and paste it into the settings file:
<AFASRemote URL="https://accept12345.afasonlineconnector.nl/profitservices/">
- AFAS Online
- Save the file.
Directly to
|