T
T
tgarl2021-08-02 10:31:12
1C-Bitrix
tgarl, 2021-08-02 10:31:12

How to correctly save values ​​in infoblock properties via ORM?

Hello.
There is a code

$result = ElementFeedbackFormTable::createObject()
      ->setName(time())
      ->setFio($this->data['fio'])
      ->setPhone($this->data['phone'])
      ->save()
    ;

Everything seems to be fine, but setName is our infoblock field, and setFio is a property with the FIO code
. If I add a new MANAGER property and write setManager , it is not filled.

I check the data in general - I received it or not and I write the value of MANAGER in setDetailText - everything is OK

I just can’t understand why the values ​​\u200b\u200bare saved in the previously created properties, but not in the new one

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question