Sites cannot display dashboard record data when ID is of type text

This is a warning/awareness post for Sites implementing record views.

I've noticed that site's do not work to display dashboard record data when the ID is of type text. The error it gives is APNX-1-4198-000, which isn't very relevant. This hasn't been an issue with viewing the Record in Tempo.

The identifier in question was in the following format: 1-XXXX and when viewing it in Tempo it displays the record dashboard correctly. When viewing it in Sites, it errors saying "could not find variable XXXX." I changed it to one, and it errors saying "could not find variable one." However it works fine if the ID is set to 1.

I find it strange that the 1- is removed from 1-XXXX. I think it to do with creating the unique URL.

OriginalPostID-224533

OriginalPostID-224533

  Discussion posts and replies are publicly visible

Parents
  • The log error is: 2016-07-21 13:20:50,738 [http-/0.0.0.0:8080-3] ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation.
    com.appiancorp.process.expression.ExpressionRuntimeException$AppianExceptionProvider: Expression evaluation error at function a!sitesRecordViewLeftNav parameter 3: Invalid symbol found (comma) (APNX-1-4198-000)

    I've attached images showing
    1. The Site record list, which lists a record with an identifier of 1-2SWAG.
    2. The Site screen after clicking on the record in 1 (error).
    3. The Tempo screen after clicking on the record in 1 (works).

    I hope that helps @sally.mason

    Thanks



Reply
  • The log error is: 2016-07-21 13:20:50,738 [http-/0.0.0.0:8080-3] ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation.
    com.appiancorp.process.expression.ExpressionRuntimeException$AppianExceptionProvider: Expression evaluation error at function a!sitesRecordViewLeftNav parameter 3: Invalid symbol found (comma) (APNX-1-4198-000)

    I've attached images showing
    1. The Site record list, which lists a record with an identifier of 1-2SWAG.
    2. The Site screen after clicking on the record in 1 (error).
    3. The Tempo screen after clicking on the record in 1 (works).

    I hope that helps @sally.mason

    Thanks



Children
No Data