Package: Recruiting(JS2)

Notes Icon Throwing Javascript Error

Salesforce implemented a number of new security protocols in the Fall of 2017. One of these includes restricting the use of Javascript coding in Formula Image Fields.

Jobscienceprovided customers a 'Notes' Icon to quickly access the Chatter Feed for a Contact. Unfortunately, while it is useful to use, it is not part of the JobsciencePackages; therefore, we (Jobscience) cannot change the coding in mass for all customers. The below steps will need to be taken on an individual Org database level to regain Notes functionality. The steps also need to be completed by a User with System Admin permissions.

  1. Go to Setup > Customize > Contacts > Fields.

  2. Find & Click Edit for Notes.
    It will be a 'Formula (Text)' Datatype.

  3. The Formula Field coding will look similar to this:

    HYPERLINK("javascript:void window.open('/apex/c__ChatterNotes?scontrolCaching=1&id="& Id &"','Azaza','width=450,height=600,left=100,top=100 fullscreen=1')", 
    IMAGE("/servlet/servlet.ImageServer?id=0168E00xxx00LSfF&oid=00D8E00oier08beT&lastMod=14526251394854000",
    "Notes"), "_self")
  4. Remove the highlighted sections above.

  5. Click Save.