Configuration Array Best Practices

Overview

ClosedBuilding Arrays

  1. Configurable array sets must be created the proper way for the +/- add/remove buttons to appear or work.
    • Create the array set before visiting the Set tab of the array attribute
    • Ensure that the array control attribute is in the same group as the array set, and is not hidden.
    • This order will always work:
      1. Create the array control attribute
      2. Create the array set
      3. Create the array attributes and add to the set
  2. If you created an array set in the wrong way, you do not need to delete your attribute and recreate it. Here are the steps to fix an Array Set that is not showing the increment / decrement buttons:
    • Do the following for each array in the array set:
      1. Go to the Array Attribute on the admin side.
      2. Go to the Set Properties tab.
      3. Change the Array Set from the real one to the default one.
      4. Change the Array Control Attribute to the blank entry.
      5. Click Apply. *important step*
      6. Change the Array Set back to the real one.
      7. Click Update.
    • Once you have done that for all arrays, the little icons should return.
  3. It is possible to have one Size attribute control multiple arrays, but it is not recommended.
    • When the same size control attribute is assigned to multiple array sets, the size of the arrays can only be controlled by directly modifying the size attribute. The add and delete (+/-) buttons will be disabled on the Configuration UI for array sets with a size control attribute that is assigned to multiple array sets.

    • It will lead to confusion in maintenance.

ClosedRecommendation Rules and Arrays


ClosedUser Experience with Arrays


ClosedArrays & Table-based Rules

ClosedReference Unique Rows in an Array


Notes

Maximum Array size is 200.

Related Topics

Related Topics Link IconSee Also