User Tools

Site Tools


widget_management

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
widget_management [2023/01/29 17:40] – created wtkadminwidget_management [2023/01/29 17:44] – [Defauling Widgets to User Dashboard] wtkadmin
Line 54: Line 54:
 When a dashboard needs to be edited by a user, simply copy the WidgetGroup and fill the wtkWidgetGroup_X_Widget.UserUID value with the wtkUsers.UID value.  Then the user will be able to add, delete and re-prioritize widgets for their own dashboard. When a dashboard needs to be edited by a user, simply copy the WidgetGroup and fill the wtkWidgetGroup_X_Widget.UserUID value with the wtkUsers.UID value.  Then the user will be able to add, delete and re-prioritize widgets for their own dashboard.
  
-===== Defauling Widgets to User Dashboard =====+===== Defaulting Widgets to User Dashboard =====
  
 The logic used to determine if a widget set is copied to a user is as follows: The logic used to determine if a widget set is copied to a user is as follows:
  
-If user already has at least one personal widget then skip. +  * If user already has at least one personal widget then skip. 
-Otherwise check to see if there is a Widget Group with a Staff Role that matches the wtkUsers.StaffRole.  If so, copy that WidgetGroup regardless of SecurityLevel. +  Otherwise check to see if there is a Widget Group with a Staff Role that matches the wtkUsers.StaffRole.  If so, copy that WidgetGroup regardless of SecurityLevel. 
-If there is not a matching StaffRole WiddgetGroup, then check to see if there is a matching SecurityLevel.  If so, copy that WidgetGroup.+  If there is not a matching StaffRole WiddgetGroup, then check to see if there is a matching SecurityLevel.  If so, copy that WidgetGroup.
  
 The "copy" process copies the `wtkWidgetGroup_X_Widget` data for the associated wtkWidgetGroup with NULL UserUID values making the new set contain the wtkUsers.UID in the wtkWidgetGroup_X_Widget.UserUID value. The "copy" process copies the `wtkWidgetGroup_X_Widget` data for the associated wtkWidgetGroup with NULL UserUID values making the new set contain the wtkUsers.UID in the wtkWidgetGroup_X_Widget.UserUID value.
widget_management.txt · Last modified: 2023/08/07 21:13 by wtkadmin