April 20, 201510 yr 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? Â
April 20, 201510 yr Author 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.
April 21, 201510 yr 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?
April 21, 201510 yr Author 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, 201510 yr by yilbber Adding attribution to code.
April 21, 201510 yr Author 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.
April 28, 201510 yr Author 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.
Create an account or sign in to comment