yilbber Posted April 20, 2015 Posted April 20, 2015 I've been using homebase's script to export ics files, but for some reason, It is failing horribly when i integrated it to my "solution". It either outputs garbage or it complains that there are no records to export. I've reimported his demo, reassigned fields, tried removing the "/*" and putting them back, and leaving it at " " or just leaving it at the field name. It always refuses to create the file and the debugger only tells me the record does not exist. What step am i Missing to get this to work? Â
yilbber Posted April 20, 2015 Author Posted April 20, 2015 THIS Is not a script from FMSP. It's a script from homebase. as i said, integrating it has become problematic. originally it had it's fields surrounded in "/* */" but when i replaced the field names it still ended up not working.
Ocean West Posted April 21, 2015 Posted April 21, 2015 the /* */ means that there was a reference to a function, field name, layout or table that was referenced in the original source not present in the target database where it was pasted to. if you have FMPA with the debugger turned on where in script did it fail? Did all your variables get set?
yilbber Posted April 21, 2015 Author Posted April 21, 2015 (edited) OK, I will go back and try to reinsert all the missing /* */ fields. this is the source of the code I was using. http://hbase.net/2014/05/16/exporting-calendar-files-ics-from-filemaker-pro-13/ Edited April 21, 2015 by yilbber Adding attribution to code.
yilbber Posted April 21, 2015 Author Posted April 21, 2015 ok I spent all day on this, and have concluded that somehow or another, there are extra carriage returns being generated and that is why my attempt to integrate the script is failing... but even renaming the fields to match the original has Not fixed the error.
yilbber Posted April 28, 2015 Author Posted April 28, 2015 I finally managed to fix this after a bit of editing and disabling of if statements. I Still don't know what was the main cause of the problem.
Recommended Posts
This topic is 3496 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now