Your community experience is moving to Customer Central, our new portal, this summer, with a more intuitive experience. Learn More.
Hi everyone,
I am trying to add a custom student field checkbox inside the following PowerSchool admin page:
accessaccounts.html
I add this filed "IsCommittedForNextYear" and create a page fragment called "accessaccounts.student_access_commitment.content.footer.txt"
The field works correctly in:
Also Displayed the current value correctly inside accessaccounts.html
However:
Any guidance would be appreciated.
What are the details on the addition of the new field? Can you clarify what Database Extensions shows (Extension Type, Extension name, table name, Column Name)?
I added this filed "IsCommittedForNextYear " from
Legacy Custom Fields -> Student Fields
The field is also available and editable from:
I can successfully:
So the field itself is working correctly.
The issue only happens inside:
~[brij_renderform:admin-accountmanagement-pkg;:GetStudentAccessAccounts;:admin-accountmanagement-pkg;:SaveStudentAccessAccounts]
Inside this page:
I did NOT modify the native PowerSchool page directly.
Instead, I created an insertion point fragment:
accessaccounts.student_access_commitment.content.footer.txt
https://support.powerschool.com/developer/#/page/page-customization-and-database-extensions
In there, there's an example of a single checkbox for booleans which would be a single checkbox. In the example, it shows that you would use the extension name in the checkbox name attribute:
<input type="checkbox" name="[Students.U_Laptop]IsLost" value="1">
When you created the column, if it's attached to the default extension, I find I have to put in the extension name when naming the control anyway:
<input type="checkbox" value="1" name="[students.u_students_extension]mod_day_parent_consent" id="chk_mod_day_parent_consent" class="ctl_edit">
Thanks for the clarification.
The field configuration is actually a Legacy Custom Field, not a Database Extension field.
The field is created under:
System Management > Data > Legacy Custom Fields > Student Fields
and it appears in “Change Student Field Values” simply as:
IsCommittedForNextYear under student table
not as:
S_STU_X.IsCommittedForNextYear
So I think the original legacy field syntax seems to be correct: [01]IsCommittedForNextYear
I was able to:
* Display the field correctly.
* Retrieve the existing database value correctly.
* Position the row correctly inside the Student Access table.
However, the value still does not save from the `accessaccounts.html` page.
At this point, it looks like the issue is related to the page itself.
which may only process a predefined set of fields and ignore additional posted values added through insertion points.
I also confirmed the same field saves correctly from other standard PowerSchool pages and custom forms, but I need to use in this one > Guardian and Student Account Access
/admin/students/accessaccounts.html?frn=
