I am trying to display a multiple text field in a SAIL gridField (Record Dashboa

I am trying to display a multiple text field in a SAIL gridField (Record Dashboard). My field contains multiple text values separated by ; .
My SAIL code doesn't work:
          a!gridField(
                    label: "Event Logs",
                    columns: {
                     rule!APN_uiGridTextColumnAuto(
                              label: "Description",
                              data: rf!logs,
                              alignment: "LEFT"
                     )
                    },
                    value: {
                     startIndex: 1,
                     batchSize: 6
                    }
          )
Expression evaluation error in rule 'apn_uigridtextcolumnauto' (called by rules 'apn_uisectiononecolumn' > 'hrp_uploadpanelcsv'): Invalid index: Cannot index property '' of type Text into type List of Text String (APNX-1-4198-000)

Any suggestions?
Thank you

OriginalPostID-167779

OriginalPostID-167779

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    I'm not quite sure why you're using rule!APN_uiGridTextColumnAuto here. You should just be able to use a standard a!gridTextColumn - but you'll also need to set the value property for the gridfield to a pagingInfo variable or type (you're currently defining a dictionary type) and define the totalCount property for the grid so that the gridfield actually works.
Reply
  • 0
    Certified Lead Developer
    I'm not quite sure why you're using rule!APN_uiGridTextColumnAuto here. You should just be able to use a standard a!gridTextColumn - but you'll also need to set the value property for the gridfield to a pagingInfo variable or type (you're currently defining a dictionary type) and define the totalCount property for the grid so that the gridfield actually works.
Children
No Data