Skip to main content
Solved

XML update node not saving changes to XML file


Forum|alt.badge.img+2

Hi team,

I am trying to update an XML node in a control room XML file:

<bot>
  <name></name> 
  <memo></memo> 
</bot>

I see the changes while the bot is running but none are saved to the actual XML file once the bot has completed its tasks.

Here is my script

 

Best answer by RG 3078

I did find what is missing in my script to save the changes regarding desktop files:

Update alone does not save the changes. Save session data is required.

View original
Did this topic help answer your question?

3 replies

Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 52 replies
  • March 12, 2025

Control room files get downloaded to temp directory and any read/write operations happen on the local copy, not actual control room.


Forum|alt.badge.img+2
  • Author
  • Cadet | Tier 2
  • 2 replies
  • March 12, 2025

Same thing is happening on a desktop file as well. Nothing gets saved.


Forum|alt.badge.img+2
  • Author
  • Cadet | Tier 2
  • 2 replies
  • Answer
  • March 12, 2025

I did find what is missing in my script to save the changes regarding desktop files:

Update alone does not save the changes. Save session data is required.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings