Export to Excel in Records working in Tempo but not in Grid

Hi All,

I have a Record type configured in a Grid and the Grid i have configured some set of columns which are coming from the Record Type.

The Export to excel button works in Tempo.

However in the Grid when we configure the Export to Excel button It is throwing an error. 

It says expression evaluation error at function if parameter 2 line 73 invalid symbol found comma.

But when i validate the interface it is working fine.

Can someone help me out.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    The message

    It says expression evaluation error at function if parameter 2 line 73 invalid symbol found comma.

    is a hint to a possible syntax error in the code. Can you share that code?

  • a!gridColumn(
    label: "Org - Position Desc",
    sortField: 'recordType!{d806002b-c5b8-4f1f-b67e-f5ffa63826a4}s.fields.{orgPosition}orgPosition',
    value:
    a!richTextDisplayField(
    value: {
    a!richTextItem(
    text: fv!row['recordType!{d806002b-c5b8-4f1f-b67e-f5ffa63826a4}s.fields.{orgPosition}orgPosition'],
    color: if(
    a!isNullOrEmpty(
    fv!row['recordType!{d806002b-c5b8-4f1f-b67e-f5ffa63826a4}s.fields.{updatedFields}updatedFields']
    ),
    "STANDARD",
    if(
    contains(
    trim(
    split(
    fv!row['recordType!{d806002b-c5b8-4f1f-b67e-f5ffa63826a4}s.fields.{updatedFields}updatedFields'],
    ";"
    )
    ),
    "orgPosition"
    ),
    "#FFBF00",
    "STANDARD"
    )
    ),
    style: if(
    a!isNullOrEmpty(
    fv!row['recordType!{d806002b-c5b8-4f1f-b67e-f5ffa63826a4}As.fields.{updatedFields}updatedFields']
    ),
    "PLAIN",
    if(
    contains(
    trim(
    split(
    fv!row['recordType!{d806002b-c5b8-4f1f-b67e-f5ffa63826a4}s.fields.{updatedFields}updatedFields'],
    ";"
    )
    ),
    "orgPosition"
    ),
    "STRONG",
    "PLAIN"
    )
    )
    )
    }
    ),
    width: "NARROW_PLUS"
    ),

  • Hi this is the above code and its working in tempo perfectly fine. But not in the Grid which i have configured in the interface.

Reply Children
No Data