Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Is there a way to search for text in RDE and replace it with an element.
eg PN # gets replaced with <ph platform="123_Co-brand 456_Co-brand"></ph>
Thanks
Bryon
Solved! Go to Solution.
Do you have the topics checked out/locked? You may need to select "File->Edit All Entities and Inclusions" to make sure everything in the RDE is editable.
Hi Bryon--
You can do this through the standard Find/Replace dialog, Simply put the text you want to find in the "Find What" field, and the markup string you want to insert in the "Replace With" field, and make sure the "Match Markup" option is checked.
Of course, you can also do this with ACL code if you want to automate it. You can use a loop with the find command and use insert($markupstring) to insert your element(s).
--Clay
Thanks for the response Clay, I have a lot that I want to change, If you do it in RDE I get this message. It works as expected in a topic.
Thanks
BRyon
Do you have the topics checked out/locked? You may need to select "File->Edit All Entities and Inclusions" to make sure everything in the RDE is editable.
That was it Clay that was the magic setting that I was missing.
Thank you.
Bryon
Excellent, glad it's working for you!