[EN] To prevent a bug with FileMaker Pro 15
Cette note est disponible en Français ici.
For all FM Calendar users who have a version prior to 1.5.6 (under development). The 1.5.6 release includes correcting this bug.
A bug appeared with FileMaker Pro 15 that prevents the proper functioning of FM Calendar if it's hosted by FileMaker Server.
To correct this problem you need to change the formula of field cDisplayHtml of table config for this:
- Select menu File > Manage
> Database… ;
- Select Tab Fields, and selection table
config ;
- Select field cDisplayHtml and click on button
Options… ;
- Modify the beginning of the calculation formula, by finding the variable _host to replace its definition :
———————————old definition of variable———————————
_host = Case (
PatternCount ( Get ( ApplicationVersion ) ; "13.0v1" ) and PatternCount ( Get ( HostApplicationVersion ) ; "Server" ) ; Get ( HostIPAddress ) ;
"$" ) ;
———————————end of the old definition of the variable———————————
———————————new definition of variable———————————
_host = Case (
PatternCount ( Get ( ApplicationVersion ) ; "13.0v1" ) and PatternCount ( Get ( HostApplicationVersion ) ; "Server" ) ; Get ( HostIPAddress ) ;
PatternCount ( Get ( ApplicationVersion ) ; "15.0" ) and PatternCount ( Get ( HostApplicationVersion ) ; "Server" ) ; Get ( HostIPAddress ) ;
"$" ) ;
———————————end of the new variable definition———————————
If this formula of calculation didn't modified, you can replace the entire formula by the following:
Let ([
_host = Case (
PatternCount ( Get ( ApplicationVersion ) ; "13.0v1" ) and PatternCount ( Get ( HostApplicationVersion ) ; "Server" ) ; Get ( HostIPAddress ) ;
PatternCount ( Get ( ApplicationVersion ) ; "15.0" ) and PatternCount ( Get ( HostApplicationVersion ) ; "Server" ) ; Get ( HostIPAddress ) ;
"$" ) ;
_top = Case (
Get ( SystemPlatform ) = 4 ; topWD.html ;
top.html ) ;
_editable = Case (
Get ( SystemPlatform ) = 4 ; "false" ;
"true" )
];
Substitute ( _top ;
// source code
[ "{{version}}" ; version ] ;
[ "{{fullcalendar.css}}" ; fullcalendar.css ];
[ "{{init.css}}" ; init.css ];
[ "{{jquery.min.js}}" ; jquery.min.js ];
[ "{{jquery-ui.custom.min.js}}" ; ${jquery-ui.custom.min.js} ];
[ "{{fullcalendar.min.js}}" ; fullcalendar.min.js ]
) & "¶" &
// events array
FMcalSourceEvents ( gCalendarList ; prefsUser::navDate ; prefsUser::navView ; "" ) & "¶" &
Substitute ( bottom.html ;
// config
[ "{{config.js}}" ; config.js ] ;
[ "{{height}}" ; Get ( WindowContentHeight ) - 55 ];
[ "{{defaultView}}" ; prefsUser::navView ];
[ "{{weekends}}" ; If(prefsUser::showWeekends or prefsUser::navView="agendaDay" ;"true";"false") ];
[ "{{timeStart}}" ; Int ( Left(prefsUser::timeStart;2) ) ];
[ "{{timeEnd}}" ; Int ( Left(prefsUser::timeEnd;2) ) ];
[ "{{hostIPAdress}}" ; _host ];
[ "{{fileName}}" ; Get ( FileName ) ];
[ "{{editable}}" ; _editable ];
// launch
[ "{{launch.js}}" ; launch.js ];
[ "{{year}}" ; Year(prefsUser::navDate) ];
[ "{{month}}" ; Month(prefsUser::navDate) - 1 ]; // Janvier = 0
[ "{{day}}" ; Day(prefsUser::navDate) ]
)
)
-
AutoSender
- What are the limitations of the AutoSender demo version ?
- How exactly does AutoSender function ? Is it a FileMaker plug- in ?
- Is it possible to use AutoSender with Instant Web Publishing solutions ?
- Which items are installed and where (Mac OS X)?
- Which items are installed and where (Windows)?
- View all (15 more)
-
Clip Manager 4.x for Mac
- Is ClipManager 4.2 compatible with FileMaker Pro 13?
- I upgraded to Mavericks and some tasks aren't working anymore in Clip Manager 4.x
- Is Clip Manager 4.x compatible with FileMaker Pro 12?
- I get a message "Oops, we messed up! Clip Manager must quit." What should I do now?
- Table Occurrence Selector doesn't show any table occurrences.
- View all (5 more)
-
Clip Manager Express for Windows
-
DoSQL
- Is DoSQL 2.0 compatible with FileMaker Server 12 ?
- Can DoSQL be used in a runtime solution
- What types of SQL statements can be used with DoSQL ?
- Is it possible to use 'CREATE TABLE' with DOSQL in the database that a script is called?
- Can DoSQL be used as a FileMaker Server plug-in ?
- View all (4 more)
-
DoScript
-
eID & SIS plug-in
-
FM Calendar
-
PrinterSwitch
- PrinterSwitch doesn't work with FileMaker Pro 18.0.2 (and Catalina)
- What are the limitations of the PrinterSwitch demo version?
- What is installed by the PrinterSwitch installer and where?
- Can I use FileMaker Server’s AutoUpdate feature with PrinterSwitch?
- I am trying to create a PDF with PrinterSwitch, but when printing nothing seems to happen (MacOS X)
- View all (12 more)