"Value <column name> not found error while trying to read a lookup column using Entity schema manager.
Hi,
I have a custom lookup in a section.
Trying to read the lookup value column from source code schema using Entity schema Manager, Entity Schmea Query.
But it throws a 'Value not found'
How should we read a lookup column using Entity schema Manager.
(Tried with Id suffix to the column name too)
Regards,
Anitha Premkumar
Like
Dear Anitha,
Could you please check the academy article on ESQ:
https://academy.creatio.com/documents/technic-sdk/7-15/entityschemaquery-class-getting-query-result
If you are doing everything like in the article please check if the column that you are using in ESQ exists in the object.
If the column exists please try to compile the configuration and update the db structure.
If this wouldn't help please send the code of the ESQ query itself and the screenshot of the object in configuration that you are querying.