So i am copying a xaml and using it for different work, so in previous xaml it has x company name then i want to replace it with y company name in new xaml where ever it is present like activites or messages or exceptions etc anywhere they are i want them to change it to new company is ther any way to replace like that in studio
Hey @Abh,
Yes, there is a way to do this. You have two options:
Option 1 – Autopilot (Best Option)
If you are using UiPath Studio 2025.10 or above, just use Autopilot’s Edit Mode. You can simply tell it something like “replace all occurrences of X Company with Y Company” and it will handle it for you across the entire workflow automatically. It’s much faster and safer.
Option 2 – Manual Find & Replace in a Text Editor
If you are on an older version of Studio, do this:
- Close the XAML file in Studio first.
- Open the XAML file in a text editor like Notepad++ or VS Code.
- Use Find & Replace (Ctrl + H).
- Type X Company in the Find field and Y Company in the Replace field.
- Click Replace All.
- Save the file and reopen it in Studio.
Since XAML is just an XML file underneath, this will catch every single place the name appears — activity labels, log messages, exception messages, everything.
Just make sure you run and test the workflow after making the changes to confirm everything still works fine.
Thanks,
Karthik