Ik moet vandaag in Nederlandstalige fm12 Adv. een scan zien in te bouwen voor mijn Go-file, die ik komende dagen druk zal gebruiken.
Ik vond in de app-store volgende app SetGoScan van SetFile die dit mogelijk zou maken. Ik kreeg er op hun supportsite volgend script mee, maar dit is nieuw voor mij.
Waarschijnlijk zijn er vanzelfsprekendheden die moeten vervangen worden om aan te passen aan eigen FM-database, maar ik ben er nog niet goed uit hoe en wat. Kan er iemand in de onderstaande scripts aanduiden welke delen er moeten vervangen worden en welke velden er nieuw moeten worden aangemaakt enz...
Bedankt alvast voor de hulp!
SetGo Scan is an application that has to be installed in the iPad that interprets a barcode and write it into a FileMaker field.
The way it works is as follows.
In a FileMaker database:
1) Create a script with one script step, Open URL. (Ik heb dus een script gemaakt die een url opent en de 'let'-code er gewoon ingeplakt)
The parameters of this script step are:
Let (
[_scriptName = "ShowScanResult" ;
_dbName = Get ( FileName ) ;
_ipHost = Case ( IsEmpty ( Get ( HostIPAddress ) ) ; "null" ; Get ( HostIPAddress ) )
2) Create a second script called ShowScanResult with the following script step Set Field [ ID;$result ] (heb ik ook gedaan, maar zit vast bij de Set Field (wschlijk is dat bij mij 'Veld instellen' ?) wat er tussen die vierkante haakjes staat)
For this to work, it is needed that both FileMaker database and SetGo Scan are installed in the iPad.
The script Open URL must be executed in the database installed in the iPad. When this actions is made, the camera from the Ipad will be opened to focus the barcode. When the barcode is focused, the iPad will take a picture of it and return to FileMaker to set the code into de field ID.
In case it is impossible to read the barcode, there is the possibility to write it down or cancel the process.
Notes:
1) A FileMaker script is a sequence of instructions intended to accomplish a certain task
2) Scripts in FileMaker are created by selecting from among pre-defined script steps, and by specifying options for those steps. A script step is an individual (and indivisible) command.
Question
stijndeprez
Hallo iedereen,
Ik moet vandaag in Nederlandstalige fm12 Adv. een scan zien in te bouwen voor mijn Go-file, die ik komende dagen druk zal gebruiken.
Ik vond in de app-store volgende app SetGoScan van SetFile die dit mogelijk zou maken. Ik kreeg er op hun supportsite volgend script mee, maar dit is nieuw voor mij.
Waarschijnlijk zijn er vanzelfsprekendheden die moeten vervangen worden om aan te passen aan eigen FM-database, maar ik ben er nog niet goed uit hoe en wat. Kan er iemand in de onderstaande scripts aanduiden welke delen er moeten vervangen worden en welke velden er nieuw moeten worden aangemaakt enz...
Bedankt alvast voor de hulp!
SetGo Scan is an application that has to be installed in the iPad that interprets a barcode and write it into a FileMaker field.
The way it works is as follows.
In a FileMaker database:
1) Create a script with one script step, Open URL. (Ik heb dus een script gemaakt die een url opent en de 'let'-code er gewoon ingeplakt)
The parameters of this script step are:
Let (
[_scriptName = "ShowScanResult" ;
_dbName = Get ( FileName ) ;
_ipHost = Case ( IsEmpty ( Get ( HostIPAddress ) ) ; "null" ; Get ( HostIPAddress ) )
] ;
"fm2set://scan?" & "dbName=" & _dbName & "&scriptName=" & _scriptName & "&host=" & _ipHost
)
2) Create a second script called ShowScanResult with the following script step Set Field [ ID;$result ] (heb ik ook gedaan, maar zit vast bij de Set Field (wschlijk is dat bij mij 'Veld instellen' ?) wat er tussen die vierkante haakjes staat)
For this to work, it is needed that both FileMaker database and SetGo Scan are installed in the iPad.
The script Open URL must be executed in the database installed in the iPad. When this actions is made, the camera from the Ipad will be opened to focus the barcode. When the barcode is focused, the iPad will take a picture of it and return to FileMaker to set the code into de field ID.
In case it is impossible to read the barcode, there is the possibility to write it down or cancel the process.
Notes:
1) A FileMaker script is a sequence of instructions intended to accomplish a certain task
2) Scripts in FileMaker are created by selecting from among pre-defined script steps, and by specifying options for those steps. A script step is an individual (and indivisible) command.
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.