title: Enterprise Architect Model Search XML Format
body: <p>I have written a few Add-Ins for Enterprise Architect in C#. I want to add a complex model search now in a similar manner. I have no issue running my add-in search. I believe my issue is with the XML Model Search Format. The only documentation that I can find is <a href="http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/automation/xml_format_search_data.html" rel="nofollow">here</a>. </p>
  
  <p>I tried to use the example JScript and VB Script files in EA "JScript - Model Search (Attributes) Example". I cannot get that to give me output when I run it in EA. That has to be user error, I believe. I am using that code as an example to try to properly output my search results from a C# add-in.</p>
  
  <p>I can't figure out what the value for <code>&lt;ReportViewData UID=\"MySearchID\" &gt;</code> should be? It seems like it should be the UID of the search. How does one find that? It is missing from the JScript example, as far as I can tell.</p>
  
  <p>Does anyone have a properly formatted XML Search Format file I can test? Just modifying a known working file by hand to match an element in my repo and importing the results would be a huge help. I can't find any documentation other than what I have linked above.</p>