Managing Academic Activity Categories and Weights
Categories are how Ad-Din turns everyday classwork into a report card mark. Instead of adding up every quiz and assignment equally, you tell Ad-Din that (for example) Assignments are worth 40% of the subject, Quizzes 30%, Projects 20% and Class Participation 10%. Teachers then simply record activities under the right category, and Ad-Din works out the subject percentage and grade for you.
This guide explains how to create categories, how the 100% rule works, the Assessment category that Ad-Din creates for you automatically, and how to move categories in and out of the portal in bulk using Export and Import.
Estimated time: 20–30 minutes for one class · Difficulty: Moderate · Who is this for: Administrators, and Teachers who manage their own categories
Before you start
1. Understanding categories and weights
A category belongs to one class, one class section and one subject — all three together. That combination is important, and it is the single thing that causes most confusion, so it is worth being clear about it up front.
Each class section keeps its own set of categories. If Grade 5 Math is taught in sections A, B and C, that is three separate sets of categories. Setting up Grade 5 Math for section A does nothing for sections B and C — you have to set those up too. This is deliberate: it lets one section weight a subject differently from another when the teaching genuinely differs.
The 100% rule
For any one class + class section + subject, the weights of the enabled categories should add up to 100%. The screen shows a running Total weight at the bottom of the Active list, and warns you with Must equal 100% whenever the total is anything other than 100.
Ad-Din will stop you going above 100% — it will not let you save a category that pushes the total over. It will, however, let you sit below 100% while you are still building the list, so you can add your categories one at a time without being blocked. Just make sure you finish the job, because a subject that only adds up to 80% will not report the way you expect.
A typical Grade 5 Math setup for one section might look like this:
Category | Type | Weight |
|---|---|---|
Assignments | Scored | 40% |
Quizzes | Scored | 30% |
Project | Scored | 20% |
Class Participation | Non-Scored | 10% |
Total |
| 100% |
How the mark is actually calculated
It happens in two stages, and knowing this makes the weights much easier to reason about:
Inside a category, Ad-Din averages all the activities a student has been marked on, taking each activity's own weight into account. A 50-mark test therefore counts for more than a 10-mark exercise if the teacher weighted it that way. The result is a percentage for that category.
Across categories, each of those percentages is then multiplied by the category's weight, and the results are added together to give the subject percentage — which is what lands on the report card.
So a student who averages 80% on Assignments (weight 40) and 90% on Quizzes (weight 30) contributes 32 points and 27 points respectively towards their subject total.
Scored and Non-Scored categories
Category Type | What it means | Use it for |
|---|---|---|
Scored | Activities under this category are marked with a number, out of a total the teacher sets (for example 17 out of 20). The teacher must supply a "Score out of" value and a weight when creating the activity. | Tests, quizzes, assignments, projects — anything with a mark. |
Non-Scored | Activities under this category are marked simply as completed or not completed. There is no number and no "Score out of". | Reading logs, homework submission, participation, permission slips — anything that is done or not done. |
Category Type cannot be changed later. Once a category is saved, the Category Type field is locked on the edit screen. If you picked the wrong type, disable that category and create a new one with the correct type.
2. Opening the Category Management screen
Sign in at portal.ad-din.ca.
Open the full menu and go to Madrasah / School > Admin Portal > Academic Activity.
Select Category Management.
On the left you will see a Filters panel with four dropdowns. On the right is the list of categories and the Add New, Import and Export buttons.
3. Viewing existing categories
The list only appears once Ad-Din knows exactly which set of categories you mean, so you need to choose all three of the following:
Class — choosing a class clears the two dropdowns below it and reloads them. If the class has only one section, Ad-Din selects it for you.
Class section
Subject
The list loads by itself as soon as all three are set — there is no separate "view" button to press. Until then the screen shows the prompt "Choose a class, class section and subject to view its categories." If the combination genuinely has nothing set up yet, you will see "No categories found" instead.
The fourth filter, Status, lets you narrow the list to Enabled or Disabled categories. Results are shown in two groups, Active and Disabled, with a count beside each.
Leave Status set to "All" while you are adding or editing. The Total weight figure is worked out from the categories currently on screen. If you have filtered the list down, that total will not reflect the true picture and it becomes very easy to talk yourself into the wrong weight.
4. The automatic "Assessment" category
You do not start from a blank slate. Every time you add a subject, Ad-Din automatically creates one category for it, so that teachers can begin recording activities straight away rather than being blocked on setup.
Property | Value |
|---|---|
Category Name | Assessment |
Weight | 100% |
Category Type | Scored |
Created for | Every class section of the class the subject belongs to |
So adding "Mathematics" to a Grade 5 that has sections A, B and C creates three Assessment categories — one per section — each at 100%.
This also happens when you add subjects in bulk by importing them, and it is created in the background a moment after the subject is saved. If you go straight to Category Management and do not see it, wait a few seconds and reload.
One exception: high school subjects do not get an automatic Assessment category. If your organization uses the high school subject setup, you will need to create every category yourself — which also means Add New is available immediately, with the full 100% still free.
This is why "Add New" sometimes refuses to open. Assessment already occupies the entire 100%, so there is no room for a second category until you make room. Either edit Assessment and lower its weight to what you actually want, or rename it to your first real category — renaming is usually the tidiest option, because it reuses a category that has nothing recorded against it yet.
5. Adding a category
Click Add New in the top right. The Add Category form opens.
Fill in the fields below.
Click Save. A confirmation dialogue appears reminding you that some of the information cannot be edited afterwards — click OK to confirm.
Field | What to enter | Can it be changed later? |
|---|---|---|
Class | The class this category belongs to. Pre-filled from your filters. | No |
Class section | The section within that class. Pre-filled from your filters. | No |
Subject | The subject this category applies to. Pre-filled from your filters. | No |
Category Type | Scored or Non - Scored — see the table in section 1. | No |
Category name | What teachers, students and parents will see — for example Assignments, Quizzes, Homework, Class Participation. Use the same names across sections of the same class so reports read consistently. | Yes |
Weight in % | This category's share of the subject mark, as a number. Enter | Yes |
Repeat for every category in the subject, then repeat the whole exercise for each remaining class section and subject. It is a one-time setup for the organization, and it is much faster if you have your weights written down before you start.
6. Editing a category
Click anywhere on a category row, or use the Edit button on the right of the row. Only three things can be changed: Category name, Weight in % and Status (Enabled or Disabled). Class, class section, subject and category type are all locked.
When you click Save, Ad-Din shows an important warning and gives you two ways forward:
Choice | What happens |
|---|---|
Proceed | Your change is applied to the existing category. Because marks already recorded under it are recalculated using the new weight, this changes historical records too, including report cards that have already been generated. |
Add New | Clears the form so you can create a fresh category instead, leaving the existing one and its history untouched. |
Once a term is under way, prefer "Add New" over "Proceed". The safe pattern for changing how a subject is weighted mid-year is: disable the old category, then add a new one with the weighting you want. That way past report cards continue to say what they said when they were issued.
7. Disabling versus deleting
Disabling is almost always what you want. Set Status to Disabled when editing. The category moves to the Disabled group, stops counting towards the 100% total, and can no longer be used for new activities — but every mark already recorded under it is preserved.
Deleting is permanent and removes history. Use the Delete button on the row. Ad-Din asks you to confirm and warns you that the action cannot be reversed and that the associated history of the category will be lost.
Ad-Din protects you from the worst case: if any activities have been created under a category, deletion is refused with the message "This category have activities under it". Disable it instead.
Who can edit and delete what
Role | Can view | Can add | Can edit / delete | Can Import / Export |
|---|---|---|---|---|
Administrator | All categories | Yes | Any category | Yes |
Teacher | All categories | Yes | Only categories they created themselves | No |
Parent / Student | View only | No | No | No |
A teacher who tries to change a category somebody else created will be turned away. If a teacher asks you to change a category they cannot touch, an administrator can make the change for them.
8. Exporting categories
Export gives you a spreadsheet of your entire category setup. It is the fastest way to review everything at once, to share the setup with colleagues for checking, and it is the required first step before importing.
Click Export. You do not need to choose a class or subject first.
Wait while the file is prepared. Ad-Din checks repeatedly and downloads it as soon as it is ready.
A ZIP file is downloaded. Open it and you will find four CSV files.
File in the ZIP | What it contains |
|---|---|
ExportedActivityCategoriesCsv….csv | Your categories. This is the only file you edit and re-import. |
ExportedClassesCsv….csv | Your classes, for looking up class IDs. |
ExportedClassSectionsCsv….csv | Your class sections, for looking up section IDs. |
ExportedSubjectsCsv….csv | Your subjects, for looking up subject IDs. |
The export always covers the whole organization — every class, section and subject — regardless of what the filters on screen are set to. The three reference files are there so you can tell which ID is which without guessing.
9. Importing categories
Import lets you set up or adjust many categories at once in a spreadsheet rather than clicking through the form dozens of times. It is far quicker for a new organization, or when you are rolling the same weighting out across many sections.
The safe way to use it
Export first and unzip the download.
Open ExportedActivityCategoriesCsv….csv in Excel or Google Sheets.
Edit the rows you want to change, and add rows for anything new (see the rules below).
Save it as a CSV file — not as .xlsx.
Back in Category Management, click Import. The prompt "Choose a CSV file for importing." appears.
Choose your file. The import starts immediately; there is no extra confirm step. Click Cancel instead if you opened the prompt by mistake.
Wait for the confirmation message. Stay on the page while it runs.
Upload the single CSV file, not the ZIP, and upload only the ActivityCategories one. The other three files in the ZIP are for reference and cannot be imported here.
What the columns mean
Column | Meaning |
|---|---|
CategoryID | Identifies an existing category. Leave it blank for a new category. If it is filled in, it must be a category that already exists in your organization. |
CategoryName | The category name. Cannot be left empty. |
ClassID, ClassSectionID, SubjectID | Which class, section and subject the category belongs to. Copy these from the reference CSVs in the ZIP. |
Weight | The category's share, as a plain number (for example |
ScoringType |
|
IsEnabled |
|
MadressahID, AddedBy | Filled in by the export. Leave them as they are. |
ClassName | Included to make the file readable. It is ignored on import. |
Rules the import enforces
It is all or nothing. If any row fails, nothing at all is saved and your existing setup is left exactly as it was. Fix the row and upload again.
Existing categories can only have their name, weight and status changed. Changing the class, section, subject or scoring type of an existing row will be rejected. To move a category, disable the old one and add a new row with a blank CategoryID.
The 100% cap is checked per class + section + subject, before anything is written — and it counts categories that are not in your file too. So you cannot sneak past the limit by importing a partial file.
Classes, sections and subjects must already exist. Import will not create them for you.
Row numbers in error messages count the header as row 1, so "row 5" is the fourth category in the file — the same row number your spreadsheet shows.
Do not retype the ID columns by hand. Copy them from the exported files. A section ID that belongs to a different class is the single most common cause of a category that saves successfully but then never appears where you expect it.
Troubleshooting
What you see | What it means and what to do |
|---|---|
Total Weight is already 100% | The form will not open because this class + section + subject has no room left. Usually this is the automatic Assessment category still sitting at 100%. Edit it down, rename it, or disable it — then add your new category. |
Weight can't exceed 100%. Adjust the category weight. | The new weight you typed would push the section's total over 100. Lower it, or reduce another category first. |
The subject weight cannot exceed more than 100 | The same limit, reported by the server. It applies to one class + section + subject at a time — not to the subject across the whole school. |
Must equal 100% (shown beside the total) | A reminder, not an error. Your categories currently add up to something other than 100, so marks for this subject will not report correctly until they do. |
This category have activities under it | The category cannot be deleted because activities have been recorded against it. Disable it instead — that keeps the history and takes it out of the total. |
Threshold Error: The sum of weight (…) exceeds the threshold of 100 for subject: …, class: …, class section: … | An imported file would push one combination over 100%. The message names the exact subject, class and section — look those IDs up in the reference CSVs, correct the weights, and re-import. Nothing was saved. |
Invalid data at <…, …> | Something on that row does not exist in your organization, or an existing category's class, section, subject or scoring type was changed. The first value is the offending entry and the second is the row number. |
Invalid or empty values at columns: … on row … | A required column is blank on that row — usually CategoryName. |
An empty file is provided | The file had no category rows. Check you uploaded ExportedActivityCategoriesCsv and that it was saved as CSV. |
Choose a class, class section and subject… | Not an error. The list appears only once all three dropdowns are set. |
No categories found | That class, section and subject genuinely has nothing set up. Check the Status filter is on All — a disabled category is easy to miss otherwise. |
A teacher cannot edit or delete a category | Teachers may only change categories they created themselves. An administrator can make the change on their behalf. |
Good practice
Agree the weights before you touch the portal. Changing them later has consequences; deciding them in a meeting costs nothing.
Use the same category names across all sections of a class. Report cards and comparisons between sections read far better when Grade 5A and Grade 5B both call it "Assignments".
Deal with the Assessment category deliberately. Right after adding a subject, decide whether to rename it, reweight it, or disable it — do not leave it sitting at 100% and then wonder why nothing else can be added.
Finish each subject to exactly 100% before moving on. It is much harder to spot a subject stuck at 80% months later.
Disable, do not delete. Deleting destroys history; disabling keeps it and achieves the same thing for future work.
Export before you import, and keep the export. It is your reference for the ID columns, and your record of what the setup looked like before you changed it.
Set up categories before teachers start recording activities — ideally at the start of the year, alongside classes, sections and subjects.