Skip to main content
17-Peridot
March 22, 2022
Solved

Unable to get duplicate node in Tree Widget

  • March 22, 2022
  • 1 reply
  • 1230 views

I am having tree widget with data. Based on the selected node, we are populating data.

 

  • Plant1
    • Department1
      • Line1
        • Station1
        • Station2
      • Line2
        • Station1
        • Station2

Whenever we are trying to select "Station1" under "Line2", unable to get selected value from service output.

Selectedbreadcrumb also empty string.

 

How get the selected values while selecting "Station1" under "Line2"?

Best answer by Sathishkumar_C

Thanks for you reply.

Value field and ID field is expecting the unique information across the table. Here "Station1" having a same ID for Line1's and Line2's.

 

Created a temporary unique ID the stations. Its working fine now.

1 reply

Support
March 23, 2022

Hi @Sathishkumar_C.

 

Can you provide a preview of your dataset?  How is the data formatted?  Where are you trying to pull the value from?

 

Regards.

 

--Sharon

 

Sathishkumar_C17-PeridotAuthorAnswer
17-Peridot
March 25, 2022

Thanks for you reply.

Value field and ID field is expecting the unique information across the table. Here "Station1" having a same ID for Line1's and Line2's.

 

Created a temporary unique ID the stations. Its working fine now.