H
H
haa2021-08-31 13:13:27
1C-Bitrix
haa, 2021-08-31 13:13:27

How to add a file upload field via the bitrix API?

Hello!

I can’t find adding fields via the API in the Bitrix documentation.

Let's say there are such fields (1 and 2) for uploading files.
612dffd3e4992501986475.jpeg
These fields can be added through the infoblock settings.
But nowhere is it described how you can add such fields through the API. The maximum that I found is CFileMan::AddHTMLEditorFrame, which adds a visual editor.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2021-08-31
@Ramapriya

Use the add method of the Bitrix\Iblock\PropertyTable class

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question