Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Save-Restore WorkSpace is a bug?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Save-Restore WorkSpace is a bug?

    This sample https://ninjatrader.com/support/foru...447#post790447 is not works now. After each save of the workspace, a new node is added with new values. Can someone tell me how to solve this?
    Click image for larger version  Name:	ws.png Views:	0 Size:	46.1 KB ID:	1145812

    #2
    Hello alexr,

    Thank you for your note.

    Thanks for bringing that to our attention. I've touched base with Chelsea and he says that he'll be updating that example as he wasn't aware at the time it was made that the node needed to be removed.

    Code:
    // the root node is appended to the xml document, so needs to be removed to prevent duplicates
    element.Elements().Where(el => el.Name.LocalName.Equals("WorkSpaceSavedItemsRootNode")).Remove();
    I'd give that a try after the values have been restored.

    For an example see AddonShellNoTabs_NT8 — https://ninjatrader.com/support/foru...830#post759830

    Please let us know if we may be of further assistance to you.

    Comment


      #3
      Thanks for your reply. That's exactly what I did. It just seemed to work recently.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      558 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      324 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      545 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      547 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X