This topic contains 11 replies, has 2 voices, and was last updated by admin admin 4 days, 19 hours ago.

  • Author
    Posts
  • #75491
    Günter Borg
    Günter Borg
    Participant

    a Doubleclick in the calendar opens the entry formular an i can make a booking.

    But a click of a existing booking ( Timeline Calendar ) does only refresh the calendar also a double click.

    No Tooltip showing ( Tablet YES  ) and a Doubleclick won´t open the Edit Formular .

    from time to time it works but mostly it fails .

    Tested on MacOS and Windows 10 with FMPA 17

     

     

  • #75494
    admin
    admin
    Keymaster

    Hi Günter –

    Can you tell me if something changed to cause this problem, or is this a new installation?

    Are you working standalone or server powered?

    Do you have “Client-Side Script” selected for this calendar?

    For tablets, you must turn on the “Touch Enhancements” option in soSIMPLE Calendar Settings (click “Edit” next to “Options” for your calendar).

    While you’re in “Options” also make sure that “Read Only” is not enabled.

    Assuming you’re using client-side scripting &/or standalone mode:

    If you’re using FileMaker Pro Advanced, you can turn on your Script Debugger to make sure the Action Script is running. Every time you do anything in your calendar, the Action Script runs and several variables are set. Can you tell me if that script is running? If it is, make sure the $event_type variable is set to “edit”, “open”, or “new”. If you don’t have FileMaker Pro Advanced, you can add a “Show Custom Dialog” to the first step of that script to tell you what that variable is set to. Set the text of the dialog to “Current edit mode is ” & $event_type.

    If the script isn’t running at all, it’s likely that FMPA17 didn’t install the fmp:// protocol properly. You can fix that here:

    https://www.sosimplesoftware.com/forums/reply/71404/

  • #75506
    Günter Borg
    Günter Borg
    Participant
    This reply has been marked as private.
  • #75507
    admin
    admin
    Keymaster
    This reply has been marked as private.
  • #75509
    Günter Borg
    Günter Borg
    Participant

    in the Data Viewer : $event_type  = “Open” after double-click but the calender only refresh.

    Randomly it opens the right one Layout but mostly it only refrehes the Calendar.

     

  • #75510
    admin
    admin
    Keymaster

    The action script that runs is completely editable. We provide a sample in our soSIMPLE Calendar starter file.

    You can step through the script to see where it’s not doing what you want it to do.

    If you haven’t customized your script, sometimes what happens is you change layouts or field names in your data source without making the same changes in the first few lines of your action script. If this is the problem, follow these steps:

    1. Open soSIMPLE Calendar Settings file
    2. Select the calendar that you’re working with. Verify the data source settings.
    3. Click “Use in FileMaker Pro/Go”
    4. Click “Copy just the variable steps”.
    5. Now go back to your action script, select the 3 “set variable” steps at the top of the script, remove them and choose “paste”

    This will update the layouts and field names with the choices you made in the settings file.

  • #75511
    Günter Borg
    Günter Borg
    Participant

    in the Data Viewer : $event_type  = “Open” or is empty after double-click but the calender only refresh.

    Randomly it opens the right one Layout but mostly it only refrehes the Calendar.

     

    Attachments:
    You must be logged in to view attached files.
  • #75513
    admin
    admin
    Keymaster

    The data viewer doesn’t always update quickly enough unless you’re paused in script debugger. If my suggestions above don’t work, try running Script Debugger and making sure all the variables are set as soon as the script starts running.

  • #75514
    admin
    admin
    Keymaster

    Please also confirm that the calendar is “Client Side Scripting” and whether you’re server-powered or standalone.

    Thanks

  • #75515
    Günter Borg
    Günter Borg
    Participant

    hello , here with script debugger.

    Calendar is set to Client Side scripting and Standalone

  • #75516
    Günter Borg
    Günter Borg
    Participant

    once more

    Attachments:
    You must be logged in to view attached files.
  • #75518
    admin
    admin
    Keymaster

    You don’t show the data viewer, but you say it’s$event type open.

    Did you follow the the steps above?

You must be logged in to reply to this topic.