Dynamic Favicon
Overview
Widget that can be used to select favicon dynamically . The user can store the favicon in database and configure the attribute value in the widget.
Documentation
Widget that can be used to select favicon dynamically . The user can store the favicon in database and configure the attribute value in the widget.
Features:Change the favicon dynamically.
Store the favicon value in database.
Keep consistent favicon for all application.
User can easily change favicon at UI level.
Usage :The widget needs to place in dataview or listview a context object to pass to configure attribute value. You can choose to make this object persistent or non-persistent. Configure the data view to retrieve the options to show in the favicon and select which attribute can be used as Favicon. If you want some options to be selected when rendering the widget, also choose the attribute that can be used for the default selection property.
Configuration:General :
To configure this widget, I need to follow below steps:
Example : I want to place this widget in the navigation layout to load favicon for all pages.
1. Create a Entity in Domain Model and create a string attribute to store the favicon value.
2. Create a snippet, place this snippet in navigation layouts.
3. Create a dataview inside the snippet. Configure data source type as Microflow.
4. Create a Microflow "DS_ConfigureFavicon" return the object.
5. Place the widget in dataview and configure the attribute value.
Note : For UI level users who want to see favicon value do need to configure the datagrid and dataview pages for the favicon entity.