related action in interface

Hi all,

how to configure related action in an interface?

Thanks,

  Discussion posts and replies are publicly visible

Parents Reply
  •  ,

    it didn't worked, here is my code:

    a!localVariables(
    local!data: rule!WLA_GetCustomerData(id: ri!action),
    {
    a!cardLayout(
    contents: {
    a!columnsLayout(
    columns: {
    a!columnLayout(
    contents: {
    a!richTextDisplayField(
    labelPosition: "COLLAPSED",
    value: {
    a!richTextItem(
    text: "Related action to update data",
    color: "POSITIVE",
    size: "MEDIUM_PLUS",
    style: "STRONG"
    )
    }
    )
    }
    ),
    a!columnLayout(contents: {}),
    a!columnLayout(
    contents: {
    a!recordActionField(
    actions: a!recordActionItem(
    action: 'recordType!{21f5a448-961d-4423-95de-6fdf7893f7ae}WLA Customer.actions.{00525d33-36c6-4753-b7dc-0c1757587a29}editCustomerData',
    identifier: local!data['recordType!{21f5a448-961d-4423-95de-6fdf7893f7ae}WLA Customer.fields.{35c95d92-920a-4473-a4d1-a47cd0c59d55}id']
    ),
    style: "TOOLBAR",
    display: "LABEL_AND_ICON"
    )
    }
    )
    }
    )
    },
    height: "AUTO",
    style: "TRANSPARENT",
    marginBelow: "STANDARD"
    )
    }
    )

    I am facing these error:

    Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!recordActionField [line 26]: Invalid index type: Record field uuid: 35c95d92-920a-4473-a4d1-a47cd0c59d55 Record type uuid: 21f5a448-961d-4423-95de-6fdf7893f7ae Relationship path: null

Children