Page 1 of 1

Exporting VCard - file not found

PostPosted: Wed Feb 14, 2007 6:07 am
by paul_fox
Hi to all, (first post here)
I am trying to export to VCard and am getting the message that seedcodeVCard.xls is missing. I have read the documentation and have the Extras folder that includes the Vcardxml folder which includes the seedcodeVCard.xsl file in the right place (I think). I have looked at the script and it tries to locate the file first in the Extras folder, then the VCardxml folder and so on. This works fine locally on my mac but when I try to do the same thing with the remote database I get the above error message.

I thought maybe something to do with permissions?? The Extras folder etc has the same permissions as the database, I am using FMServer8 for the remote database.
Any suggestions would be appreciated
Paul

PostPosted: Wed Feb 14, 2007 6:21 am
by John Sindelar
Hi Paul,

When you're doing this with a served file you'll probably want to put seedcodeVCard.xls in a central location and reference it by URL instead of by path. This way a) all users will have the same "path" to the file and b) you don't need to give every user their own copy.

Hope that helps,

John

PostPosted: Wed Feb 14, 2007 7:02 am
by paul_fox
Thanks John, worked a treat :D

PostPosted: Sun Dec 09, 2007 12:26 pm
by jimrecht
How do we specify a URL for this file in the relevant script step, John?
Yours,
Jim Recht

PostPosted: Sun Dec 09, 2007 7:08 pm
by John Sindelar
It's kind of hidden. When editing the export records script step, click "Specify..." beside "Specify output file". Once you select XML as the file type and click OK, you'll see a new screen where you can specify an XSL style sheet either as a file or as an http request.

All the best,

PostPosted: Sun Dec 09, 2007 7:56 pm
by jimrecht
I see that John, but I don't understand how to write the address correctly. Should it be something like: "file://..."? Or do I use a different syntax when specifying a URL?

PostPosted: Sun Dec 09, 2007 9:00 pm
by John Sindelar
You specify it just like a file on a webserver, like:

http://seedcode.com/rootimages/homepage/supheader1.png

PostPosted: Mon Dec 10, 2007 6:58 am
by jimrecht
John:

Sorry for being such a pill about this -- but how do I specify a file on my hard drive using http syntax?

Yours,
Jim Recht

PostPosted: Mon Dec 10, 2007 7:08 am
by John Sindelar
No problem. If you're using a file on your hard drive just use the "file" option, not http. If the file is on a web server (i.e. somewhere that others-not just you- can see it, use http). Hope that makes sense.