Skip to main content
abdor7075
New Participant
May 7, 2024 3:51 AM UTC
Solved

Bug in Build an Application Step 5

Hi everyone, I'm using the latest Appian Community Enviroment, but I can't finish the Step 5.  In the Edit List part I use this Expression:

if(a!isNullOrEmpty( fv!row[recordType!W#SA Vehicle.fields.image] ), a!EXAMPLE_DOCUMENT_IMAGE(), fv!row[recordType!W#SA Vehicle.fields.image] )

And I get the following error: 

Expression evaluation error at function a!gridField_23r3 [line 51]: A grid component [label="null"] has an invalid value for "columns". A grid column [label="Image"] has encountered an error. Expression evaluation error at function a!imageField [line 52]: User Does Not Have Rights to Perform this Operation

I don't have access to the database or any vehicle data to manage the user permissions.

Thanks!

varuntejg243705
Inspiring
May 7, 2024 9:57 AM UTC

Hi [mention:1913a6c1d21c4b39bf94848f5e2b18ab:e9ed411860ed4f2ba0265705b8793d05] ,

If you are using the Us.appian.community site.

definitely, you'll get this because some of the images are present in the appian are not accessible .

Still they don't permit us to use them, we cannot change the permissions of the images as we are just basic users in the community site.

5 replies

nainak5962
Participating Frequently
May 7, 2024 5:42 AM UTC

Hi, it appears that the image you are referring to in the grid has been uploaded somewhere in the environment, but you do not have access to it. Please ensure that you have the proper rights to view the image.

varuntejg243705
Inspiring
May 7, 2024 9:57 AM UTC

Hi [mention:1913a6c1d21c4b39bf94848f5e2b18ab:e9ed411860ed4f2ba0265705b8793d05] ,

If you are using the Us.appian.community site.

definitely, you'll get this because some of the images are present in the appian are not accessible .

Still they don't permit us to use them, we cannot change the permissions of the images as we are just basic users in the community site.

rohitm7223
Participating Frequently
May 7, 2024 6:55 AM UTC

Can you write the entire code, where you are using the expression, to get more clarity?

Although it seems to be a security issue for the document. Try checking the folder, KC and document security.

Participating Frequently
Nov 7, 2024 12:08 PM UTC

even i am facing this error.

shanmathip7466
Inspiring
Nov 7, 2024 3:22 PM UTC

Hi nainak5962 ,

If you are using the Us.appian.community site.

definitely, you'll get this because some of the images are present in the appian are not accessible .

Still they don't permit us to use them, we cannot change the permissions of the images as we are just basic users in the community site.

[mention:9e40758eb1f64f23a1d2c888a29ea1f4:e9ed411860ed4f2ba0265705b8793d05] ,

As Varun Mentioned, you don't have permission. I would suggest you to remove the image constant, add new image and create constant and use