'Agreement' found in 'Order By' parameter is an invalid Entity
Question

Hi,

Whenever I try to click on a action, I am getting the below error.

Agreement' found in 'Order By' parameter is an invalid Entity

Thanks,

Kushala

mvp_badge
MVP

Hi Kushala ,

Look like sorting error,

can you share some code of images.


Regards

Rahul

Hi Kushala ,

If it is possible, can you please share you screenshot here .It will give more clarity in understanding your problem.


Vijay M-

Do you have multiple aggregate in app, order by uses session. if you logout and login you will not get this error possibly .

Also check those aggregates and check that you are using the same expression in the dynamic sort.

This worked! Thank you very much Abdul!

mvp_badge
MVP

Hi Kushala,

Could it be that you are using a Calculated Attribute for Sorting? 

If this is the case, you should only use the Calculated Attribute's name in the Column property of the List_SortColumn widget (like "Approval" in the below example). Normally for an Entity Attribute you would use the syntax "{EntityName}.[AttributeName]" but it works differently for Calculated Attributes.

Also remember to logout and log back into your application, after you made the change and published, in order to clear the session first.

Hope this helps!

Regards,

Nordin

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.