Skip to Content
0
Aug 02, 2023 at 11:57 AM

update possible values of a Filter object with selection of another Filter object in the same page

109 Views

Hi,

I have a requirement to update the possible values in a "Control.Type.FormCell.Filter" object. Those values should be restricted based on the selection of another Filter object. These filter objects are referring to Countries and the customers in the selected country. I could implement the same requirement with one Filter object and one ListPicker object. It was straightforward rule file implementation with the "setTargetSpecifier" method, which was explained in the following part of the document.

https://help.sap.com/doc/f53c64b93e5140918d676b927a3cd65b/Cloud/en-US/docs-en/guides/getting-started/mdk/advanced/customizing-with-advanced-rules.html

However this implementation did not work out for the second Filter object. I could not either implement it with the custom rule file of the "FilterProperty" of the second Filter object. Because the custom rule file is only triggered in the beginning of the entire page.

Could anyone propose a workaround?

Thanks

Regards

Yavuz