DayBackForFileMaker

Filters

DayBackForFileMaker.Filters History

Hide minor edits - Show changes to output

May 19, 2023, at 04:31 PM by 192.88.134.15 -
Changed lines 7-8 from:
%center% %newwin width=440% [[https://www.seedcode.com/rootimages/stikipad/dayback/filterswtext2.png | https://www.seedcode.com/rootimages/stikipad/dayback/filterswtext2.png]]
to:
%center% %newwin width=440% [[https://archive.seedcode.com/rootimages/stikipad/dayback/filterswtext2.png | https://archive.seedcode.com/rootimages/stikipad/dayback/filterswtext2.png]]
Changed lines 11-12 from:
%center% %width=440% https://www.seedcode.com/rootimages/stikipad/dayback/advancedfilters.png
to:
%center% %width=440% https://archive.seedcode.com/rootimages/stikipad/dayback/advancedfilters.png
Changed line 93 from:
%center% %newwin width=440% [[https://www.seedcode.com/rootimages/stikipad/dayback/ApplyFilters.png | https://www.seedcode.com/rootimages/stikipad/dayback/ApplyFilters.png]]
to:
%center% %newwin width=440% [[https://archive.seedcode.com/rootimages/stikipad/dayback/ApplyFilters.png | https://archive.seedcode.com/rootimages/stikipad/dayback/ApplyFilters.png]]
June 24, 2019, at 04:33 PM by KC Embrey - Added #SourcesAndFields
Added line 29:
[[#SourcesAndFields]]
February 25, 2019, at 10:49 PM by KC Embrey - Added #HardCoded
Added line 75:
[[#HardCoded]]
July 11, 2018, at 04:55 PM by 192.88.135.15 -
Changed line 35 from:
To do this (to map a filter to more than one field) separate the mapped fields with carriage returns like we've done in our sample integration for filters 1 and 2. (Note that you can only map a filter to one field from each table.)
to:
To do this (to map a filter to more than one field) separate the mapped fields with carriage returns like we've done in our sample integration for filters 1 and 2. (Note that you can only map a filter to one field from each table.) Be sure that each filter has an entry for every source. So if you have four calendar souces, each filter will need four fields mapped to it: if a filter doesn't make sense for a particular source, just map it to a new blank field.
May 18, 2018, at 04:45 PM by KC Embrey - Added #Modifying
Added lines 19-20:

[[#Modifying]]
April 04, 2018, at 05:51 PM by 192.88.134.15 -
Changed line 5 from:
Filters are available on the Filters tab in the left hand status area. The main filters are "Statuses" though you can call them something else and change their contents easily (more on that [[Event Colors | here]]), and "Text" which is described here: [[Filter options | text filters).
to:
Filters are available on the Filters tab in the left hand status area. The main filters are "Statuses" though you can call them something else and change their contents easily (more on that [[Event Colors | here]]), and "Text" which is described here: [[Filter options | text filters]].
April 04, 2018, at 04:35 PM by 192.88.134.15 -
Changed line 7 from:
%center% %newwin width=440% [[https://www.seedcode.com/rootimages/stikipad/dayback/filters.png | https://www.seedcode.com/rootimages/stikipad/dayback/filterssm.png]]
to:
%center% %newwin width=440% [[https://www.seedcode.com/rootimages/stikipad/dayback/filterswtext2.png | https://www.seedcode.com/rootimages/stikipad/dayback/filterswtext2.png]]
April 04, 2018, at 04:25 PM by 192.88.134.15 -
Changed line 5 from:
Filters are available on the Filters tab in the left hand status area. The main filters are "Statuses" though you can call them something else and change their contents easily (more on that [[Event Colors | here]]).
to:
Filters are available on the Filters tab in the left hand status area. The main filters are "Statuses" though you can call them something else and change their contents easily (more on that [[Event Colors | here]]), and "Text" which is described here: [[Filter options | text filters).
November 13, 2017, at 08:30 PM by 192.88.134.15 -
Changed line 9 from:
In addition to these status colors, DayBack ships with 3 "advanced" filters: title, project, status, and resource. To see how these works, click on Advanced Filters at the bottom of the filters tab in the calendar side bar.
to:
In addition to these status colors, DayBack ships with 3 "advanced" filters: title, project, and resources. To see how these works, click on Advanced Filters at the bottom of the filters tab in the calendar side bar.
April 26, 2017, at 07:14 PM by KC Embrey - #Add
Added line 43:
[[#Add]]
March 01, 2017, at 06:02 PM by KC Embrey - added #prefilter
Added line 65:
[[#prefilter]]
February 16, 2017, at 12:12 AM by KC Embrey - added #KeepingFiltersWindowOpen
Added line 78:
[[#KeepingFiltersWindowOpen]]
February 16, 2017, at 12:09 AM by 192.88.134.15 -
Changed lines 76-90 from:
If you have large numbers of resources, the simple checkboxes used by default may not work for you. You'll find tips for modifying this to accommodate more resources, and resource categories, here: [[resources]].
to:
If you have large numbers of resources, the simple checkboxes used by default may not work for you. You'll find tips for modifying this to accommodate more resources, and resource categories, here: [[resources]].

!! Keeping the Advanced Filters window open.

The button on the Advanced Filters window says "Apply and Close". If you'd like to apply the filter and keep the Advanced Filters window open, you need to make a couple changes.

-> 1. Edit the script "Filters From Webvier" and change the last line of the parameter employed to #("sc_Style" ; "")  That will give us a window we can keep open while manually switching over to the calendar window when we need to.

-> 2. Edit the script "Apply Filters from Webviewer" and add the four lines highlighted in the screenshot below.

%center% %newwin width=440% [[https://www.seedcode.com/rootimages/stikipad/dayback/ApplyFilters.png | https://www.seedcode.com/rootimages/stikipad/dayback/ApplyFilters.png]]

-> 3. Navigate to the Filters layout and edit the "Apply and Close" button. Rename it to "Apply" =) and then edit the button's script so that the parameter passed is now #("sc_Close" ; 0)

That's it! =)
December 02, 2016, at 12:16 AM by KC Embrey - Added a Hard Coded Filters section to make it easier to find
Added line 71:
!! Hard coded filters
November 13, 2015, at 04:05 PM by 192.88.134.15 -
Added lines 70-71:

You can also add a hard-coded filter behind the scenes that users can't change. Learn more in the "Using Filters" section [[OnlySeeMyEvents | here]].
Changed line 17 from:
The title filter works the same way: type in "Call" and you'll see all the events where a work in the Summary begins with "Call". These filters work very much like the "constrain found set" find request you're already familiar with in FileMaker except that these filters are case sensitive, so "Some" will find the event "Someone is coming over" but not "Get me some help."
to:
The title filter works the same way: type in "Call" and you'll see all the events where a work in the Summary begins with "Call". These filters work very much like the "constrain found set" find request you're already familiar with in FileMaker.
Changed lines 69-71 from:
Toward the end of the configuration script "Load Calendar Settings - On Startup --- Edit Configuration Here ---" you'll see a comment called "Pre-Filter the calendar if necessary". The next lines set the four default filters that come with our calendar. The lines are currently disabled: enable any pair of them if you have FileMaker Advanced, or recreate the pair of lines you need if you don't.

The first line (the Set Field) in each pair sets the value to be filtered ("Something" in our example), and the second line (the Set Variable) passes that filter into the calendar engine. Both lines in the pair need to be enabled, but you only need to edit the value in the first line of the pair ("Something" in our example).
to:
Toward the end of the configuration script "Load Calendar Settings - On Startup --- Edit Configuration Here ---" you'll see a comment called "Pre-Filter the calendar if necessary". The next lines set the four default filters that come with our calendar. The lines are currently disabled: enable any of them if you have FileMaker Advanced, or recreate the lines you need if you don't.
Deleted lines 43-44:

%color=red% >> Test this.
Changed line 59 from:
-> '''5.''' Still editing the Filters tab of the Calendar layout, duplicate the "clear", "include", and "omit" buttons, placing them next to your new filter and change the script's script parameters for each of these buttons to use the "number" of the field ("5" in our example). Edit the conditional formatting for each of these to use the new filter number ("5" in our example). If you're not sure how to edit those "include / omit" switches, you can learn how [[Fancy Switches | here]].
to:
-> '''5.''' Still editing the Filters tab of the Calendar layout, duplicate the "clear" button and "omit" switch, placing them next to your new filter and change the script's script parameters for both to use the "number" of the field ("5" in our example). Edit the conditional formatting for both of these to use the new filter number ("5" in our example). If you're not sure how to edit those fancy switches, you can learn how [[Fancy Switches | here]].
Changed line 55 from:
-> '''3.''' Enter layout mode and navigate to the Filters tab of the calendar layout.
to:
-> '''3.''' Enter layout mode and navigate to the Filters layout in the Calendar Developer folder.
Added lines 44-45:

%color=red% >> Test this.
Changed lines 1-2 from:
!! How can I filter the calendar?
to:
!! How Can I Filter the Calendar?
Changed lines 27-30 from:
!! Filtering on different fields & different sources

%color=red% >> here

to:
!! Filtering on Different Fields & Different Sources
Changed lines 31-32 from:
If you're using [[multiple sources]] you can map the same filter to a different field in each of your source tables. For example, our "title" filter may be mapped to the Summary field in your events table (that is, it searched for an event summary containing the text entered in the title filter) and mapped to the Procedure field in your surgeries table.
to:
If you're using [[multiple sources]] you can map the same filter to a different field in each of your source tables. For example, our "title" filter may be mapped to the Summary field in your events table (that is, it searches for an event summary containing the text entered in the title filter) and mapped to the Procedure field in your surgeries table.
Changed lines 55-62 from:
-> '''4.''' Duplicate (copy and paste) one of the existing filter fields (don't use the resource filter, it's special) on the layout and then switch this field to be FilterGlob_5. Format this field to use the value list you created in 2 above; format it as checkboxes if you'd like to support multiple selections.

-> '''5.''' These filter fields have script triggers on them: you can leave the trigger alone if you've copied one of the existing fields.

->
'''6.''' Still editing the Filters tab of the Calendar layout, duplicate the "clear", "include", and "omit" buttons, placing them next to your new filter and change the script's script parameters for each of these buttons to use the "number" of the field ("5" in our example). Edit the conditional formatting for each of these to use the new filter number ("5" in our example). If you're not sure how to edit those "include / omit" switches, you can learn how [[Fancy Switches | here]].

-> '''7
.''' Finally, edit the script "Load Calendar Settings - On Startup..." and find the comment "Maps filters to fields". Create a new SetVariable line for your new filter ($$sc_FilterField5 in our example) and, using your new field for the GetFieldName ( SampleEvents::StaffName) in our example.
to:
-> '''4.''' Duplicate (copy and paste) one of the existing filter fields (don't use the resource filter, it's special) on the "Filters" layout and then switch this field to be FilterGlob_5. Format this field to use the value list you created in 2 above; format it as checkboxes if you'd like to support multiple selections.

-> '''5.''' Still editing the Filters tab of the Calendar layout, duplicate the "clear", "include", and "omit" buttons, placing them next to your new filter and change the script's script parameters for each of these buttons to use the "number" of the field ("5" in our example). Edit the conditional formatting for each of these to use the new filter number ("5" in our example). If you're not sure how to edit those "include / omit" switches, you can learn how [[Fancy Switches | here]].

->
'''6.''' Finally, edit the script "Load Calendar Settings - On Startup..." and find the comment "Maps filters to fields". Create a new SetVariable line for your new filter ($$sc_FilterField5 in our example) and, using your new field for the GetFieldName ( SampleEvents::StaffName) in our example.
Changed lines 63-65 from:
-> '''9.''' Edit the script "Build Filters ( Source No )" under the comment '''#Short circuit if no filters are filled in''' so the '''If''' calculation contains any new filters you've added.

-> '''10
.''' Enter browse mode and run the Upon Opening script again. That's it!
to:
-> '''9.''' Enter browse mode and run the Upon Opening script again. That's it!
Added lines 28-29:

%color=red% >> here
Added lines 19-26:
!! Modifying Filters

The rest of this article will discuss how you can modify the filters to suit your own use cases. Note that the Advanced Filters are shown in a new window on a FileMaker layout...not in the webviewer. This means you can manipulate this filters layout just as you would any other FileMaker layout: adding your own filters, reformatting check boxes, etc.

You'll find that layout in the Calendar Developer layouts folder. The layout is named "Filters".

(Modifying the status filters is done by manipulating the field mapped to "status" and then renaming / recoloring the filters themselves. Instructions here: [[Event Colors]].)

Changed lines 75-79 from:
The first line (the Set Field) in each pair sets the value to be filtered ("Something" in our example), and the second line (the Set Variable) passes that filter into the calendar engine. Both lines in the pair need to be enabled, but you only need to edit the value in the first line of the pair ("Something" in our example).
to:
The first line (the Set Field) in each pair sets the value to be filtered ("Something" in our example), and the second line (the Set Variable) passes that filter into the calendar engine. Both lines in the pair need to be enabled, but you only need to edit the value in the first line of the pair ("Something" in our example).

!! Changing the Resource Filters

If you have large numbers of resources, the simple checkboxes used by default may not work for you. You'll find tips for modifying this to accommodate more resources, and resource categories, here: [[resources]]
.
Changed lines 9-12 from:
In addition to these status colors, DayBack ships with 3 "advanced" filters: title, project, status, and resource. To see how these works, click on Advanced Filters at the bottom of the filters tab in the calendar side bar.
to:
In addition to these status colors, DayBack ships with 3 "advanced" filters: title, project, status, and resource. To see how these works, click on Advanced Filters at the bottom of the filters tab in the calendar side bar.

%center% %width=440% https://www.seedcode.com/rootimages/stikipad/dayback/advancedfilters.png

Changed lines 9-12 from:

SeedCode Calendar ships with four filters in place already: title, project, status
, and resource. To see how this works, select an item in the status filter and you'll see the calendar change to show just the items of that status. Note that you can select more than one status in the filter.

Now click "Omit" beside the filter and you'll see everything ''except'' events of the status
you've selected.
to:
In addition to these status colors, DayBack ships with 3 "advanced" filters: title, project, status, and resource. To see how these works, click on Advanced Filters at the bottom of the filters tab in the calendar side bar.
Select one or more resources and then click "Apply and Close" and you'll see the calendar change to show just the items for those resources.

Now click "Omit" beside the filter and you'll see everything ''except'' events for the resources
you've selected.
Changed line 7 from:
to:
%center% %newwin width=440% [[https://www.seedcode.com/rootimages/stikipad/dayback/filters.png | https://www.seedcode.com/rootimages/stikipad/dayback/filterssm.png]]
Changed lines 5-10 from:
Filters are available on the Filters tab in the left hand status area. SeedCode Calendar ships with four filters in place already: title, project, status, and resource. To see how this works, select an item in the status filter and you'll see the calendar change to show just the items of that status. Note that you can select more than one status in the filter.
to:
Filters are available on the Filters tab in the left hand status area. The main filters are "Statuses" though you can call them something else and change their contents easily (more on that [[Event Colors | here]]).




SeedCode Calendar ships with four filters in place already: title, project, status, and resource. To see how this works, select an item in the status filter and you'll see the calendar change to show just the items of that status. Note that you can select more than one status in the filter.
Changed line 3 from:
Filters operate like a find request, letting you see just a subset of the events in the calendar: that may be "your events", or events for a particular department, or those for a single customer. You can use the filters that come with the calendar, repurpose those, or create your own following the instructions below.
to:
Filters operate like a constraining find request, letting you see just a subset of the events in the calendar: those may be "your events", or events for a particular department, or those for a single customer. You can use the filters that come with the calendar, repurpose those, or create your own following the instructions below.
July 07, 2013, at 09:14 PM by 50.132.84.245 -
Changed lines 3-4 from:
Filters operate like a find request, letting you see just a subset of the events in the calendar.
to:
Filters operate like a find request, letting you see just a subset of the events in the calendar: that may be "your events", or events for a particular department, or those for a single customer. You can use the filters that come with the calendar, repurpose those, or create your own following the instructions below.
(855) SEEDCODE
[email protected]
Follow us: