my requirement is to map area and product and show the same in view.
for ex.
area1 → prod1, prod2
area2 → prod2, prod3
area3 → prod1, prod3, prod4.
now in a view i need to display area in first column and product in second column but under area1 only prod1 and prod2 should be shown and under area2 only prod2 and prod3 should be shown and so on. No fixed nos. for areas and products
how to accomplish this. kindly reply back if any one have solution. Thanks in advance
i tried many ways to restrict the values in second column, but everything fails. do you have any idea to bring as given in the expected result from a single document.
Check Show twistie when row is expandable on the first Tab and then select “Ascending” & “Categorized” on the second tab.
For the second column (No Label): Get it’s property box and go to the 2nd Tab: Select “Ascending” and “Show multiple values as separatre entries”. In the column formula, write @If(area= “area1”; prod1:prod2; area = “area2”; prod2 : prod3; area = “area3”; prod1:prod2:prod3; “”)
or If you have the corresponding products in a multivalue field, you can directly map it to the 2nd column.
In the view properties, goto the third tab and under “Rows”, make sure you have selected “Height” as 9 (you can also select a different number as per your situation) and Check “Shrink rows to content”.