So Simple...concatenate a custom data field (string) and another string field from the same table into a new custom data field.

All I really want to do is be able to create a filter on a read-only grid but it appears to only work on a filter associated with the record type.

  Discussion posts and replies are publicly visible

Parents
  • No...there have been no suggestions yet.  I spent all day Sunday trying to update my data model to concatenate the 2 fields into a single custom data field using the real-time and sync option methodologies.

  • Can you describe more what you have tried? If the fields are on the same record type, you should be able to just use the concat function or the "&" operator to concatenate them together. For example:

    rv!record[recordType!Case.priorityName] & rv!record[recordType!Case.priorityRank]

  • Thank for getting back to me.  I'm trying to concatenate 2 fields into one custom data field.  I tried a bunch of different things. I'm creating my own expression because none of the other options do what I need.  The first data field is on a related record.  The data-sync option doesn't allow me to get to a related record so I have to use the real-time methodology in order to reference the first field.  But then I'm limited to the CustomField functions and can't use the concat() function that you suggest because that's only available with data-sync.  If I attempt to use the "&" without the concat() function in real-time, Appian concatenates the field NAMES but not the data.

    Next I tried to create a CustomField with just the related related record field...again in real-time. That worked. I then thought I would be able to use the data-sync option to do the concatenation when both fields are on the same record level. But when I attempt to use the format you suggested (rv!record...) the CustomField doesn't show up as a field name so that doesn't work either.

    I seem to be in a Catch 22 scenario.

Reply
  • Thank for getting back to me.  I'm trying to concatenate 2 fields into one custom data field.  I tried a bunch of different things. I'm creating my own expression because none of the other options do what I need.  The first data field is on a related record.  The data-sync option doesn't allow me to get to a related record so I have to use the real-time methodology in order to reference the first field.  But then I'm limited to the CustomField functions and can't use the concat() function that you suggest because that's only available with data-sync.  If I attempt to use the "&" without the concat() function in real-time, Appian concatenates the field NAMES but not the data.

    Next I tried to create a CustomField with just the related related record field...again in real-time. That worked. I then thought I would be able to use the data-sync option to do the concatenation when both fields are on the same record level. But when I attempt to use the format you suggested (rv!record...) the CustomField doesn't show up as a field name so that doesn't work either.

    I seem to be in a Catch 22 scenario.

Children