Read Only grid is working in Dev and test environment but in preprod it is giving error that {something like UUID } field does not exists.
I have tried to comment all grid columns and uncommented one by one. Two Grid columns are giving error. But I am not able to find out why. As same Record Fields are used multiple places in interface and its working as expected there.
Only in Grid Column its giving error.
Discussion posts and replies are publicly visible
Check the record fields in those two grid columns. If error says field doesnt exist then may be the some object is not identical between your pre prod and lower environment. Also would be good to confirm those two fields are in the record type in preprod.
A more precise error message would help a lot when contemplating about possible root causes.
My guess: The record type is missing a field.
Could you post exact issue to help you better.Also just try create a simple unnamed interface with just a!gridField() using the same data source and add only those two problematic columns.Let us know if that works.
Hi Stefan, I will not be able to post error/code screenshot due to privacy policy. The error is like this-
Expression Evaluation error[Evaluation ID = ###] in rule "rule!rule" at line 1268 at function a!gridField() field {####SOMELONG ID###} does not exists
I am using a local variable local!dropDownValues this local variable has value so it id fine, but as soon as I write this local variable in grid field its giving error. This local variable is using an Record to fetch data, (not the same as used in GridField data)
This code is working in dev and test and giving error only in pre prod.
Hi Shubham,
I will not be able to post error/code screenshot due to privacy policy. The error is like this-
I have find out this is giving error only in two grid field.
and in addition to that the local variable is used in a dropdown also in same interface and if I comment the grid column its working fine. but I am getting error only when I use the local variable in grid column
Run this step in TEST and PREPROD and compare UUID of field which is erroring out(Replace with your record field).Keep me posted here.
I have tried this, but no field UUID is matching with error and also I am able to use the local variable in a drop down above the grid field same local variable is working there. But the same local variable is giving error in gridcolumn
You mean field UUID's are not matching with TEST and PREPROD?Check Record UUID is matching or not.Could you check record version history in PREPROD.And i hope you are not directly making modification in PREPROD.
Shubham Aware said:Also just try create a simple unnamed interface with just a!gridField() using the same data source and add only those two problematic columns.Let us know if that works.
Have you tried this doing manually.Also have you tried redeploying interface by doing minor changes so identical version shouldn't come?