add "preview this record" to location on incident record

mheyman
Tera Contributor

How do I add the "Preview this record" on the Incident record.  It works great for other places in the Incident record, but doesn't show up for Location.  The location and name are both fields showing info from the location table, so attaching it to either would be great.  

 

Location = cmn_location.u_number

Name = cmn_location.name

1 ACCEPTED SOLUTION

mheyman
Tera Contributor

There was a UI policy that set location to "read-only".   Doing that eliminates the information button.  That solved the problem.

 

View solution in original post

5 REPLIES 5

Andrii10
Tera Contributor

Hi @mheyman,
The "Preview" icon (the little "i") only appears automatically for Reference type fields. If your Location or Name fields are String types, the icon will not show.

  • Ensure the Location field on the Incident form is a Reference field pointing to the cmn_location table.

  • To show both the Number and Name, use Dot-walking:

    • Right-click the header - Configure - Form Layout.

    • Select the Location field and click the Expand icon (between the slushbuckets).

    • Add the Name or Number fields from the expanded list.

Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Andrii

 

 

SumanthDosapati
Mega Sage

@mheyman 

As per your question 

Location = cmn_location.u_number

Name = cmn_location.name

It means, both are string fields. So preview icon will not be there.
 
OOB, there's already a location reference field in incident record. Just bring that to the form and make use of it as required.
 
Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth
 
 

 

mheyman
Tera Contributor

They are already reference types.  Looks like something someone else created hid that functionality for the Incident record.     

 

With cmn_location.name I was pointing to the specific dot-walked information that was showing in hopes of providing more info to help with the solution.  

mheyman
Tera Contributor

There was a UI policy that set location to "read-only".   Doing that eliminates the information button.  That solved the problem.