Skip to main content
Question

Issue with custom entity ODATA

  • Jun 7, 2022 8:48 PM UTC
  • 8 replies
  • 2131 views

HumbertoFloresD
Sidekick (Customer)
Forum|alt.badge.img+9

Hi, Everyone,  i have this issue when i try to consult my custom entity from the Project Definition Page

 

{"error":{"code":"ODATA_PROVIDER_ERROR","message":"An internal server error occurred. Contact administrator.","details":[{"code":"EXPRESSION_PROPERTY_NOT_IN_TYPE","message":"The property 'Cf_Related_Project', used in a query expression, is not defined in type 'IfsApp.ProjectDefinitionHandling.Project'."}]}}

i was create a relationship between 2 entities and i create a list element in one tab for can consult my custom entity but this error appears.

Somenone knows how can i fix this error?

attach my  configuration 

 

 

Thanks for the Help

8 replies

Shani Fernando
Hero (Employee)
Forum|alt.badge.img+11

Hi @HumbertoFloresD ,

Would you mind sharing the key mapping you defined in the below step and a screen capture of the entity RevenueAdjustments (expectation is to see what type of attribute has been used in the key mapping)?
 


Further, kindly share a screen capture of the step in which you are receiving the server error.


HumbertoFloresD
Sidekick (Customer)
Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • Jun 8, 2022 12:47 PM UTC

Hi @Shani Fernando yes sure, 

this is the key mapping 

 

And the step in shows me an error  is basycally  when i open the project definition page and try to view the  list for  my custom entity :

 

Thanks for the Help

 

Regards 

 

 

 

 


Forum|alt.badge.img+11
  • Hero (Partner)
  • Jun 8, 2022 1:19 PM UTC

Think you might need to grant the newly created entity in ‘Projection Grants’. Possibly your newly attached entity is over here but not yet granted.

 


HumbertoFloresD
Sidekick (Customer)
Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • Jun 8, 2022 2:57 PM UTC

hi @MiLeNL  i was granted the New Entity and doesnt work , continue appears the same error.


HumbertoFloresD
Sidekick (Customer)
Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • Jun 8, 2022 6:30 PM UTC

i granted the Custom Lu and Still Crashing.

 

 


Forum|alt.badge.img+1
  • Do Gooder (Partner)
  • Mar 13, 2023 9:18 AM UTC

@HumbertoFloresD I am also facing the same problem. Kindly help me if your issue is already solved.


Forum|alt.badge.img+2
  • Do Gooder (Partner)
  • Apr 5, 2024 4:39 PM UTC

 

 


Chamika Dilhani
Hero (Former Employee)
Forum|alt.badge.img+9

Hi ​@HumbertoFloresD ,

 

The error occurs since you have not set the datasource when adding the list element as a tab. See below example.