Author Topic: search for text in .rtf document  (Read 565 times)

Thelonius

  • EA User
  • **
  • Posts: 235
  • Karma: +3/-0
  • I think. Therefore I get paid.
    • View Profile
search for text in .rtf document
« 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.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 9404
  • Karma: +261/-27
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: search for text in .rtf document
« Reply #1 on: September 13, 2018, 02:26:30 pm »
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

Geert

Thelonius

  • EA User
  • **
  • Posts: 235
  • Karma: +3/-0
  • I think. Therefore I get paid.
    • View Profile
Re: search for text in .rtf document
« Reply #2 on: September 14, 2018, 12:04:27 pm »
Thanks again, Geert!