Hello All,
I have a 2 column layout. in left section I have a tree with multiple node like shown in below.
In right section I have to display the selected node's interface. For example if "Interface1" node is clicked then it should call an expression rule which returns the interface name to be loaded for that node. Now as expression rule returns string value, I am not able to render that interface in right section.
Please note - Each node has associated interface and entire list is maintained in records. On tree node click that expression rule finds the interface name for selected node.
Kindly help if there is any other way to achieve this?
Thanks in Advance.
Discussion posts and replies are publicly visible
Hi vijayan544557 So, you are storing categories and interfaces related to those categories in one record?And when one node is clicked you are calling an expression right, can you send the expression rule code for reference. Like on what basis that expression rule is fetching the interface name.If you need another approachIf there are some static values for nodes, you can handle them using choose condition based on the node selected.
Thanks Teja for your reply. Yes, I am storing categories and interfaces related to those categories in one record.
Answer to second question - I already have all data available on that interface using records, so as of now no need of any expression rule to get the interface name. As soon as the node is clicked I am storing its interface name of that node, in one local variable. It gives me a string value and not sure how to convert that into an interface value.