Do you mean the preview image that you see on table or tile layout? You have to check-in a file with the special context "icon". Whatever is latest that is checked-in to that context will appear as the preview. If there is no "icon" checkin, it will use the latest snapshot and look for a file of type "icon" in that snapshot.
(08-28-2020, 02:51 PM)remkonoteboom Wrote: Do you mean the preview image that you see on table or tile layout? You have to check-in a file with the special context "icon". Whatever is latest that is checked-in to that context will appear as the preview. If there is no "icon" checkin, it will use the latest snapshot and look for a file of type "icon" in that snapshot.
I am sorry, but I mean use python code to update the preview image.
(08-28-2020, 02:51 PM)remkonoteboom Wrote: Do you mean the preview image that you see on table or tile layout? You have to check-in a file with the special context "icon". Whatever is latest that is checked-in to that context will appear as the preview. If there is no "icon" checkin, it will use the latest snapshot and look for a file of type "icon" in that snapshot.
I am sorry, but I mean use python code to update the preview image.
For example, if you use python api to upload images to particular sobject, changing the preview would look like: