Announcement

Collapse
No announcement yet.

Formula to add items to multienum

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • tanya
    commented on 's reply
    Yes, you are right. For this you need to use 'list' function

  • bandtank
    replied
    It appears that I need to use the list function. That isn't shown in the 'Function' menu in the gui.

    Leave a comment:


  • bandtank
    started a topic Formula to add items to multienum

    Formula to add items to multienum

    I can't figure out how to set the values in a multi-enum using a formula. Nothing I've tried works. The entity saves without any errors, but the multi-enum doesn't have anything selected.

    Code:
    ifThen(
        entity\isNew(),
        ifThen(
            type == 'Z',
            timesheettasks = 'CAD'
        )
    );
    I've tried
    Code:
    timesheettasks = ['CAD']
    and all kinds of other things, but nothing works. I want to add multiple values, e.g.
    Code:
    ['CAD','Photos']
    What do I need to do to accomplish that? Thanks.
Working...
X