Hi All,
I am going through Appian Developer course, where I am trying to work on
while following below steps
Follow the steps below to format the Image column.
1. Under Columns, click Image.
2. Under Display Value, click DISPLAY OPTIONS.
3. Select DOCUMENT IMAGE.
4. Under Display Value, click Image.
5. Under Images, click Document Image.
6. Under Document, click the a!EXAMPLE_DOCUMENT_IMAGE() to edit as expression.
● In the Expression Editor, delete all text, and enter the following expression:
if( a!isNullOrEmpty( fv!row[recordType!WSA Vehicle.fields.image] ),a!EXAMPLE_DOCUMENT_IMAGE(),fv!row[recordType!WSA Vehicle.fields.image])
This expression checks whether the image field is null. If it is null, it displays an example document image. The example document image is displayed for existing vehicle data; you will be able to upload vehicle images when you add new vehicles to the fleet in later exercises.
● Click OK
I am facing the below error which is stopping me to proceed. I am just going through the steps provided above in Appian Academy.
Expression evaluation error: Syntax error. Details: Expression evaluation error at function a!isNullOrEmpty parameter 1 [line 3]: Invalid index operator ''vehicle'' (expecting comma).
Can any one please help me in resolving this issue. Thanks in advance.
Discussion posts and replies are publicly visible
Hi lakshmipramodchakravarthyv0584 , The code snippet looks okay to me. However, can you try putting here entire code which is there inside a!gridColumn(), may be that can help have a better look.