Special Profile Values and Functions
The following table lists special values that you can obtain from profiles.
Function | Description |
---|---|
IDT | The internal identifier of a profile. |
InactiveSince | Indicates the date/time the deactivated profile was marked inactive. This function returns empty if the profile is still active. |
FileExists(historyyear, '%pattern%', Draft/Review/Final) | Returns True if a file-based document exists with the specified criteria.
|
FileAttachedBy(historyyear, '%pattern%', Draft/Review/Final) | Returns the staff profile reference of the user who attached the file. This function returns empty if the user is not a staff user (like an administrator) or if a file does not exist. It is also possible that multiple files meet the criteria, in which case the function returns any of the staff users who attached the files. |
IsLinkedToCurriculum(curriculumroot) | Returns true if the class profile is linked to the specified curriculum. |
CurriculumLinkLabel(curriculumroot) | Returns the label of the curriculum statement that the class is linked to if a class is linked to a specific curriculum. Alternately, this function returns an empty value if the class is not linked to a specified curriculum or is linked to the root level of the specified curriculum. |
CurriculumLinkIsStrict(curriculumroot) | Returns True if the class is linked to a specific curriculum and is linked strictly to a specific statement returned by CurriculumLinkLabel. If not linked strictly, the teacher is free to deliver assessments outside of the linked area. |