Skip to main content
February 3, 2021
Question

Facing issues related to refreshing data in hierarchyBrowserFieldTree

  • February 3, 2021
  • 0 replies
  • 0 views

Hi 

I have observed two issues with hierarchyBrowserFieldTree. Any thoughts/suggestions are helpful.  

1- if we want to narrow down the data by applying some filters, Its not refreshing the nodes but the nextNode counts are getting updated.

2- in the hierarchyBrowserFieldTreeNode attributes, showwhen attribute is not doing its job when we want to set false based on some condition, Interface is throwing an error. It can be tested easily with appian given example.

a!localVariables(
local!path: {5,2},
a!hierarchyBrowserFieldTree(
nodeConfigs: a!hierarchyBrowserFieldTreeNode(
showWhen:not(tointeger(fv!nodeValue)=0),
id: fv!nodeValue,
label: "Node" & fv!nodeValue,
description: "Description for node " & fv!nodeValue,
details: "Details for node " & fv!nodeValue,
image: a!documentImage(document: a!iconIndicator("PREVIEW")),
nextLevelCount: fv!nodeValue
),
pathValue: local!path,
pathSaveInto: local!path,
nextLevelValues: enumerate(fv!nodeValue)
)
)