candl docsOpen candl
Guides / For administrators

How the directory is built

The Directory is a copy of JL that candl rebuilds from JL’s exports, normally once a day. Nobody types into it. This page explains where each fact comes from, when a change in JL shows up, and which settings you can change yourself.

13 min readUpdated 20 Nov 2026Uses example data

Where the data comes from

JL emails its exports as CSV attachments. In candl, Tools, JL exports (the JL export manager) has an import rule for each one: it looks in the inbox for an email whose subject matches, and copies the attachment into a Google Sheet. With Auto-import on, it checks the inbox as often as the interval beside it says (Every 15 min unless someone changed it). A rule whose Feeds domain table is set also tells the directory that its table has arrived.

Four exports make the directory, and a rebuild waits until all four have arrived on the same day:

Members
One row per household (family account), keyed by its JL code: names, titles, address and the household flags.
Students
One row per student, keyed by student number, with the household he belongs to.
Contacts
One row per phone number or email address, each with its type, such as Fathers Cell or Home E-mail.
Enrollment
One row per student per year (period): division, class, shiur and rebbe.

Two more are optional and arrive only now and then: programs and grandparents (JL’s related-person links). A rebuild never waits for them. It uses the newest import of each, however old.

Good to know. Admins with Can manage Domain Database see a Domain database strip at the top of JL exports: the date of the live directory and its student count, the four tables with a check mark for each that has arrived today, and Rebuild now.

How a rebuild works

When the last of the four exports arrives, candl reads all four sheets and works out every student, household, contact and placement from scratch. It writes the result as a complete new copy of the directory. Nobody sees that copy while it is being written. Only when every part is written does candl switch everyone to it, in one step.

Each copy is called a generation, and it is named for the day it was built, such as 2026-11-20. A second rebuild on the same day adds the time, such as 2026-11-20T143005. Because the switch happens all at once, you never see a directory that is half old and half new. candl keeps the previous generation too and deletes older ones.

Before it switches, candl checks the new copy and refuses to publish it when:

  • fewer than 25 students came through;
  • the number of students fell below half of the live copy;
  • more than 5% of student rows have no usable student number.

Those are the signs of an export that was cut off. When candl refuses, or a rebuild fails for any other reason, the live directory stays exactly as it was, and the Activity log has a Domain: Rebuild Failed entry with the reason. A successful one logs Domain: Published with the counts.

Rebuilds run on candl’s own servers, which look for work every five minutes. A rebuild usually takes a minute or two.

How often it updates

Automatically, once a day. The rebuild starts within five minutes of the last of the day’s four exports arriving. JL sends its exports on its own schedule, which at the school is overnight, so a change made in JL today normally shows in candl the next morning. If the exports arrive again later the same day, candl does not rebuild a second time on its own.

By hand. Settings, Directory data, Import and rebuild, Rebuild now (or Rebuild now on the JL exports strip). candl says the rebuild runs within five minutes, and the new directory goes live when it finishes. Rebuild now does not fetch anything from JL: it rebuilds from the most recent day on which all four exports arrived. It is what you use after changing a setting that applies at the next rebuild, or after a fresh export came in the same day.

A change in JL is not showing yet

  1. Was there an export after the change? The change reaches candl only through a new export. Open JL exports and look at Recent activity and the check marks for today.
  2. If JL has sent a new export, run its rule with Run now (the play button on the rule) so candl picks it up. A rule only picks up emails from the last two days that it has not imported already.
  3. Did the rebuild run? The strip’s Live date shows which day the live directory was built from. If it is old, press Rebuild now and wait five minutes.
  4. Reload candl. A page you opened before the rebuild keeps what it loaded.

The quick list and the full profile

Each generation stores the students in two parts, and the households the same way, so that the Directory opens fast for everyone.

The quick list
What a list needs: names, division, class, status, household and the main contacts. Your browser downloads it when you open the Directory.
The full details
Everything else: greetings and titles, addresses, every number and email of each parent, Hebrew and legal names, date of birth, enrollment and program history, and the extra columns shown under Other fields. candl fetches it when you open a profile, build an audience or send a campaign.
Placement by year
Which division, class and shiur each student had in each past year. It is fetched only when you ask about a particular year, such as a filter on Enrollment by period.

You do not choose between them; candl does.

Column mapping

candl never looks for a JL column by name in its programming. Each table has a mapping, kept in settings, that pairs a candl field with the exact column header in the export. For example, date of birth reads the students column DOB. Headers must match exactly, capital letters included.

To see it, open Settings, Directory data, Source tables, and choose Load. Each table shows how many columns are mapped, its Latest import (rows, or Not arrived), whether a rebuild waits for it (Required or Optional), and whether candl reads it (In use or Staged only). You need Can manage Domain Database.

When JL renames a column

The field it fed comes through blank for everyone after the next rebuild, with no error, and the column’s new name turns up as an extra field instead. To fix it:

  1. On the table’s row, open the menu and choose Edit mapping. Show the sheet headers lists the columns of the latest import.
  2. In the mapping box, change the old header to the new one. Leave the candl field on the left as it is.
  3. Choose Save table, then Rebuild now.

If the renamed column is the student number, candl refuses to publish (see How a rebuild works) and the old directory stays live until the mapping is fixed. The contacts table shows Defined in code and has no Edit mapping: its contact types are changed by a developer.

Careful with Reseed mapping. The Reseed mapping button beside Rebuild now replaces the whole mapping with the one built into candl, which undoes any change made with Edit mapping. Use it only when a developer asks you to.

Add a new JL column

A new column on the students or members export needs no developer. candl picks up every column that is not in the mapping and keeps it as an extra field.

  1. Ask whoever runs the JL exports to add the column to the students (or members) export, leaving the other headers unchanged.
  2. Wait for the next export and rebuild, or run the rule and press Rebuild now.
  3. Open Settings, Directory data, Profile fields, and choose Load. Pick Student profile or Household profile. The new column is listed as Auto, with a sample value.
  4. New columns start out shown everywhere. Untick where you do not want it: Profile (Other fields on the profile), Merge tag and Filter for students, Profile and Filter for households. Type a friendlier label if you like, choose Save, and reload candl.

Profile fields lists what is in the live directory, so a column appears there only after a rebuild has carried it.

Do not add it with Edit mapping. A column named in the mapping is no longer picked up automatically, and candl only uses the mapped fields it was built for, so a new pair you add there would make the column disappear.

These need a developer: a new column on the enrollment or contacts export, a new contact type in JL, a whole new export, and moving to a new current school year at the yearly rollover. You can register a new export yourself under Source tables, Register a table, so its rows are imported and checked, but it shows Staged only and nothing reads it until a developer adds it.

What comes from where

In candlFrom JL
Households and their codesThe members export. A student belongs to a household by his family number, to a second household by Code 2, and an alumnus with his own account is linked to it by his own code.
Greetings and parent namesThe members columns for names, titles, Hebrew names, the combined title and JL’s household name.
Phones and emailsThe contacts export, by type. A row whose type candl does not know is skipped. Capitals and spacing in the type do not matter. Which ones reach each parent is the setting Who emails and texts reach, applied at the next rebuild.
Division, class, shiur and rebbe by yearThe enrollment export. Rows in a staff division such as HS Teacher count as employment, not study, so a rebbe is not made an alumnus.
StatusWorked out from enrollment, not JL’s Status: enrolled now, incoming (not started yet), left this year, accepted for a later year, alumnus, or no enrollment at all.
No Mail and Inactive badgesThe members flags. A donor-only household is one that never had a student and is neither an alumnus nor faculty.
Local or NonlocalThe household ZIP code against Local ZIP codes in Directory data, applied at the next rebuild. A US ZIP that lost its leading zero gets it back.

A parent who has passed away. JL marks it on the household (IgnoreF for the father, IgnoreW for the mother; both set means both). At the rebuild candl withholds that parent’s numbers and emails, so no email, text or portal reaches them. The name stays, with “(deceased)” on the profile, and a surviving mother takes over the household email and house phone. A parent who is not there, with no first name and no title on the household, never gets the household’s shared numbers or email.

Phones and names

Each rebuild makes a phone book from the students and their parents: every number, by its last ten digits, with the person it belongs to and whether they are a father, mother or student. When a text reply comes in, the Inbox uses it to show the parent’s name and the student, and Voicemail uses it to tell you who called.

  • Main numbers first. Each parent’s and student’s main cell is entered first, then the second household’s parents, then everyone’s other numbers (second cells, work cells, the house phone). A number already entered keeps its first owner, so a number two families share shows one of them.
  • One number per entry. A field holding two numbers is split into both, and a leading 1 is dropped. Anything that does not make a ten-digit number is ignored.
  • Only what JL had at the last rebuild. A number added in JL today is recognized after the next rebuild. A parent marked as passed away is not in the phone book.
  • Students and their parents only. A number that belongs only to a household with no student on record, such as a donor, is not recognized.

Who sees which students

Every rebuild also records which students were in each division in each year, and their status. That is what each person’s access is checked against: the divisions they may reach, and the default view of divisions, years and status they open on. You set both on the Domain database tab of their user drawer; see Which students they see.

  • A student counts in a division for a year when his enrollment row for that year says so. A change of division in JL moves him at the next rebuild.
  • A student with no enrollment rows at all is in no division. Only someone with no division limit, looking at all years, sees him in the Directory, and no audience includes him.
  • Whether donor-only, inactive and No Mail households show is a separate choice per person, on the same tab.
  • A change to someone’s access applies when they next reload candl.

When something looks wrong

Today’s directory did not update
On the JL exports strip, see which of the four tables has no check mark today. A rebuild waits for all four. The Activity log entry Domain: Awaiting Tables names the ones missing. Check that JL sent that export and that its rule ran.
Rebuild now says no import batch has all required tables
candl remembers only the last three days of imports, and none of them had all four. Run the import rules (or wait for tonight’s exports), then rebuild.
The rebuild failed or was refused
Filter the Activity log to the Domain Ingest module. A message starting Sanity gate means the export looked cut off: get a complete export, run its rule, and press Rebuild now. Until then everyone keeps the last good directory.
A field is blank for everyone
JL renamed the column or dropped it from the export. Compare the mapping with Show the sheet headers (see Column mapping).
A student in JL is not in the Directory
He may be outside your access, have no enrollment rows (see Who sees which students), or have been added after the last export.
A reply shows a number, not a name
The number is not on any student or parent in JL, was added after the last rebuild, belongs to a parent marked as passed away, or belongs only to a household with no student.
You pressed Rebuild now and nothing changed
It starts within five minutes and takes a minute or two. Then reload candl and check the Live date on the strip.