Answer the question
In order to leave comments, you need to log in
Can 1C, when taking orders from the site with an xml file, also take images?
Can 1C, when taking orders from the site with an xml file, also take images?
When placing an order on the site, users have the opportunity to attach images, the site gives 1Ske an xml file with orders, is it possible to transfer these images to 1C with an xml file either as a link or in base64 format? It sounds crazy, I understand, but the problem has been hanging for 2 weeks. Tried to google this question, but found nothing on this topic.
Answer the question
In order to leave comments, you need to log in
Set event handling = when creating an order.
In the method, you can open the image corny through file_get_contents.
Add the information received in the order field. Specify the receipt of this field in the download.
Maybe in Base64 format. In the same xml file. If the configuration is typical, then there is a common module AttachedFilesUtility. As an example of calling a procedure from a module:
And so, it is better to look towards data exchange. If you configure the upload in the desired format, as well as the exchange when the file appears. That I think will work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question