Skip to main content

Outline


SFSP

SalesForce Show Page
Description

SFSP is a LWC (Lightning Web Component) that can be added to any page with a Case ID parameter present.

The aim of SFSP is to reduce clicks by providing the show page link in the case which would eliminate the need to visit the cluster and search for the Exceed instance.

This can be achieved due to us storing the "SalesForce ID" in the show page records for most instances, Unfortunately there isn't currently a way to get the data from BQ to SalesForce programatically so a JSON file has to be exported from BQ and uploaded to SalesForce as a static resource every month or so.

The component reads the JSON file and compares the account ID's to the one related to the current ticket and generates a Show page link based on cluster name.

Dependencies

SFSP has the following dependencies that are required for it to work.

Name Platform Description
CurrentPageReference SalesForce CurrentPageReference is effectively a parameter within the URL, in this instance it is the record ID of the case, Without it the component can't get the account ID of the case submitter.
showpagejson SalesForce This is the JSON file that is used to load the Show Page data into SalesForce, It is a static resource within SalesForce and must maintain the name "showpagejson" and the following Schema
Flowchart