Error in Record sorting

Certified Associate Developer

Hi all,

I am using a view as the data source for an entity-backed record.  I have a field "Student Full Name" in the view, which I am getting by concatenating "Student First Name" and "Candidate Last Name" using the function concat("studLastNm", ", ", "studFirstNm").

So, for example, in the view and record the student full name will be displayed as "Brewer, Allan".  There are no null or empty values in "Student Last Name".  My CDT for view has primary key.  When I sort the view for "Student Full Name" in the cloud database, the values are getting sorted properly.  But the same in the record gives the following error:

The alias [[field=STUDENT_FULL_NM, ascending=true]] cannot be used because it contains illegal characters. The alias must contain only letters, numbers, and underscores, and must start with a letter. (APNX-1-4203-009)

Does the record sorting not work when the field has commas?  

Can someone help me to fix this issue?  Thanks.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to Stefan Helzle

    Hi Stefan,

    Thanks for your reply.

    I am using this "STUDENT_FULL_NM" in the view as a link field.  The following is the configuration for the link field:

    a!recordLink(
    label: rf!STUDENT_FULL_NM,
    recordType:rp!type,
    identifier:rp!id
    )

    It gives the alias error which I mentioned only in the link field, when I use it in the normal text field in the record list it is sorting properly and does not give any error.

    The Appian version I am using is 21.1.  Any suggestion?

Children