This page will discuss how to use the Registration Rule Generator.
...
- Row 1:
- Course Name [column A]: Full course name for readability purpose only
- Course Path [column B]: i.e. /Root/MarineLS/Course1
...
- System.OfferingRule.Instructor.AutoGenerated: auto-generated instructor rules (add/remove instructors)
- System.OfferingRule.Registration.AutoGenerated: auto-generated de-/registration rules
Suggestions for Using
BEFORE RUNNING REG RULE PROCESSOR
In CSV file, delete any & all empty columns at right and any & all empty rows at bottom of the file.
Check for dupes in Course Path and delete if exact duplicate or merge is slightly different or go back to customer if major differences.
AFTER RUNNING REG RULE PROCESSOR
Check number of rules run and determine why less e.g. dupes not caught in above checks
Open /pages/dev window and run gnpa /Root/XXX and leave window to side (safety in case you later discover you accidentally deleted things you shouldn't have done)
Command to delete existing student reg rules: DeleteNavPageAttributes /Root/XXXX System.OfferingRule.Registration.AutoGenerated
Sample command (assumes CSV in same directory as processor): RegistrationRuleGenerator.exe student -f "BCF Reg Rule Matrix Mar25.csv" -o "BCF Reg Rule Matrix Mar25OUT.txt" -p /Root/BCF -v
Sample output from running command, which shows less rules generated than in file (differences due to some rows in sheet being empty i.e. no values to register for course):
** Parameter:
# Input file path: BCF Reg Rule Matrix Mar25.csv
# Output file path: BCF Reg Rule Matrix Mar25OUT.txt
# Verbosity: On
-- INFO: 84 StudentRules was read from BCF Reg Rule Matrix Mar25.csv
-- INFO: 84 StudentRules are valid for processing.
-- INFO: 0 invalid student rules was found.
-- INFO: 80 Student registration rule command lines was generated.
-- INFO: 0 Student de-registration rule command lines were generated
-- INFO: ** Writing Output to BCF Reg Rule Matrix Mar25OUT.txt
-- INFO: Total of 80 StudentRule command lines were written to output file
Scan outputted TXT file of rules for errors then when confirmed good, paste all commands into /pages/dev and run
after running new reg commands, run ReEvaluateOfferingRulesForAllUser Registration /Root/XXX (to update student rules) and/or ReEvaluateOfferingRulesForAllUser Instructor /Root/XXX (to update Instructor rules)
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...