Question

Entity already exists in projection

  • 7 January 2022
  • 6 replies
  • 211 views

Userlevel 5
Badge +11

Hello everyone,
I want to configure a standard projection.
I wanted to add an entity, only I have this error message when adding:


However, no entity has been created: 

 


Did I forget something?
Thanks for your help.


6 replies

Userlevel 7
Badge +20

HI @TheoB ,

You are trying to configure a new projection based on a standard projection which already contains one or more entities. Although it won’t list the entities that are currently configured for the projection , it seems there is a validation when you are trying to add a new entity and if already available, the error will be thrown. Hope this helps!

 

Thanks,

Kasun

Userlevel 5
Badge +11

Hi @Kasun Balasooriya,

Thanks for your answer.
I want to add the "CustomerOrder" entity, but it is not available in the page configuration: 

And when I add it in the projection configuration, I am told that it is already existing.
Where can I add this entity?
Thank you ! 

Userlevel 7
Badge +20

 @TheoB,

What is the page you are trying to configure? If it’s a custom page what is the projection it is based on? 

 

Thanks,

Kasun

Userlevel 5
Badge +11

@Kasun Balasooriya,

This is the "Customer" page and the projection of this page is "CustomerHandling".

 

Thanks !

Userlevel 7
Badge +20

Hi @TheoB ,

 

What’s the IFS application version you are trying this on?  I just checked this in 21R1 SU10 and I am able to add CustomerOrder entity to the standard projection CustomerHandling and publish and use it to create a new list. 

Refer the ACP attached for the projection. 

 

Thanks,

Kasun

Userlevel 5
Badge +11

Hi @Kasun Balasooriya,

I tried again today and did not get the error message. 

If the problem returns, I would delete my configuration and start over.
Thanks for your help! 

Reply