Calendar Sidebar Filter
14 posts
• Page 1 of 1
Posts: 13
Joined: Wed Aug 26, 2015 3:50 am |
On selecting or deselecting the item from filter what exactly happen as it updates the calendar?
|
Hi Anup. When you apply a filter using one of the global fields in the sidebar, the calendar re-runs the query to gather the applicable events, adding the selected filter value as a search criteria. Let me know if you need more info than that.
|
|
Posts: 13
Joined: Wed Aug 26, 2015 3:50 am |
Hi jeffalmquist
"When you apply a filter using one of the global fields in the sidebar" Which global fields are used? I am nt getting value in any of the global value. Acutally I want to custom sidebars for calendar, want to know where should I add selected values to be implement query on calendar. |
It's the "FilterGlob_1", "FilterGlob_2", etc. global fields that are used for the "advanced filters". If you're asking about the Status Filters in the webviewer sidebar, that's all done in the Javascript. I'm not certain I'm interpreting your question correctly, so please feel free to send more details with screen shots, etc. Cheers.
|
|
Posts: 13
Joined: Wed Aug 26, 2015 3:50 am |
Hi jeffalmquist
Yes I'm asking about sidebar status filter. I want to know how to customize it show that it will work of my custom status data. I have a set of status which user will select and it will be reflected at webviewer of calendar as per the selected status. |
Hi,
You can map any field, calculations included, as the status field: http://www.seedcode.com/pmwiki/index.ph ... ventColors If you want to do more than that, then it's going to be easier to create a FileMaker sidebar and drive the web viewer from there like you would with the advance filtering. We have a blog post outlining this here: http://www.seedcode.com/custom-sidebar-for-dayback/ Let me know if that helps, and if you're with Gearbox in Atlanta, say hi to Michael for me. -Jason |
|
Posts: 13
Joined: Wed Aug 26, 2015 3:50 am |
Hi Jason
Yes Jason, I am working for gearbox but from India. Never had interaction with Michael. All by calc field are working and sidebar status filter is working. Same I have tried for custom sidebar. where I have list of status where user can select and deselect. I want to know where i have to set by selected status show it will work same as webviewer sidebar? Another Question - Can I custom the settings on sidebar like view setting and time setting? -Anup |
Hi Anup. I think you're asking about changing the default settings, and yes you can do that. See the "time scale increment" section here for one such example:
http://www.seedcode.com/pmwiki/index.ph ... .TimeScale The script I think you're asking about is "Apply Filters to Webviewer". Run that script after changing any filter values to see them take effect. We'd be happy to work with you to make these or any other customizations in your file. Let me know if you'd be interested in that. |
|
Posts: 13
Joined: Wed Aug 26, 2015 3:50 am |
Hi jeffalmquist
Thanks for your support. My advanced filter is not working, I thinking while integrating dayback something went wrong. How should I troubleshot this? And how to make "Resource - Schedule" the default view when loading calendar? Thanks Anup |
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Hmmm. The advanced filters are just a FileMaker Pro layout, so if you've been changing the layout I'd start by comparing those layout objects to those on a stock copy of DayBack. If you weren't working on the layout then you've likely changed some of the filter mappings: I'd take a look at the script "Load Calendar Settings..." and the lines after the comment "Map filters to fields."
As for changing the default tab, edit the script "Upon Opening" and right near the bottom you'll see the comment "Go to Calendar". The following script contains a parameter that determines which mode we land on by default. Simply change "Mode = Month" to whatever view you'd like to be the default. For reference you can find a list of the possible modes (views) here: http://www.seedcode.com/pmwiki/index.ph ... heCalendar Hope that helps, John John Sindelar
SeedCode |
Posts: 13
Joined: Wed Aug 26, 2015 3:50 am |
Hi John
Thanks for your help its really helped me a lot. Another custom I want to do. I will put a field with calendar popup to select date and dayback calendar will load that day on screen. How it can happens. Thanks Anup |
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Glad that helped, Anup.
To navigate to the calendar layout and focus on a specific date, create a new script with these two steps and call it from any other layout, declaring the date you want to go to in the first line:
=) John Sindelar
SeedCode |
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
By the way, if you want to do this when you're already on the Calendar layout, create a new script that does this... (note how we're using $$ in this script and $ in the previous one for FocusDate:
John Sindelar
SeedCode |
Posts: 13
Joined: Wed Aug 26, 2015 3:50 am |
Hi John
Thanks for all your advice. Its helped me a lot Thanks Anup |
14 posts
• Page 1 of 1
Return to DayBack Calendar for FileMaker
Who is online
Users browsing this forum: No registered users and 4 guests