• Skip to main content
  • Skip to primary sidebar

DayBack

The Calendar You've Been Waiting For

  • Calendar
    • For Salesforce
      • DayBack Calendar for Salesforce
      • Field Service
      • Calendar Sharing in Salesforce
    • FileMaker Calendar
    • For Google Calendar
    • For Google Sheets
    • For Microsoft 365
    • For Basecamp
    • Integrations
  • Extensions
  • Pricing
  • Blog
  • Support
    • Support Options
    • Documentation
    • Documentation for DayBack Classic (older)
    • Implementation Packages
  • Contact
    • Our Mission
    • Team & Community
    • Careers
    • Contact Us
    • +1 (855) 733-3263
  • Timelines
    • Overview
    • History of the polio vaccine
    • Women’s Suffrage
    • Science Fiction
    • Your Vote in Context: the 2020 US Elections
    • History of Claris FileMaker
  • Sign In

Jun 21 2021

Default Durations for each Resource

KC Embrey has just published a new custom action for assigning default values to new appointments: this is great for giving each resource in your org a default duration or status.

This action works in any calendar source, including FileMaker and Salesforce. Here’s what it looks like in action:

While you can usually set defaults in the backend, using a trigger or a formula field, those don’t evaluate until the appointment is committed to the back end. Using an action like this adds the defaults to the event as soon as users begin creating it.

Schedulers can see potential conflicts sooner and even prompt callers for details specific to that resource or appointment type.

Add this to your DayBack

Option 1: List resource attributes in the action code.

This is the action used in the movie above and KC’s comments in the action describe how to modify it, adding default values for each of your resources. If you haven’t created actions in DayBack before, you’ll find instructions here. You can access the latest code for this action here:

Download CODE

Option 2: Find the resource attributes in the resource’s tags

In this version, the default duration for each resource is a tag in the resource itself. You can extend this example to attributes besides duration. https://github.com/seedcode/dayback-tag-contains-duration

Don’t hesitate to reach out if you get stuck. We’re here to help.

Written by John Sindelar · Categorized: Dev, Salesforce · Tagged: Custom Actions, For Developers, Resource scheduling

Reader Interactions

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Search

Latest Posts

  • Memory is Making
  • Add Notes and Comments to Events
  • Closed Through the New Year
  • Background Gradients on Horizon View
  • Cut and Paste Rescheduling

Pinned Posts

  • Scarcity: the Science of Resource Scheduling
  • Calendars Tell Stories
  • Time Shame – Plan Your Day Like a Road Trip
  • We Can’t See Late
  • You’re Calendar’s Not a Poster

  • Facebook
  • Instagram
  • LinkedIn
  • Twitter
  • Vimeo

© SeedCode, Inc. 2013–2023
+1 (855) 733-3263
who shot this?

X

View Details
Keep me informed
Which calendar sources interest you?
Interested in a calendar source we haven't listed? Have a question for us? Please let us know.
Loading