Skip to main content

Hi, when I tried to use variable in views, and it turned out with error "Runtime variable Error. The variable Duplicate key detected: <objname>. Please make sure that this variable is defined." However, my view turns out to be blank for all the components.

Even in the Edit mode, unable to launch the PQL editor again.

Can anyone please advise what can be done to fix this? Thanks.

Hi Huili,

 

A few cases might be causing this error! If the variable is being used in multiple components!!

 

  1. Can you check that the runtime variable keys are named uniquely so there are not duplicates.
  2. Can you check if you are using a variable that is properly defined and configured
  3. Can you check the PQL or where the variable is being used is well written or configured: FYI(variables are not PQL queries rather text replacement)
  4. The reason you cannot launch the PQL editor can be caused by a corrupt state; try refreshing the session again

 

These would be my recommendations. But if the issue persists. send me the screenshots that may help understand the issue better(like sample pql code/screenshots)

 

I hope this helps

Thanks


Reply