Top
Find the window variable values for Visibility Rules
  • 16 Nov 2023
  • 1 Minute To Read
  • Dark
    Light
  • PDF

Find the window variable values for Visibility Rules

  • Dark
    Light
  • PDF

Article summary

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,

  1. Go to the page you want to create content on the target desktop application.

  2. 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.
    2022-09-22_18-51-22 1.png

    Note

    The title changes when you Go to a different window or page in the application.

  3. Go to the Whatfix Desktop Dashboard and select the Widget you want to edit.

  4. Under Visibility, select Window Variable.
    select_windowvar.png

  5. Set the following rules,

    • Variable name - _wfx_window_title
    • Operator - Contains
    • Variable Value - Title of the window on the application
      window_var_entries.png
Note
  • 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.

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.