How to hide emergency phone in person screen panel

SOLVED

Hello,

We're wanting to remove/hide the emergency contact number from the person summary screen (even if it's not null) and the phone/email tab. See attached screenshots where these appear in our instance of Sage CRM.

Does anyone know if this is possible?

Parents
  • 0

    It is but it's a fiddle. These fields are controlled by translations. The only way you can do it is to write a custom content script on another screen and basically traverse through the DOM and remove them. They don't have element IDs either so you need to search for the string Emergency: and then hop on through the DOM a bit more and find the number if it is there and then hide it using CSS. For the edit screen it would be a bit easier as the fields have IDs but you then don't have a way to put a custom content in unless you use the top content box. It isn't easy.

    Unless anyone has any ideas using the client side API

Reply
  • 0

    It is but it's a fiddle. These fields are controlled by translations. The only way you can do it is to write a custom content script on another screen and basically traverse through the DOM and remove them. They don't have element IDs either so you need to search for the string Emergency: and then hop on through the DOM a bit more and find the number if it is there and then hide it using CSS. For the edit screen it would be a bit easier as the fields have IDs but you then don't have a way to put a custom content in unless you use the top content box. It isn't easy.

    Unless anyone has any ideas using the client side API

Children