Community
Participate
Working Groups
Description: Set a map on table row, then all the data item on the row is set the map automatically. Delete the map rule on some data items, but that does not take effect. The map rule should take the highest priority from the data item, then table row.
Is the map saved as property of the table row or property of the data items? If former, how can data row tell it is not inheritnig the rule from the tbale row?
There could be two kinds of conflict use cases: 1. If the map rule of data item and its container are same, user want to remove the maprule on the data item, so he/she delete the maprule on it. 2. If the map rule of data item and its container are different, user want to inherit the maprule of its container, so he/she delete the maprule on it. It's difficult for Model to handle these two cases to meet user's requirement. So my suggestion is to add a GUI interface for user to choose whether to inherit the container's property or not.
There are two cases from user for the property value which can be extended from parent element. 1. The value on the report item itself is null but the value of this property is extended from parent. 2. The value on the report item itself is null, and users expect it is null of this property on the report item. From the current UI, how could we distinguish this? So, firstly UI need the new mockup to support this feature. Proposed solution: If the report item map rule list is null and the valule is extended from parent: 1.If user click delete a rule, then call Model API to copy the rule list from parent, delete the one that user choose. 2.If there is only one rule defined in parent, after user delete the rule operation, there will be an empty list in the report item so that it will not extended any value from parent any more. 3.Add an icon in the designer "atuto value". If user press this icon, the value in the report item will be set to null. So the map rule list value will be extended from parnet. Same case for filter condition. Set to p5 to under review cross team.
(In reply to comment #3) > There are two cases from user for the property value which can be extended from parent element. > 1. The value on the report item itself is null but the value of this property > is extended from parent. > 2. The value on the report item itself is null, and users expect it is null of this property on the report item. > We support #1 today, defer #2 support for future release. A work around for #2 is to create an empty mapping rule for the report item.