Loading
The Trailblazer Community is now read-only Read More
Convert Existing Product Image to Base64 String in Bulk

Convert Existing Product Image to Base64 String in Bulk

For records that already have Display URL populated, create an autolaunched flow using the Convert Product Image to Base64 flow logic, then pass productId and Display URL from a batch job to the flow, which forwards them to the Convert Image to Base64 invocable action.

Required Editions

Available in: Lightning Experience
Available in: Enterprise and Unlimited Editions with Life Sciences Cloud, Life Sciences Cloud for Customer Engagement Add-on license, and the Life Sciences Customer Engagement managed package.
User Permissions Needed
To convert existing product images to Base64 string in bulk: Life Sciences Commercial Admin

Building the batch job that supplies these values is a developer task and isn't covered in this topic.

  1. From Setup, use the Quick Find box to find and select Flows.
  2. Create an autolaunched flow using the same logic as the Convert Product Image to Base64 flow.
  3. Enter a name for the flow.
  4. Add productId and DisplayUrl as input variables on the flow, and map them to the corresponding inputs on the Convert Image to Base64 invocable action.
  5. Save your changes.
  6. Activate the flow.
Note
Note Errors are logged as warnings without throwing exceptions, so batch processing continues even if individual records fail.
 
Loading
Salesforce Help | Article