Help

We’ve Expanded AI Support! We’ve broadened AI assistance across additional PowerSchool solutions, making it easier to get guidance when you need it. Learn More

Custom Student Alert

mrfcolon
New Member

Custom Student Alert

I am attmepting to make a custom student alert that if "no_photo_student" is checked (it's a custom field, which I also created an extension for located on a custom student screen named "Custom Alerts").

 

I have saved this code as "no_photo_student.html" under /alerts and /admin/alerts.

 

Any ideas why it won't work? I have asked AI and all and still no luck...

<div class="studentAlert" id="alert-NoPhoto~(studentfrn)">
~[if.~(no_photo_student)=1]
<img class="alertImage" src="/images/house.jpg" />
<div class="alertContent">
<p class="alertHeader">~(studentname)</p>
<p>Student DOES NOT have a photo release on file</p>
</div>
~[/if]
</div>

1 Reply
geoff_lilley
PowerSchool Team
PowerSchool Team

That's a whole class at PSU, but, to make a long story short, the way you reference a database extension is a little different:

~([Students.U_Students_Extension]photo_release), if that's the name of your field.

 

The PowerSchool Users Group (https://groups.io/g/psug

 

is generally a better place to ask alert and database extension questions. But there's a whole class on that at PSU, as I mentioned. (Yes, I teach it, thanks for asking).

Geoff Lilley
Customer Education Trainer, PowerSchool SIS