PrashantLearnIT
Giga Sage

Hello Everyone,

 

Did you know you could make a string field a hyperlink in list view? In the list view by default only the first field and reference fields appear as hyperlinks but using the [code][/code] tag any string field can be made as a hyperlink in the list view. The link can be used to point to a specific table, with a specific filter and can be populated using Business Rule,etc.

This can be useful in cases wherein we have to link to a list of CIs updated by discovery for example.

Try below steps in your PDI:

  1. Take any string field or create a new one and add attribute No Truncate to true(change to advanced view and add no_truncate=true to the attribute field).
  2. Enter [code]<a href="/cmdb_ci_list.do" target="_blank">10</a>[/code] in the value and save the form.
  3. Go to the list view and add the field if not in the list view. The field should appear as a link to the CI table.

 

If my content helped you in anyway, please mark this content as BOOKMARK, SUBSCRIBE & HELPFUL

 

Best Regards,

Prashant Kumar (LearnIT)

 

YouTube Channel LearnIT: https://www.youtube.com/@learnitwithprashant

Blog LearnIT: https://medium.com/@LearnITbyPrashant

Prashant Kumar LinkedIn: https://www.linkedin.com/in/learnitbyprashant/

ServiceNow Community Prashant Kumar - https://www.servicenow.com/community/user/viewprofilepage/user-id/19635

27 Comments