Forum Replies Created
-
AuthorPosts
-
Hi seaghost,
I’m sorry for your frustration.
I’m glad the solution for your upgrade issue was simple.
Can you tell me – did you copy the scripts into your solution from the “Use in FileMaker” button in the Settings file, or by copying and pasting them from the soSIMPLE starter file? I’m surprised to hear if there are broken script references when you copy from Settings.
Which script had “Standalone” set? Changing it to server would probably work fine, but I’d be curious to know what script we’re talking about.
As for our default “soSIMPLE Action Script” doing unpredictable things, it’s actually pretty straight forward. For “Open” (double-clicking events) and “New” (dragging a blank area), the default script opens a window, goes to your event layout, finds or creates a record, and pauses the script. After the pause, the window closes, and the event updates on the calendar. It sounds like what you’re running into is that you’re closing the window manually or with another script while you’re in pause mode. Then after the default script resumes, it closes the main window instead of the event window. Does that sound right? One possible solution is to edit the default script to no longer open or close windows, and instead operate in one window, or to check other processes to see whether you’re closing the window elsewhere.
Please do let us know what else you’re running into.
Please also be sure to follow the instructions in the 5-minute integration page, if you haven’t already. That’s probably the most important part to a successful integration as it lays out the basic building blocks of how the soSIMPLE integration works.
Thanks
Ken
-
We have verified that the current download works from our web site. Both for the wrong windows coming forward and for “now indicator”.
Do you experience these issues with the downloaded calendar, or is it only showing up in your own integrated app? Are you on Mac or Windows?
The primary issue may be an issue with the refresh script in your app. Have you looked at that script?
Thanks
-
June 15, 2017 at 1:29 pm in reply to: How to differentiate a Double-Click vs. Drag to create an event #73961
Good question, Mark.
There is no built-in way, since a new event is a new event. But I have a pretty good workaround for you – add this snippet to your Custom JS field, and double-clicking will default to 1 minute long events while dragging inevitably will not:
scheduler.config.event_duration = 1;
scheduler.config.auto_end_date = true; -
June 8, 2017 at 2:50 pm in reply to: Calendar doesn't update/redraw after event is created or updated #73959
Hi again Anna –
If you are still having problems with events redrawing, please let me know, along with the following:
- what version of soSIMPLE are you using?
- What operating system?
- Have you looked at the debugger to see what happens when the “refresh event” script runs (this script runs after the “actions” script, after you click “done”).
I’ve seen this on another customer’s file, and the issue is that he was using an old version of the MBS plugin, which is not FMP16 compatible. soSIMPLE 3.6 contains the latest MBS plugin, and is available from our download page.
Thanks.
Ken
-
June 7, 2017 at 2:03 pm in reply to: Calendar doesn't update/redraw after event is created or updated #73958
Hi Anna –
We haven’t seen this problem yet, but we heard from someone else with a similar issue. We’ll be troubleshooting it and if it sounds similar, we’ll post back here.
In the meantime – what version of soSIMPLE are you using? What operating system? Have you looked at the debugger to see what happens when the “refresh event” script runs (this script runs after the “actions” script, after you click “done”).
-
I think you’d have to create a calculation and set it to some thing specific, like sitename_c=_blank_
-
Your “workaround” is fine. JavaScript date function uses zero-based months, so new Date (2017, 0 , 5) is Jan 5.
-
The easiest way to navigate to the new date is to change the URL to reflect the new date (see http://www.sosimplesoftware.com/products/calendar-documentation/calendar-builder-reference/adjusting-your-calendar/url-anchors-for-date-and-view-links/). There’s no need for MBS or JavaScript.
To navigate the calendar using MBS, you can send this JavaScript to your webviewer:
scheduler.setCurrentView(new Date(2017,7,4));
See MBS documentation on how to do this:
-
You don’t need MBS to get the date & view – that’s available in the URL of the web viewer.
Use the following FileMaker function.
getlayoutobject($$calendar_object;”source”)
More info here:
http://www.sosimplesoftware.com/forums/topic/hash-vs-date-shown-on-calendar/
-
The forum seems to be curling the quotes by accident. Make sure you’re using straight quotes as described on this page.
-
This indicates that you entered the wrong URL for the page.
I’ve also seen this happen when Mac OS is the server, and you are pointing to “https”, and your files are in the “http” directory or vice versa.
On Mac servers, FileMaker Server uses different folders for secure or not secure. Make sure you have soSIMPLE in the on you’re using.
For Apache (OS X) through HTTP:
/Library/FileMaker Server/HTTPServer/htdocs•For Apache (OS X) through HTTPS:
/Library/FileMaker Server/HTTPServer/htdocs/httpsRoothttps://www.filemaker.com/help/15/fms/en/index.html#page/fms/fmsh_hostsite.07.2.html
-
Try this – add the following to “Custom JS” section of Options.
scheduler.config.hour_date = “%g:%i %a”;
scheduler.templates.event_date = function(date){
var formatFunc = scheduler.date.date_to_str(scheduler.config.hour_date);
return formatFunc(date);
}
-
This reply has been marked as private.
-
Hi kiwioz –
Please try quitting FileMaker Pro and re-opening.
Also, make sure the Preference setting is checked on, that says “Allow Solutions to Install Files”.
https://www.filemaker.com/help/14/fmp/en/html/preferences.27.5.html#1027768
If neither of these work, please tell me if you’re Win64, Win32 or Mac. And whether MBS shows up in the Preferences pane.
Thanks
Ken
-
We have not seen an error like this.
We will reach out next week to set up a remote support session.
Please private reply with some good times next week. If you have a public available URL we can test, that would help too.
-
Hi Mark –
Entering “&Resource=Mark” will look for event records that only match “Mark” exactly. It won’t match records with both Mark & Richard in the field.
There are a few ways around this. The quickest workaround is to use a repeating field just for the purpose of filtering the view. Each value of the repeater will be a single resource. Then “&ResourceRep=Mark” will work fine.
You can use the following calculation for this repeating field, where “Resource” is the name of the field containing a paragraph-delimited list of resources):
Let ([
_multikey = Extend(Resource);
_rep = Get ( CalculationRepetitionNumber )
];
GetValue (_multikey; _rep)
)
-
I’m sorry, but no.
soSIMPLE 3.6 added REST engine support for FileMaker 16. As a result, we decided to update some of the core files on the server, which can’t be updated using Live Update.
-
The latest release fixes this issue
-
Does your calendar have a button for day view, too? (sometimes when the button is missing, the view can’t be called by the URL).
Otherwise, the fact that the events don’t load right away tells me there’s an error in the page. Can you please create a new “Options” setting? Don’t duplicate an existing one – it should be a brand new one. And make sure there’s nothing in the “Custom JS” section.
Let us know how that goes.
Thanks
-
This reply has been marked as private.
-
Hi C.
There is no built-in feature for that. The mini calendar reflects what is in the main calendar.
This may be something we can accomplish with a little custom development.
Reply with a private message with the best way to reach you if you’re interested.
Thanks
Ken
-
Unfortunately, the image didn’t see to come through. But I suspect what you’re seeing is that with very short events, all you see is the time span.
Have you tried enabling “simple event” display in the Options section? That feature removes the event header entirely and just uses the event detail for the entire event display.
-
Not built-in, but we’ve done this in the past for clients. We’ll take a look at what’s involved.
-
Those are 401 errors, meaning that no records match the request. Makes sense if that group stopped entering events.
-
Hi icansteve,
Thanks for posting this.
We’ve confirmed this bug. The next release will include a delete button for server-side smartphone calendars using custom edit fields.
Thanks
-
AuthorPosts