Skip to main content
Question

Custom field creation with impossible enumeration - IFS Cloud


Forum|alt.badge.img+13
  • Hero (Partner)
  • 150 replies

Hello everyone,
We can no longer create custom fields on IFS Cloud 22.2.9 with data type: enumeration.

When we select an enumeration, the IFS spinner spins indefinitely:

As it happens, it's this webservice (which is called when the enumeration is selected) that's causing the problem: 
EntityConfigHandling.svc/CustomAttributesVirtuals(Objkey='OBJKEY_VALUE')/IfsApp.EntityConfigHandling.CustomAttributesVirtual_GetDefaultValues

I tried to call it from Postman, same result: the webservice doesn't respond.

What can I do, given that this problem is urgent?
Thanks in advance.

10 replies

Forum|alt.badge.img+13
  • Author
  • Hero (Partner)
  • 150 replies
  • July 26, 2023

It's a very blocking problem.
Has anyone encountered this problem? 
Thank you,
Théo


NiyomalN
Hero (Partner)
Forum|alt.badge.img+10
  • Hero (Partner)
  • 102 replies
  • July 28, 2023
TheoB wrote:

It's a very blocking problem.
Has anyone encountered this problem? 
Thank you,
Théo

Seems like something wrong in you environment. I just tried to add a new custom Field with an enumeration into one of our Internal environment that is same as your version 22.2.9. I was able tp create it without any issues.

can you access the Custom Enumeration window from the client ?

 

just check the projection configuration and try to unpublish and republish the projection and see.

 

I think this is the call that fetches the data to this LOV ..projection/v1/EntityConfigHandling.svc/Reference_CustomFieldEnumQuery?

Kind Regards!

Niyomal


 


NiyomalN
Hero (Partner)
Forum|alt.badge.img+10
  • Hero (Partner)
  • 102 replies
  • July 28, 2023

Furthermore, You can try clearing the projection cache and metadata cache and see it it works 

Please replace the serverName and Port with relevant value 

  • Clear Projection Cache using
    https://<ServerName>:<Port>/main/ifsapplications/projection/ClearCache?METHOD=CLEAR_PROJECTION_CACHE&VALUE=*
  • Clear Metadata Cache using
    https://<ServerName>:<Port>/main/ifsapplications/web/server/clearmetadatacache

Forum|alt.badge.img+13
  • Author
  • Hero (Partner)
  • 150 replies
  • July 31, 2023

Hi @NiyomalN 
Thank you for your help.

Unfortunately, it didn't solve the problem...

I tried: 
- clear the cache (browser & IFS)
- change browser
- clear browser cache

The spinner is still there and running in a vacuum... (both for standard enumerations and customizations).

The custom enumeration screen is accessible and I can of course publish my enumeration without any problem to make it available.
I've tried to configure the "EntityConfigHandling" projection, but the projection isn't available in the list of values... so I can't unpublish/republish it.

Thanks for your help,
Théo


VivekBhandiwad
Hero (Partner)
Forum|alt.badge.img+8

Hi @TheoB 

Please find a few additional options, that can potentially help.

  1. Which environment are your using ? - PROD, TEST, TRNG, DEV, UAT?   Seems like an environment issue as highlighted by @NiyomalN .  Please switch to a different environment ( TEST, TRNG, UAT, DEV) etc
  2. if successful, you can export and import both the custom enumeration and the custom field using a configuration package ...or individually ( check feasbility )
  3. you may additionally check if there are any incorrect custom enumerations, which are not being able to publish, or sync or get approved, due to any errors, since you are facing difficulty with enumerations alone ( as written) 
  4. Additionally , a health check on the Entity configs, Projection Cofigs, Page configs etc , to see any other errors or issues, can be useful - within the environment where you are facing this issue .

Hope some of these thoughts help.

Regards


Forum|alt.badge.img+13
  • Author
  • Hero (Partner)
  • 150 replies
  • September 6, 2023

Hi @VivekBhandiwad,

At first, the workaround was as follows: we created the enumeration and the custom field on the environment where we did not encounter the problem, we exported it via a package and we imported it into the environment (except that now the problem is present on all environments).
I've checked custom logical units, page configurations... nothing seems to be a problem.
All custom logical units/custom enumerations are synchronized and published.

Thanks for your help!
Theo


VivekBhandiwad
Hero (Partner)
Forum|alt.badge.img+8

Hello @TheoB 

Glad it's resolved. A support case for root cause analysis can help resolve the long term issue. Do raise the same on LCS . 

It seems to be with the Custom Layer and could be due to various reasons and my bet is on some custom enumeration that "may" have some incorrect configuration. Cannot pinpoint as it's specific to the environment. 

 

All the best

Regards

Vivek


Forum|alt.badge.img+7
  • Hero
  • 69 replies
  • November 10, 2023

Just noticed the same issue happening in 23R1 too. It will spin around for good 20 mins until it gives up. 

 

 


Forum|alt.badge.img+13
  • Author
  • Hero (Partner)
  • 150 replies
  • November 10, 2023

Can someone from IFS help us?


PhillBronson
Hero (Customer)
Forum|alt.badge.img+10
  • Hero (Customer)
  • 112 replies
  • August 25, 2024

@TheoB you may have to put in a support case for specific help in your environment.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings