cancel
Showing results for 
Search instead for 
Did you mean: 

How to narrow/refresh search results for reference editor in back office?

546

Hi,

We are using default multirefence editor to display values for an object in backoffice. but when we change the value from drop down , the data in Multi reference editor data is not refreshed.

We have configured like below:
wz:property qualifier="store" editor="com.hybris.cockpitng.editor.defaultmultireferenceeditor"

Ex: let us assume we have below condition Brand A is having 2 POS, Brand B is having 4 POS, Brand C is having 6 POS.

When we select brand in new wizard editor, respective stores should be displayed. Ex: if we selected Brand A - Store related text box/band box displaying 2 POS (initially) but when we changed Brand B still we are able to see only 2 POS but not 4 POS. I mean to say the data is not being refreshed on event change.

Please help us .

Thanks in advance. Khaja

View Entire Topic
former_member625836
Active Contributor

Hi ,

It all very much depends on your implementation. All I can suggest is the way I would approach such topic:

  • take a look at Dynamic Forms so that you can change parameters of any editor depending on other editors (see paramName Attribute section in this document)

  • use mechanism mentioned above to narrow search results in reference search (take a look at this).

Cheers, Jacek