Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Thelonius on September 13, 2018, 01:57:54 pm
-
So if I create an artefact of type document in a model and put text into the .rft document - it doesn't look like the native search function is going to find text inside an .rtf document that is in a model.
Is this correct?
I have spent 20 minutes searching everything Sparx and haven't found an answer to the above question.
Thanks for any guidance anyone may be able to offer.
-
Yes, standard searches do not return results from .rtf contents such as linked documents.
You can search them using a search script though. Check out this script to search for text in linked documents:
https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library/blob/master/Projects/Project%20A/Search%20Scripts/In%20Linked%20Documents.vbs (https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library/blob/master/Projects/Project%20A/Search%20Scripts/In%20Linked%20Documents.vbs)
Geert
-
Thanks again, Geert!