Grid Plus error: gridRecordField → “Record field input must not be null or empty” (query rule source, no value on column)

Certified Senior Developer
  • Product: Appian
    Area: Interfaces → Plug‑ins → Grid Plus Layout (gridPlusLayoutField)
    Appian version: [e.g., 25.3]
    Database: MariaDB


    Problem Summary

    I’m displaying data in Grid Plus using gridPlusLayoutField + gridtextcolconfig, with the grid sourced from a query rule (Record DataSubset). When I configure a column using recordField: gridrecordfield(recordType!...fields.<key>), I’m getting:

    Interface Definition: Expression evaluation error at function 'gridRecordField': 
    Record field input must not be null or empty
    

    I need to render null‑safe text (e.g., “-”, “Not Available”) for some fields, but my Grid Plus build does not support a value/valueFunction/valueExpression property on gridtextcolconfig.


    Full Error

    Interface Definition: Expression evaluation error at function 'gridRecordField' [line 36]:
    Record field input must not be null or empty
    

    I have attached my code also

    gridPlusLayoutField(
      queryRuleName: rule!FIO_EXP_showAllDetailsForGridPlus, 
      queryRuleInputs: {
        appianFundFamilyId: ri!appianId,
        anduinFundId: ri!anduinId,
        commonOrderIds: tostring(local!commonOrderIds)
      },
      columnConfigs: {
        /* Using a record field reference here throws the error */
        gridtextcolconfig(
          title: "Appian Tax Status",
          recordField: gridrecordfield(
            recordField: recordType!{bb3ea949-98d7-46ef-bcf2-f005bf9c4847}
              FIO_Show_All.fields.appianorder
          )
        )

        /* Note: My version does NOT allow `value` on gridtextcolconfig,
           so I can’t do per-row null formatting here. */
      }
    )

  Discussion posts and replies are publicly visible