how solve this error?

0
?How solve this error CE0251    Searching for an object is not allowed for the entity 'UserManagement.Department', because it is not persistable  
asked
1 answers
1

Hi Asmaa,

 

Reading your question, I think you added a search input to a datagrid with non persistable entities as a source. As the search fields generate an xPath constraint for your database, it's not possible to use it this way.

 

As we don't know your app or usecase, you could see if Department is supposed to be non persistable (as in; not stored in the database). Changing it to a persistent entity enables you to save/store the details of the department and use it in a search bar as well.

answered