Lookup value not displaying in Modern UI due to Parameter issue

book

Article ID: 207971

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

You have API enabled a custom object and its attributes so that you can add it as a module in Idea in the Modern UI.  One of the attributes does not display any lookup value. Error in the app-ca.log references: attribute[param_entity_id_constrain] has invalid value [Impacted Organization00003178].

Cause

ERROR 2021-02-03 11:51:49,156 [http-nio-8080-exec-640] ppm.rest (clarity:user_id:35281538__4BA159D6-2C1C-44D4-9078-6090CE99C4DA:PPM_REST_API) LookupFilterParser :: The lookup [SCH_BROWSE_DEPT] filter [((searchText startsWith '%') and (param_entity_id_constrain = 'Impacted Organization00003178') and (param_entity_id = 'IO-00003178'))] attribute[param_entity_id_constrain] has invalid value [Impacted Organization00003178].

Environment

Release : All

Component : CLARITY STUDIO

Resolution

If the attribute is tied to a parameterized lookup, check to see if the Lookup Parameters are set correctly.

For example, it may be expecting entity id but the name is passing to entity_id_constrain and code is passing to entity_id. Update the parameters as applicable, (see the example screenshot below).

Additional Information

See also: Lookups master KB for Clarity