Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need help fixing *.ics Export script

Featured Replies

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?

Screen_Shot_2015-04-20_at_12.33.04_PM.thScreen_Shot_2015-04-20_at_12.33.35_PM.thScreen_Shot_2015-04-20_at_12.34.09_PM.th

 

  • 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.

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? 

  • 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.

 

  • 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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.