Hello. Thank you for contacting the Toolset support.
When you say programmatically - you mean you want to access the view using php - correct? If yes:
- You can use the view's PHP API function: render_view()
Thank you for the response. We're trying to access the data returned in the view.
Basically here's what we're trying to accomplish: this is for an education site where we need to email users belonging to specific roles whose scores are too low.
Currently we have a view that returns the correct set of users and displays their name, email address, and their course score.
Rather than, or in addition to , looping over the users and displaying them on screen, we'd like to be able to be able to email the users.
If we could access the view through a php function for example, we'd able to use returned users to generate emails.