How to Create a Program Query for an Altru Event Calendar
← Back to Blog

How to Create a Program Query for an Event Calendar in Blackbaud Altru

March 11, 2020

A program query in Blackbaud Altru is the list of events your website calendar reads. Create it in Analysis › Information library as an ad-hoc query on Program, output the event name, start date, start time and event record, then filter it down to the events you want on the calendar. Social Good Software’s Calendar Builder turns that query into a live, bookable calendar.

Steps

  1. Create a new ad-hoc query (0:15). In Altru go to Analysis › Information library, choose Add an ad-hoc query, and select the Program source view.
  2. Add the output fields (0:45). From Program events add Name, Start date and Start time, which are required. End time and Capacity are optional but useful.
  3. Add the event record (1:20). This field is what lets the calendar send each guest to the correct Altru form, so don’t skip it.
  4. Preview (1:33) to confirm data is coming back.
  5. Filter to the events you want (1:45):
    • Programs › Query category equals your parent program’s category (for example General Admission).
    • Program events › Name contains a specific value (for example Daily Admission).
    • Program events › Capacity is greater than 0.
  6. Save with a clear name (2:45). Use a prefix so your team knows what the query feeds, such as Calendar – General Admission, then pick a category and Save and close.
  7. Remove repeated columns (3:30). If Name and Program events name show the same value, keep one.

Tip: since October 2022, Altru can also query a program event’s remaining capacity. Add it as an output field, or filter on it (for example, greater than 0) to hide sold-out times from the calendar.

Next step: build the calendar from this query in Calendar Builder.

Common questions

Which fields does the calendar need?

Start date, start time and the event record. End time and capacity are optional.

Why add the event record?

It links each calendar slot to the right Altru form, so guests buy the correct event.

Can I make one query per calendar?

Yes. A common pattern is one query per calendar (general admission, a special exhibition, classes), each filtered by category or event name.

Video transcript

This is Rick with Social Good Software. In this short guide I’ll show you how to create a program query. These queries are useful for event calendars: if you want a calendar for general admission or for a specific event, this is typically the query you’d use.

I’ll go to Analysis, Information library, and create a new ad-hoc query. We’re looking for the Program query, which is used to query program information. I like to start with the results I want to display. From Program events I’ll take the name, then the start date and the start time. Start date and start time are required. End time isn’t required, but it’s an optional field you can add, so I’ll add it, and capacity too. Lastly, the event record. Because I want to link people to a form, the event record is very important: it’s how we link them to the correct form in Altru.

Now I’ll click Preview to see some of the data. I want to narrow it down, so I’ll filter on Programs query category. The category I’m looking for is General Admission, which is the category of the parent program. Then Program events name: we want one specific value, Daily Admission, using “contains”. Previewing now, we only have the daily admissions. Finally, Program events capacity greater than zero. Preview again, and that looks good.

The last step is to save it. I like to prefix queries so I know what they do, so this one is “General admission calendar”. I’ll give it a category and click Save and close. Previewing again, you can see all the data that will populate the calendar. Depending on your organization’s needs, you can customize this to show exactly the data you want on the calendar. In my case the name column repeats, so for simplicity we’d remove one. In the next video we’ll take this query and create a calendar.

Continue reading

How to Edit, Rename or Delete Sales Order Note Types in Altru

Sales order note types in Blackbaud Altru are managed in one place: Administration › Code tables, filtered to Ticketing, under Sales order note type. From that list you can Delete a note type, Edit it to rename it, or Add a new one. Steps Open Code tables (0:12). In Altru go to Administration › Code

MuseumHub vs Social Good Software: Rebuild on HubSpot, or Modernize on Altru?

MuseumHub vs Social Good Software: Rebuild on HubSpot, or Modernize on Altru?

MuseumHub and Social Good Software both bring modern ticketing, membership, and digital cards to museums. They sit on different foundations. MuseumHub rebuilds your operation on HubSpot’s CRM. Social Good Software is native to Blackbaud Altru, extending the system you already run. The re-platform question MuseumHub is museum logic built on top of HubSpot. Adopting it

What Are Checkout Flows for Blackbaud Altru and How Do They Work?

A checkout flow customizes Blackbaud Altru checkout pages for specific items being purchased. An online template usually changes every checkout page across every item, while a checkout flow targets items by title, such as summer camps or general admission, so you can remove or hide items, show a pop-up or give more context only where

Social Good platform

See it in action

Get started with Social Good

Book a demo to see Social Good Software in action for Altru.

Book a Demo
Social Good platform

See Social Good in action

Tell us a bit about your organization and we’ll take you straight to short demo walkthroughs of the software.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.