![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
2010-04-15 08:40:00.709 -0400 Error 643 FMServer10 Schedule "E-mail List Contract" aborted; unsupported script step. Error 643 ?!?! an when I edit the script, I select the SERVER only script step, and all of them are ok... I try to export a list in XLS format, I retry using "winfile:/c:/dive/ folder/name.xls" because "winfile://serveurname/path/name.xls" was working when testing on my side but not on the server.... |
#3
| |||
| |||
|
|
* * *Any specified file must be in the FileMaker Server Documents folder, the temporary folder, or a child folder of either the FileMaker Server Documents folder or the temporary folder. For example, the following are all valid paths for file.csv: Documents>/file.csv Temporary Path>/file.csv Documents>/Folder1/file.csv Temporary Path>/Folder1/Folder2/Folder3/Folder4/file.csv |
#4
| |||
| |||
|
|
Any specified file must be in the FileMaker Server Documents folder, the temporary folder, or a child folder of either the FileMaker Server Documents folder or the temporary folder. For example, the following are all valid paths for file.csv: Documents>/file.csv Temporary Path>/file.csv Documents>/Folder1/file.csv Temporary Path>/Folder1/Folder2/Folder3/Folder4/file.csv Thanks but i'm nor sure I get the right path... In the export file I have selected this path C:\Program Files\FileMaker\FileMaker Server 10\Data\Documents\file.xls I'm not sure but I thing the "documents" folder was created with the installation process?? |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Thank you but I still receive an Error from the server script : Error 643 SERVEUR2003 Schedule "Liste des PPM" aborted; unsupported script step. But none of the script step are shadowed when I look at it ?? and FM10 Server is too dummy to tell my which line is creating the error !! As I was copying my script here, I notice a Custom Fonction.... is the server able to use a custom fonction in a server script ? |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
Now the script is returning no more erreur, but the file "name.xls" is no where to be found on the server HD I search the hole C:, it's not in the filemaker directory or the user's default documents folder.... Is it possible that FM Server10 does'nt have the user permission to write the files on the local HD ?? |
|
I also try the to set a variable $path=Get(documentpath) and export to "filewin:/ & $path & name.xls" |
#9
| |||
| |||
|
|
Enter Find Mode [ ] Insert Calculated Result [ THE CUSTOM FONCTION IS HERE, BECAUSE OF A SEARCH RANGE "date...date" in French format ] Perform Find [ ] If [ Get ( FoundCount )=0 ] Send Mail [ Send via SMTP Server; To: "NO RECORD FOUND"..... Port: 25; Authentication Type: None ] [ No dialog ] Exit Script [ ] End If |
#10
| |||
| |||
|
|
One other thing you should add to the beginning of your script is: Allow User Abort [Off] Set Error Capture [On] |
![]() |
| Thread Tools | |
| Display Modes | |
| |