This article covers how to add widgets within the workarea to allow them to be selected on the front end of the website.
Once your widget code has been deployed to the widgets folder in the site root of the website, complete the steps below in order to use it.
- Open the workarea folder.
- Navigate to Settings > Configuration > Personalizations > Widgets.
- Click on the Synchronize Widgets from /widgets/ folder button.
- Look at the list. If your widget doesn't appear in the list, then it has not been copied to the widgets folder in the site root.
- If your widget is in the list, navigate to settings > configuration > template configuration.
- Edit the wireframe template you would like the widget to appear on. Wireframe templates will be denoted with (Wireframe Template).
- Update the template to include your widget by finding it in the list and clicking on it.
- Update the template configuration.
- View a page referencing the template in edit mode on the site and verify your widget is listed. Note that you must reload the page before it will be available.
For workarea dashboard widgets the process is slightly different.
- Make sure the widget is placed in the /workarea/widgets folder
- Follow steps 1-3 from the steps above. Note that workarea widgets will not show up in the list after synchronizing
- Navigate to settings > configuration > personalizations > widget space
- Edit the UserSmartDesktop widget space
- Select the new widget from the list and update. If the widget did not display in this list, then there may be an issue with the widget or it was put in the wrong folder.
- Click on the desktop tab in the workarea
- On the far right hand site you should see a dropdown icon. Click on this and your widget should be available to drag into the widget space.