Hello, I am trying to create a pickerFieldCustom. I was able to make

Hello,

I am trying to create a pickerFieldCustom. I was able to make one that works when selecting a single result, but what is the best practice or implementation of selecting multiple results?

Thanks....

OriginalPostID-114655

OriginalPostID-114655

  Discussion posts and replies are publicly visible

Parents
  • I created the rule and used this code. Now when I test the picker it leaves no label.

    selectedLabels: if(
    or(
    rule!APN_isBlank(
    ri!value
    ),
    count(
    ri!value
    ) = 0
    ),
    null,
    apply(rule!RULE_multipleEmployeeLabelForPicker(identifier: _, labels: rule!Q_getEmployeeForPickerByID(
    ri!value
    ).Name_Email_Division, identifiers: rule!Q_getEmployeeForPickerByID(
    ri!value
    ).UserID), ri!value
    )
    ),
Reply
  • I created the rule and used this code. Now when I test the picker it leaves no label.

    selectedLabels: if(
    or(
    rule!APN_isBlank(
    ri!value
    ),
    count(
    ri!value
    ) = 0
    ),
    null,
    apply(rule!RULE_multipleEmployeeLabelForPicker(identifier: _, labels: rule!Q_getEmployeeForPickerByID(
    ri!value
    ).Name_Email_Division, identifiers: rule!Q_getEmployeeForPickerByID(
    ri!value
    ).UserID), ri!value
    )
    ),
Children
No Data