Jump to content

Recommended Posts

Hi,

I'm integrating full calendar into a solution and I'm using what Matt did with the fullcalendar.io ( ISO Magazine  ) in FileMaker's web viewer.

I've attached the entire HTML and a section of the HTML where I am trying to dynamically set the calendar in "Week" and in "Day" view to scroll the calendar to the current hour.  Currently I've hard code into the html '07:00:00' which is ok, but would be great if I could dynamically set to current hour when the user clicking into "Week" or "Day".

Any way I've search through the fullcalendar.io documentation and I am able to figure out just about most of what I need to do, but not everything.

Is there anybody with experience integrating the fullcalendar.io into FileMaker and would there be any insight if it is doable how to dynamically setting the "scrollTime".  Please see attached pdf for reference.  

 

Thank you.

Tom

 

Screen Shot 2020-04-12 at 3.26.26 PM.png

fullcalendar_html.pdf

Link to post
Share on other sites
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Caveat: I know nothing about FullCalendar. Speaking in general, I believe you have two options here:

  1. Learn how to produce the current time in Javascript;
  2. Produce the current time (or the current hour) in Filemaker and insert it into your Javascript code.

The first option has nothing to do with Filemaker. 

You should be familiar with the second option from this thread:
https://fmforums.com/topic/103625-drawing-in-web-viewer/

I even posted a demo file there:
https://fmforums.com/topic/103625-drawing-in-web-viewer/?do=findComment&comment=470170

 

Link to post
Share on other sites

comment,

Thank you ... created a global variable <<$$CURRENTTIME>> in the "UpDate Calendar" script with the calculation result I need and inserted the global variable '<<$$CURRENTTIME>>'  where the '07:00:00' went and it worked perfectly ... 🙂

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Who Viewed the Topic

    1 member has viewed this topic:
    Lee Smith 

×
×
  • Create New...

Important Information

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