General Standards
- 30 Mar 2022
- 1 Minute to read
- Print
- DarkLight
General Standards
- Updated on 30 Mar 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
General Standards
Proper Use of Core and Custom Schema Definitions
- Do not store values in a core schema that doesn’t describe the data. For example, don’t store a job code value in the physicalDeliveryOfficeName attribute.
Storing Employee and Student IDs
- Use the employeeID attribute for storing employee IDs and student IDs.
- If there is a chance of overlap, add a prefix of E for employees or S for students. Store the original value in the employeeNumber attribute. For example, an employee with an employee ID of 1234 would have employeeID=E1234 and employeeNumber=1234.
Use of Quotations
- Always use double quotes (“) when referring to strings
Referring to Record Field Values
- Always refer to record fields using record[‘field’] syntax. (i.e. refrain from using record.field)
- Using consistent syntax helps everyone understand the usage.
- record[‘givenName’].toUpperCase() <-- standard
- record.givenName.toUpperCase() <-- not standard
- record[‘givenName’].toUpperCase() <-- standard
- record.givenName.toUpperCase() <-- not standard
Was this article helpful?