Skip to content

Author: Anshu

PowerSchool Student Immunization Non-Compliance SQL

 

PowerSchool – Getting Parents Username and Email from Access Accounts

With the above code, I have limited the result to only mother and father.

To add more into the result here is the list of relationship type ID in powerschool, you will need to edit line number 39 and add more relationship type ID’s.

 

Javascript – Capture Multiple Form Changes

On page load we can use a JavaScript function to capture the data in the forms – this can be done quite simply with jQuery’s serializeArray()

This assumes each form has a unique id – if your forms don’t have id’s we can modify the code to give the form an id.

Now you can do the following

 

Getting PowerSchool Access Token

PHP code to get PowerSchool access token:

jQuery code to get PowerSchool access token:

Client ID and Client Secret is available under “Data Provider Configuration” inside the plugin settings.

Search for string in php files (Including subdirectories)

While working on freelancing project, I was told to include a search functionality which would search all php file in a directory including its sub-directories. I used the file_get_contents function of PHP in this following way.