amrithaanayak
ServiceNow Employee
ServiceNow Employee

This article aims to walk you through how to configure Quick links in HR agent workspace.  You will have similar data brokers for Announcements and My frequently used apps. Please note the steps in the article map to Vancouver release.

 

Persona: sn_hr_agent_ws.admin, sn_hr_core.basic is required at minimum to perform the steps below. 

 

The content delivery section seen in screenshot below will be available only when Content Publishing plugin is installed. 

 

CD image.jpg.png

 

To configure links in Quick links, you can do the following: 

  1. Navigate to Content Publishing>Re-usable Content>Link Content and create a record with type as Link 
  2. Navigate to Content Publishing> Schedule Content. Create a new record with either existing content or create a new one. 
    • For field Content, use an existing record and create a new record with the link field pointing to the record used in step1 
    • Select Content Location as UIB workspace. 
    • Component type as Quick Links 
    • Give a value to Content group field. (The value given here is the exact value that will be used in databroker) 
    • Submit 
  3. Navigate to UI builder for Agent workspace for HR case management, click on Landing Page. If you want to make a configuration, make a copy of the page. 
  4. On the left pane you will find the data icon which provides the getQuickLinksContent databroker. For the content_id field provide the value you have given for the Content Group field in step 2 above.  Its important for the value of content_ID field to be an exact match to the value in Content Group field.

 DBicon.pngDatabroker.png

 

This will then map the needed link to the Quick Link Component. 

The main aspect of this is the records in schedule content table need to have the fields content type, content group and content location should reflect the type, the ID being used in databroker and UIB workspace respectively.

Screenshot 2024-03-21 at 1.38.53 PM.png

 

Similar steps need to be followed for the Announcements and My frequently used apps. The databrokers are getAnnouncementsContent and getMyFrequentlyUsedAppsContent respectively. The product documentation will give you more details on creating re-usable content.

 

Ensure to mark this page variant as default or higher order (lower value) than the default OOB page variant. 

Please note: The order field on the page also accepts negative values.

Comments
Jill Wolfe
Tera Contributor

Can you provide the same workflow for Utah? We have not upgraded yet and I am struggling with the workflow provided.

Jill Wolfe
Tera Contributor

No results.png

Jill Wolfe
Tera Contributor

Not able to get any results. See screenshot.

amrithaanayak
ServiceNow Employee
ServiceNow Employee

Hello @Jill Wolfe

 

Apart from the steps to duplicate the landing page variant the steps to creating the scheduled content and the entry in databroker should be the same. Can you please verify this for me?

 

I see that "content_id" field has value "quick_links". Is this the exact same as the value in the Content group field while creating the scheduled content? If there is a space in the value of the content group field for the schedule content that will be expected in the content_id field so please copy paste the  valu of content group field in this cotent_id field.

 

This is the usual miss I have seen causing quick links to not show up. Keep me posted

 

Jill Wolfe
Tera Contributor

Thanks so much I believe that was the piece that was unclear to me in the knowledge doc. 

Jill Wolfe
Tera Contributor

How do you add multiple items? When I am adding My Frequently Used Apps. It saves but then if I add another it replaces it.

 

Jill Wolfe
Tera Contributor

I figured it out. You have to reuse the content id for all items.

amrithaanayak
ServiceNow Employee
ServiceNow Employee

Hi @Jill Wolfe, Yes that sounds right. I am glad you are all set.

preethigovi
Tera Contributor

Hi @amrithaanayak ,

Iam stuck in creating content, and the JSON Payload shows empty Kindly suggest

preethigovi_0-1732692787415.png

 

Version history
Last update:
‎03-21-2024 01:47 PM
Updated by:
Contributors