tooltip/Help text/ Hint on workspace

jigyasaarora23
Tera Contributor

I want to add a tooltip/Help text/ Hint for (GRC)Engagement's Result field, in workspace. I tried the method given in the kb article(https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1006185) but that also has two limitations:
-user themselves need to enable user preference and Show help tips on forms to true.
-The text is not properly formatted

Is there any other way this could be achieved?

4 REPLIES 4

Community Alums
Not applicable

Hi @jigyasaarora23 ,

You can use a  field decorator of action type "Tooltip"

  1. Navigate to All > Workspace Experience > Actions & Components > Field Decorators.
    A list of existing field decorators appears.
  2. Click New.
  3. On the form, fill in the fields.

    The following table adds a field decorator icon to URL fields. When agents click the icon, the URL opens.

    1. Right-click the top banner and select Save.
      Related links appear.
    2. (Optional) On the Action Exclusion tab, click New to exclude children tables from inheriting this component in the Contextual Side panel, or this table inheriting components from a parent table.
      Components in the Contextual Side panel appear according to the records open in Agent Workspace. Child tables inherit these components by default. You can prevent that from happening.
      1. On the form, fill in the fields.
      2. Click Submit.
    3. Under Related Links, click Advanced view.
      Up to this point, you have not specified the URL you want to open when an agent clicks the field decorator icon. This is the task you perform in Advanced view.
    4. On the Action Attributes tab, in Payload Map, select the action attribute you want to define.
      In this example, select url.
    5. In the value field, enter the URL to open.
    6. (Optional) On the Conditions tab, in Script Condition, enter a script that can hide the field decorator.
    7. (Optional) On the Conditions tab, in Client Conditions, specify conditions on the client that would hide the field decorator.

      Client conditions are reevaluated whenever an agent makes a change in a list of records. For example, you might hide the button for a list action until an agent selects one or more records in a list. The client condition, then, is "count is greater than zero," where count is the number of records selected.

    8. (Optional) On the Conditions tab, in Record Conditions, specify a field and a value such that if an open record has a field with that value, the field decorator icon would not appear.
    9. (Optional) On the Conditions tab, in Required Roles, specify roles an agent must have to see the field decorator.
    10. (Optional) On the Confirmations Settings tab, select the Confirmation Required check box if you want to display a pop up that asks the agent to confirm the action to be taken by the field decorator.
    11. Click Update.

    Result

    The field decorator icon appears in all record fields of type reference for all of the tables you specified in Table. Clicking an icon would open the URL specified in the Payload Map.

@Community Alums : I tried but this method is not working for a choice field. 

AnimeshKar10
ServiceNow Employee
ServiceNow Employee

Hi! The documentation says - https://docs.servicenow.com/bundle/vancouver-platform-user-interface/page/administer/workspace/task/... - 

 

Note: Only a subset of field types supports field decorators. Although you’re able to select any field on a table, the type must be supported.

 

Does anyone have the field types that are not supported? Because I am unable to use decorators for choice lists.

Hello AnimeshKar10 ,

have you even found this?
I am not able to decorate String and Choice fields and even I am not able to decorate Reference fields when there is a drop down.

Works fine for Reference fields but that is not what I wanted.