A
A
alexanderks72018-08-02 14:54:17
1C-Bitrix
alexanderks7, 2018-08-02 14:54:17

Add a custom field with a link to the block's HighLight element?

With the help of a standard exchange module, 18 thousand entries of the user directory were uploaded from 1C to the HighLight block. The site user needs to add a field so that they can bind to the HighLight element of the block.
Everything seems to be simple: create a custom property with the type "Binding to elements of highload-blocks" and specify the required block. But with such an implementation, the entire contents of the highload block is displayed in the user settings - a list of 18 thousand items or 18 thousand flags.
How can this problem be solved? Write your own page to perform the binding?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
serginhold, 2018-08-02
@serginhold

write your own implementation of the binding property to hl

A
Alexander, 2018-08-03
Madzhugin @Suntechnic

And what's the point that you write your binding? The user should choose not from 18000, but from 4 (for example)?
Well then, just remove 17996 and leave the 4 you need. And if he chooses from 18,000, then he will have to choose from 18,000.
And by the way, why the flags? If your property is not multiple, there should be a drop-down list.
Well, if you need a convenient interface, such as for binding properties to an element, you will have to get confused with your implementation.
But there is one more nuance - if your data arrives from 1s - why edit it at all on the side of the site? Some wrong approach. Either change on the site side and spit on imports from 1c (transform hl elements into regular IB elements), or continue to manage from 1c and in this case you don’t care how many thousands of checkboxes there are.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question