- 16 Nov 2023
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
Find the window variable values for Visibility Rules
- Updated On 16 Nov 2023
- 1 Minute To Read
-
Print
-
DarkLight
-
PDF
Visibility rules are used to define where and to whom you display Whatfix content after it is published. One way to do this is by using Window Variable values to control where the widgets appear.
For example, you can choose to display different widget segments on different windows of desktop applications.
You can show a Task List when a User navigates to the Welcome page in MS Teams, or a Self Help tab when they upload files on the Files page.
Finding the Window Variable value
Use the following process to find the value of the Window Variable for any page of your target desktop application,
-
Go to the page you want to create content on the target desktop application.
-
Hover the cursor over the application's icon on the task bar. This title is the Window Variable Value for the page you are on.
NoteThe title changes when you Go to a different window or page in the application.
-
Go to the Whatfix Desktop Dashboard and select the Widget you want to edit.
-
Under Visibility, select Window Variable.
-
Set the following rules,
- Variable name - _wfx_window_title
- Operator - Contains
- Variable Value - Title of the window on the application
- The Window Variable Name is always _wfx_window_title, and the recommended operator is Contains . Only the Variable Value changes depending on the page/window.