Answer the question
In order to leave comments, you need to log in
How to create a new field type in Bitrix24?
Good afternoon!
There was a need to make a new type, namely the type that perceives html. Let's say you need to display a link
Maybe there are suggestions how to turn it? I didn’t see the structure in my eyes, there is no such document in the documentation
Answer the question
In order to leave comments, you need to log in
First you need to understand what exactly you want to get, since you should distinguish between a user property (for an infoblock, hereinafter simply a property) and a user field (hereinafter a field, for all other system entities).
Then, you need to think about whether it can be obtained in another way. For example, for an infoblock, you can use the existing "HTML/text" field and specify in it that it is forced to use HTML without the possibility of changing the type.
If this is not something and you really want to make your own, then you can search for information on the Internet:
There is a description of how to create your own types of properties - https://blog.sibirix.ru/2012/05/12/user-type-descr... the article is good and the description is decent. Or, for example, here - blog.gealab.ru/web/user_type_oniblockpropertybuild...there is a description
If, for example, you want to create a new field type: https://dev.1c-bitrix.ru/community/blogs/oracle/183.php
But I want to note right away: Business processes and the Document Library will NOT use your field types - their list is not expandable and is hardwired into the core of the system.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question