New request properties. hierarchical structure.

Hello everyone,

v.9.2.1. New request properties

I'm working on rendering data from a custom table named ccc_hierarchies in a hierarchical format. The table includes the following 3 fields:

  • displayname: The label or name of the item.
  • xobjectkey: A unique identifier for each item.
  • parent: A reference to the xobjectkey of the item's parent.

Here are the configuration settings I'm using:

  • Parameter type: User prompt
  • Data source: table
  • Table column: CCC_hierarchies - xobjectkey
  • Tipe of display: Hierarchical

However, the values are currently being displayed as a flat list, rather than in a hierarchical structure. I suspect the issue is related to the 'parent' field not being properly referenced or configured, but I’m unsure how to correctly define this relationship in the settings.

I'm facing an additional issue: after selecting values for this 'Request Property' in the web portal and clicking the 'Apply' button, the portal returns to the previous window, but the selected values are no longer retained.

Any guidance on how to properly configure the hierarchy using the parent field would be greatly appreciated. 

Thank you in advance!

Parents
  • If the values aren't retained when moved from Item to Cart, then there is some validation that is failing. We have encountered this behaviour before. The ApiServer log.txt has lots of gold information in it, just up the NLog settings to help diagnose. Also use browser Web Developer tools as you can inspect the JSON responses from cartitem to see where errors might occur and what the expected selected data is.

Reply
  • If the values aren't retained when moved from Item to Cart, then there is some validation that is failing. We have encountered this behaviour before. The ApiServer log.txt has lots of gold information in it, just up the NLog settings to help diagnose. Also use browser Web Developer tools as you can inspect the JSON responses from cartitem to see where errors might occur and what the expected selected data is.

Children
No Data