A
A
Apostol632019-09-11 16:01:14
1C-Bitrix
Apostol63, 2019-09-11 16:01:14

How to save a picture via CCrmDeal->update?

Hello everyone
For 3 hours I can’t figure out how to save the picture through update? Everything else is updated quietly, except for the picture.
I pass the id of the image received via CFile->SaveFile

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2019-09-29
@gromdron

I'm passing the id of the image received via CFile->SaveFile

You need to pass there not an id, but an array obtained via CFile::MakeFileArray, because all methods work with this array.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question