Lookup field doesn't refresh on Canvas if hidden key is set to string field instead of id
search cancel

Lookup field doesn't refresh on Canvas if hidden key is set to string field instead of id

book

Article ID: 387962

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

Steps to recreate

1: Login to Clarity (Classic)

2: Create a Dynamic Lookup i.e. Administration > Data Administration > Lookups using below query

SELECT DISTINCT 

@SELECT:SRM.FULL_NAME:ROLE@,

@SELECT:SRM.ID:ID@

FROM SRM_RESOURCES SRM

WHERE

@WHERE:SECURITY:RESOURCE:SRM.ID@ AND

@FILTER@

AND SRM.IS_HIDDEN = 0

AND SRM.PERSON_TYPE=0

@BROWSE-ONLY: AND SRM.IS_ACTIVE=1:BROWSE-ONLY@

3: Save and Return

4: Navigate to Administration > Studio > Objects > Project

5: Create an attribute mapping to dynamic lookup created in step 2

6: Save and return

7: Navigate to MUX > Administration > Blueprints

8: Create a copy of Standard Project and Edit the same

9: Add the Canvas Module and publish the same 

10: Select a Project and associate the above created blueprint with it

11: Open the Project and Navigate to Canvas and configure the attribute created in step 5

12: Change the value of the lookup and page will not reflect the updated value

Expected results:
- Updated value in the field should be displayed without explicit page refresh


Actual results:
- Field show empty if previous value was empty and will not auto-refresh to show recently selected value by user
- After refresh of the screen the field displays correctly

 

Environment

Clarity: 16.2.1

Resolution

Workaround: Refresh the page explicitly

Fixed in:

  • Clarity: 16.2.2
  • Clarity: 16.2.3