Book a Demo

Author Topic: Custom results in RunModelSearch no drag and drop  (Read 3318 times)

Geronymo

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Custom results in RunModelSearch no drag and drop
« on: May 07, 2015, 04:56:03 pm »
Hi,

I use Repository.RunModelSearch("", "", "", searchResults) to append my custom search results to the result list in Enterprise Architect.
The results are accessible (e.g. "Find in Project Browser" works) but I can't drag them directly from the list in order to drop them on a diagram.
Is this not possible or do I have to add some special information to the searchResults string?

My searchResults is constructed like this:
<ReportViewData UID="Custom Search">
<Fields>
    <Field name='CLASSGUID'/>
    <Field name='CLASSTYPE'/>
    <Field name='Alias'/>
    <Field name='Object'/>
    <Field name='Type'/>
    <Field name='Version'/>
    <Field name='Status'/>
    <Field name='StereoType'/>
    <Field name='Notes'/>
</Fields>
<Rows>
    <Row>            
    <Field name='CLASSGUID' value='{33C6FF93-C737-44ea-BCCB-D5CB5DC6FF5D}'/>
    <Field name='CLASSTYPE' value='Package'/>
    <Field name='Alias' value='Alias'/>
    <Field name='Object' value='Test'/>
    <Field name='Type' value='Package'/>
    <Field name='Version' value='1.0'/>
    <Field name='Status' value='Proposed'/>
    <Field name='StereoType' value=''/>
    <Field name='Notes' value='Test.'/>
</Row>
</Rows>
</ReportViewData>

Best regards

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Custom results in RunModelSearch no drag and d
« Reply #1 on: May 07, 2015, 05:41:03 pm »
I think you need to report a bug (use link bottom right of this page).

q.