Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Niels Henriksen 74 posts 277 karma points
    May 16, 2020 @ 19:23
    Niels Henriksen
    0

    Get nodeId in an Action

    To get the nodeId when using a custom Action there is in v7 this

    var nodeId = UmbClientMgr.mainTree().getActionNode().nodeId;
    

    But what is the same called in v8? I have been searching alot and is stuck right now :(

  • Niels Henriksen 74 posts 277 karma points
    May 17, 2020 @ 00:41
    Niels Henriksen
    100

    I was looking in github and found this that is working

    var node = appState.getMenuState("currentNode");
    

    With this I get all information about the tree I need :)

Please Sign in or register to post replies

Write your reply to:

Draft