I uploade the images by integrating and creating them in Salesforce as file and link them with an Asset object.
All is correctly done. but the problem is that I cannot see the Image in the list view before its 'viewed' once.
the formula which I put in the formula field is this one and works when the image is viewed.
IF( (AND(NOT(ISBLANK(versionId__c)),NOT(ISBLANK(contentId__c)),NOT(ISBLANK(Image_Extension__c)) )) , HYPERLINK("/sfc/servlet.shepherd/version/renditionDownload?rendition=ORIGINAL_"&Image_Extension__c&"&versionId="&versionId__c&"&operationContext=CHATTER&contentId="&contentId__c,IMAGE("/sfc/servlet.shepherd/version/renditionDownload?rendition=ORIGINAL_"&Image_Extension__c&"&versionId="&versionId__c&"&operationContext=CHATTER&contentId="&contentId__c, "Zie Afbeelding" , 30, 30)),'')these are the sharing rights for the content documet link:
Visibility = 'AllUsers', ShareType = 'I'
What could be the reason of this issue?
1 answer
Hi @Hope E. - The formula you used depends on the public image address. You can try this formula and it should load the image without viewing it for the first time.
/sfc/servlet.shepherd/version/download/VersionId__c