Products Image Upload
The action transfers an image file from the ERP system into your client's media directory. It is the connector's only action where a file arrives and not just fields, and it is therefore the route by which product images reach TRADElube at all.
What gets transferred
The ERP system sends two things, the file name and the file. The two together make a medium in the client, and the file name is at the same time the mark under which TRADElube finds it again: where the same file arrives later, the existing medium is replaced and no second one created.
The image lands on no article in the process. The action only fills the media directory. The connection to the article is made separately, in the Images section of Products Update, and there again through the file name.
That separation has a reason. An image often belongs to several articles, and an ERP system then sends it once instead of once per article. But it has a consequence worth knowing: an uploaded image that no article addresses by its name sits in the media directory without showing up anywhere.
How the transfer plan is built
The plan sits in the channel, in the Transfer Plans section under Products and there in the Image Upload tab. It has only one section, so the tab bar below is absent and the two assignments sit there directly.
| Assignment | What it decides |
|---|---|
| Name | The name the medium sits under in the client, out of the box the delivered file name |
| Content | The file itself |
Both are mandatory, on a repeat upload as well. Normally there is nothing to change here. The one case where it pays off is a diverging naming scheme: where your ERP system names its files differently from how the articles address them, you bend the name into shape through a script assignment instead of changing both sides.
Special features and limits
For a product image the ERP system calls three different routes, one each for the small, the medium and the large version. All three end up in the same action and therefore in the same media directory. They are told apart only by the file name. Which version sits in which place on the article is decided by the three tabs in Images of Products Update.
Nothing is scaled down or cropped. What arrives sits in the media directory as the ERP system sent it.
Further reading
- CAO-Faktura: login details, configuration, mappings and the other eighteen actions
- Products Update: the Images section connecting the medium to the article
- Media (reference): the client's media directory, its list and the detail view of a medium