Salesforce Users/Customers face performance issues with image formulas in Salesforce Lightning. Images can be stored in documents and can be used in Salesforce Classic and Lightning, but it is not efficient since most of the time it requires multiple page refreshes to make the image appear in Salesforce Lightning.
Challenges to User/Developer:
To avoid this issue, store images in the form of Files instead of Documents.
Solution :
The Files tab supports all file types including PDF, Excel, PowerPoint, Word, image, audio, and video files up to 100MB each. Using “Manage Members”
the files can be kept private.
Follow the below steps to create files:
· App Launcher -> under all items section, click on files.
· Libraries -> New Libraries.
· To use this file as a custom image indicator, open the file->right click on the file.
->copy image address and use this address in formula.
· To add files to this library, click add files:
· To give access to this library -> Click on the dropdown->Manage Members.
With this, you can share files with Chatter, Public groups or User.
Advantage :
Images appear much quicker in both lightning and classic.
Issues :
None.
Conclusion :
Though images can be stored as documents, it is more efficient to store it in files.