Adding a New Module to SeedCode Complete, Part 3

Part 3: Searching the new table in the sidebar

If you missed part one of this series, it describes to how add the new buttons to the home page in SeedCode Complete while keeping the nice hover behaviors in place. Part two shows how to create the new slide panels in the sidebar. This post describes how to wire up the slide panel for our new module so you can search the new table. Step-by-step instructions follow, or check out the video below for a walk-through.

  1. Create a table for the new module in the SeedCodeModel file. Do this by copy/pasting the existing “Items” table, then renaming it “Supplies”.
  2. In the SeedCodeComplete file, we’ll need three new global fields in the SelectorFilters table. Duplicate the “Items” version of each of these fields, then rename them replacing “Item” with “Supply”, or “Items” with “Supplies”.
  3. Duplicate the “ItemIDCalc” field in the Rows table, and change the definition to reference the $$sc_SupplyIDList variable.
  4. Create a new “RowsSupplies” table occurrence on the graph, connected to the Rows table the same way as the other similar TOs are (RowsInvoices, RowsItems, etc.)
  5. Now switch to the SeedCodeControl file and create a new table occurrence for Supplies, as well as a new blank layout.
  6. Still in the SeedCodeControl file, duplicate the “Return Item IDs { Criteria ; Recent }” script, and rename the copy “Return Supply IDs { Criteria ; Recent }”, remapping all script steps to the corresponding subscripts, fields and variables in the new Supplies table.
  7. Back in the SeedCodeComplete file, duplicate the “Home Inventory” scripts folder. Rename the new folder “Home Supplies”, and rename each of the scripts therein according them the same pattern of replacing “Item” with “Supply”, or “Items” with “Supplies”. Note that I created two of these scripts in the last video, so I had to delete and move a couple of scripts to stay organized. You’ll see what I mean in the video. Remap all steps in these scripts to the corresponding subscripts, fields and variables associated with the new Supplies table.
  8. Go to the Supplies slide panel on the Home screen then enter Layout Mode. Get to know the buttons, script triggers, conditional formatting, hide-object-when rules and field mappings on that panel. Some objects are layered and will require moving other objects around to select them. Use the “Revert Layout” command if you need to before you start remapping things.
  9. Remap all of these layout elements to the corresponding scripts, fields and variables associated with the new Supplies table.
  10. Enter some sample data into the new Supplies table using the default Supplies layout in the SeedCodeData file.

[ba-youtubeflex videoid=”wczW39OObk8″]

That’s it! Now you should be able to use the search tool on the Home screen side panel.

Enjoy.

In the next post, we’ll build the detail slide panel, and add a main layout for the new table.

Featured Posts

Follow Along

Stay up to date with the latest news & examples from SeedCode

3 Comments

  • Thanks for the awesome instruction this gives a very handy insight in the design and setup of seeded complete. It is very helpful to further add our own stuff to your awesome product! Keep the instruction videos coming please.

  • Jeff, these are FANTASTIC. Can’t thank you enough.
    On this particular tutorial you referred to two scripts that had been made in a previous video and only one script had actually been made. The 2nd selector script was never walked through. Any chance you could circle back for that step? Thanks so much!

    • Thanks for the feedback, Cheney. And thanks for catching that about the “Supply Detail Home [ SupplyID ]” script. I think the part of the video where I created that script must have ended up on the proverbial editing-room floor. Sorry about that! The “Supply Detail Home [ SupplyID ]” script is the one that runs when you click on a portal row after finding some supply records on that first new slide panel. I’ll be sure to mention that in the next post in this series, due out next week. Cheers!

Leave a Reply

Your email address will not be published. Required fields are marked *

Check out some of our other posts ...

New Week Views in DayBack for FileMaker

You can now expand DayBack’s week views to show two or three weeks at a time. We’ve been using this internally in beta mode for a few weeks, and it’s very helpful to see what’s coming up next week while navigating this week’s work. Find tips on how to work with these new views on the DayBack blog.

To-Do Lists in FileMaker – New in DayBack Calendar

Now create and manage FileMaker to-do lists directly from the Unscheduled Items sidebar in DayBack Calendar. Our latest extension brings to-do behavior to any FileMaker table. Like unscheduled items, this behavior is based on a new checkbox field in your table, so some or all of your records in the table can be treated as to-dos. Mark your to-do’s done as you complete them, or drag them into the calendar to schedule time to work on them. See it in action here: Customize Your To-Do Lists This extension was designed to be pretty a scaffold onto which you could build your own, more specific to-do behaviors by customizing the action itself or the FileMaker scripts tha manipulate events. Here are some ideas to get you started. Add To-Do Lists to Your FileMaker Calendar If you haven’t already enabled the unscheduled sidebar along DayBack’s right edge, you can learn how to turn that on here: unscheduled items in DayBack. Then, download the custom action and learn how to configure it here: To-Do Lists in DayBack Calendar.

Improved Resource Selection

We’ve made some big changes to how you filter and assign resources when editing events in DayBack. These changes will make it much easier to work with large numbers of resources, especially for folks assigning multiple resources to the same event. Watch a video of the new behaviors and learn more here: Adding Multiple Resources to an Item. If you haven’t looked at your resource field mapping in a while, here is how you set that up: Mapping the Resource Field in FileMaker. Please get in touch if you have any questions about this; we’re here to help.

Suggesting Appointment Slots

Show Available Slots that Match Multiple Criteria Schedulers often look for gaps in their schedules to find the open resources for each opportunity. But sometimes, gaps don’t tell the whole story. You may have invisible criteria like skill-matching, cleaning requirements, or multiple resources to schedule at once. Or you may be on the phone with an opportunity and must suggest available times as quickly as possible. In these cases, DayBack can suggest the best slots that match all of your requirements. Scheduling Criteria Are Often Invisible In the movie above, schedulers can see openings for the two technicians, but they can’t easily see if the required rooms and equipment are free at the same time. While DayBack can show different types of resources simultaneously, as the number of criteria increases, it can be hard for schedulers to see everything at once and still make good decisions. Our customers often have rules that constrain when an otherwise open slot can be scheduled. Here are some of the invisible criteria we’ve built out for customers: Because DayBack is highly scriptable, it can scrub open slots against a variety of criteria to render just the slots that fit all your requirements. When multiple slots match, DayBack can even rank them so you can present the most ideal slots to your clients first. You Have to *See* Slots in Context to Make the Best Decisions Many scheduling apps present possible appointments as a list of dates and times. Without showing more information about each slot, schedulers can book days too tightly, always suggest the same providers first, or create huge gaps in some provider’s schedules. Ranking slots can help, but we’ve found that highlighting ideal slots alongside existing appointments gives schedulers the information they need to make the best decisions. We’ve seen schedulers quickly offer to split appointments or to slightly change services when they see available slots in the context of other appointments, trainings, vacations, and breaks. Getting Started We customize the recommendation of slots for each deployment as part of DayBack’s implementation packages. Please get in touch if you think DayBack could make a big impact on your team.

COMPANY

FOLLOW ALONG

Stay up to date with the latest news & examples from SeedCode

© 2024 SeedCode, Inc.