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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      93 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      138 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      123 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      73 views
      0 likes
      Last Post PaulMohn  
      Working...
      X