API to read all attachments of a given product

58 阅读1分钟

Created by Jerry Wang, last modified on Feb 18, 2016

There is a convenient function module to get all attachments‘ detail information including attachment guid and properties for a given product:

CRM_PRODUCT_DOC_GET_DETAIL_API .
When the product overview page is to be displayed, it will be called to dynamically determine whether an image thumbnail is available for current product.
clipboard1
you just need to put the product guid to parameter is_product:
clipboard2
and all detailed information is available in importing parameter lt_prop_result.