cancel
Showing results for 
Search instead for 
Did you mean: 

How to open my widget on click of custom node in explorer tree.

Former Member
0 Kudos

Hi I am having a custom node in explorer tree.On click of that node it should open my custom widget.How to achieve this?please help me.Thanks in advance.

Former Member
0 Kudos

Plese help me regarding this.

Accepted Solutions (1)

Accepted Solutions (1)

former_member638520
Contributor
0 Kudos

Hi,

You need to add ConditionEvaluator widget to your configuration and configure expression for it. The expression should be evaluated to true when your custom node is selected. For example, if your node has id 'my_custom_node' then expression should look like: " #root.id EQ 'my_custom_node' ".

Then you need to connect explorer tree with condition evaluator:

Explorer tree (nodeSelected) with ConditionEvaluator(input)

and ConditionEvaluator(true) with your customWidget(input).

This answer might be helpful as well: https://answers.sap.com/questions/12763189/open-up-a-pop-up-wizard-immediately-after-clicking.html

Regards

Lukasz

Former Member
0 Kudos

Thanks for your reply .My widget isnt having any input socket.how to connect condition evaluator to my widget?

former_member638520
Contributor
0 Kudos

You should add input socket to your custom widget

Former Member
0 Kudos

So should I add a socket of type Boolean.i.e output type of condition evaluator?

Answers (1)

Answers (1)

Former Member
0 Kudos

Hey Lukasz,

Could you please share an example configuration if possible or share a link from where I can read the related information?

Thanks, Ashish

Former Member
0 Kudos

Hello, Ashish

Did you find a way to do that? I'm stuck with a similar requirement now and would appreciate some help.

Thanks