Forum Replies Created
-
AuthorPosts
-
Make sure your cursor is in the right place in the Script Workspace.
There are two options in the “Use in FileMaker Pro/Go” window:
- “Copy Calendar Scripts”: copies all of the scripts used in the solution. The cursor must be in the left-hand panel, under the word “Scripts”, where the lists of scripts show up.
- “Re-copy just the Variable Steps”: copies just the three steps at the top of the soSIMPLE Calendar Action script. This script must be selected, and the cursor must be in the script editing window on the right.
-
To be able to use the data source set up window, turn OFF the following security option in your file:
“Require full access privileges to use references to this file”.
Under File > Security > File Access
You can turn this feature back on after you’re done in this window.
Attachments:
You must be logged in to view attached files. -
Hi Jon –
It’s very simple, actually. The button property window has a section at the bottom that says “options”. One of the additional options is to “Resume Script”. That means the the delete script will run, then the current script will continue as normal.
See attachment
Attachments:
You must be logged in to view attached files. -
Yes of course.
Click the Edit button next to where it says “Data Source” in soSIMPLE Calendar Settings. Then click Edit again to edit the current data source. You’ll see the field mapping screen at that point. You can then select the Resource field from the drop down menu.
Your resources will now show up on the calendar in your solution.
You’ll also want to copy a couple of script steps into your soSIMPLE Action script to make the drag & drop between resources work properly. To do that:
- Click “Use this Calendar in FileMaker” from the lower right of the Settings window.
- Click the “Recopy just the script steps”
- Go to your solutions, open the soSIMPLE Action script, remove the three “Set Variable” steps and the top of the script, and paste these three steps in their place.
-
That’s correct – that tip was for the month view only.
For week, day & resource view, enter the following into Custom CSS (for the flat theme):
.dhx_scale_holder_now {
background-image: url(imgs_flat/databg.png);
}
-
Hi Jon –
Server-powered includes server-side scripting & client-side scripting. That’s what you purchased, then review the list above to see if anything else is happening. Make sure your cache folder is can be cleared, too (click the gear icon and click “Clear Cache”).
The edit dialog that comes up for web-based calendars can be customized, but not nearly to the degree you can with client-side scripting.
You can add any custom fields you’d like to your Server-Side Async/Web-based Calendar:
- Add the fields you’d like to see in the popup window to the Data Source layout in your solution (or in our starter solution, if that’s what you’re using).
- Go to soSIMPLE Calendar Settings, select your calendar, and click “Edit” next to Data Source.
- Scroll to the bottom and click “Edit” next to “Custom Fields”
- Add any fields you’d like to show in the edit window
In addition to showing the Custom Fields, soSIMPLE will automatically includes checkboxes or drop-down menus for fields that have value lists associated with the field on the data source layout.
We are also able to completely customize the event window to show it exactly the way you’d like, with specific layout, color schemes, displays of value lists, etc. Please let me know the details if you’d like us to estimate that.
-
Actually, it’s not even always the first day. It’s a day in the range that you’re looking at. So in month view, it could be any day in January.
So by using both the mode and date that comes from that call, you can determine the beginning and end date. Typically the three ranges will be day, week & month. The exceptions to that are the custom timeline (“mode=timeline”) which you define, and maps which will always show “mode=map” regardless of the range showing.
Here are all modes:
We can also create some custom code to launch a script with specific parameters every time you change the view, if that helps. But I think the above should do it for you.
-
Is it possible the feed just need to be refreshed on Macos?
-
Do you see the events themselves in the feed on Macos? Is it a range of events missing or random ones?
What version of sosimple are you using?
Try downloading the latest version and replacing the file ical_class.php with the downloaded one.
-
Maybe this would help:
You add &filter_resource=123|2222|444 to your URL to filter which resource columns show. You could conceivably change that for each day of your calendar by having your solution navigate the calendar using &filter_resource= and #day=
-
Hi Giulio.
I think you mean the resource view, or the timeline view, correct? Where the resources are along the top or along the side.
This is possible, but would require custom development. This is how I understand the request:
– Events are loaded on calendar for a specific day (or a specific week, etc.)
– By default there would be about 30 columns
– But you only want to show 10 columns if there are no appointments for the other 20 resources.Is that right?
There are many views that show resources – would you want to have this change impact all of the views, or just some of them?Let me know (on private if you’d like) and we can estimate this for you.
Thank you.
Ken
-
Make sure the “URL to PHP page” is configured to correctly point to your server.
-
You don’t need to recopy the web viewer.
-
Just emailed you.
-
Hi Tylertul –
You do need to put the changes into the settings file. But you don’t need to re-copy the web viewer code. That’s all updated automatically.
Whenever you change your fields, you’ll usually want to re-copy just the variable steps into your “Action” script. That involves clicking the “Use in FileMaker” button and clicking “Re-copy just the variable steps”, then opening the soSIMPLE Calendar Actions script and pasting the new steps in places of the three “set variable” steps at the top of the script.
This allows changes you make in your calendar by clicking and dragging to update FileMaker using client-side scripting.
-
Thank you for the update.
-
Sure.
Those are still required fields, though. You can use calculations to make those events all-day events.
Start Time – calculation defined as time, calc:
0
End Time – calculation defined as time, calc:
getastime (“24:00:00”)
-
We’re not able to reproduce the error, but we’ll keep looking.
By the nature of the problem, it does sound like it could be an issue with the MBS plug-in. Try downloading the 64-bit plugin from MBS (6.1 is the version we’re licensed for, so you’ll see some license error messages for the newer version – if that’s the issue we’ll get you a copy of 6.1) :
http://www.monkeybreadsoftware.de/filemaker/download.shtml
You can also edit the script “Calendar Update Event (event_id).” The logic in that script is pretty simple – if you have the MBS software and an Event ID, then update the single event in the web viewer. You can change that logic by having it always refresh the whole calendar instead by having it perform the “Refresh Calendar” script and exiting right at the top of the script.
The only thing that the MBS plugin is used for is this specific feature. Your end-users wouldn’t lose any features by not using it – you would just refresh the web viewer instead of updating the single event that was changed. For most (smaller) calendars, it’s a small difference.
Are you using the soSIMPLE Calendar file provided with the download? If you’re not and installing the latest MBS doesn’t fix it, also make sure that the URL of the web viewer is the same IP address as shown the “URL to PHP” field in Calendar Settings. This won’t be an issue with the provided calendar file.
-
Have you confirmed that the name of your web viewer object is “web_calendar”?
http://help.filemaker.com/app/answers/detail/a_id/6147/~/naming-objects-in-filemaker-8.5-and-later
-
I’m sure I’m misunderstanding the question.
The “&filter_resource=” parameter filters what columns show up. So “&filter_resource=Joel%7CMark” should show just the columns for Joel & Mark.
If you’re using the resource name to manage resources and you have two resources of the same name, it will treat them the same.
The best solution would be to use IDs for your resources, then you can filter them that way. If you’re using a resource table, you can manage resources by ID. Then they would each be unique. That’s what we do in our sample file.
-
January 9, 2017 at 6:07 pm in reply to: Hide the time in Month View causes problem for mobile layout #73572
What code did you paste in? What are you trying to accomplish?
If you are trying to make a change to the desktop/ipad calendar, and not the smartphone calendar, you can simply use a different set of options. For example, use the “Default Options” for the smartphone calendar and create a new “Custom Code” Options for the desktop version. Then you can paste the custom code into the Custom Code while your Smartphone settings are unaffected.
-
Yes – you can do this dynamically by adding “&hide_nav=1” to the URL of your calendar (this gives you the ability to leave the choice up to your user):
Or you can make this part of your calendar setting by changing this in the soSIMPLE Calendar Settings > Layout section.
-
This reply has been marked as private.
-
I don’t see any screen shots, but I think I know the message you’re talking about.
What is probably happening is that the URL that you’re using in the web viewer (and in the “url to php” setting in Calendar Settings) is different than the IP address that you used to open the file from the Launch Center. Since soSIMPLE will try to run the script from the same server that’s shown in the WebViewer, it may be trying to open the same file a second time using a different IP address.
For example:
Launch Center: open FileMaker file “MyFile” from server: myserver.myurl.com
Goes to calendar on your layout. Your calendar is drawn from: http://192.168.1.10/soSIMPLE….
When you double-click, the soSIMPLE Action Script will run your script in MyFile that’s on the server “192.168.1.10”. If that’s not the address you used to open it, then the file will attempt to opened from that address before the script is run.
The fix is to either change the address of the file you’re opening from the Launch Center or to change the IP address of the web viewer, and of the URL to PHP field to match the one you’re using.
-
I’m not sure that the article you’re referring to reflects what you’re trying to accomplish. The article appears to be referring to “types” of resources – so one calendar might be rooms, another might be editors.
It looks like you’re just trying to see Richard’s appointments.
So you want to filter the list to just show specific appointment based on a field – you can do that by filtering the URL.
And may also want to show just the one column in the Resource view?
-
AuthorPosts