This topic is locked

Create View Programmatically

5/11/2016 3:16:10 PM
PHPRunner General questions
K
klyle author

I am trying to let users create rules so that they can define simple workflows via Dynamic Permissions.
When the user creates a rule that UserGroup WidgetAdmins can access Widgets in Status "New", I will need to create a view like "Select * from Widgets where status='New'" so that I can set the Access Control/Dynamic Permissions for that View and Rule or enable the user to do so.
Anyone have ideas as to how/whether this can be done?
Any other requirements for creating views programmatically within an application?

Sergey Kornilov admin 5/13/2016

View (Custom View) is something that can only be created in PHPRunner software itself. This is not just the SQL query but a set of PHP files generated by PHPRunner.