XML Format (Search Data)

Topics

Topic

Detail

See also

General Usage

The XML below provides the format for the sSearchData parameter of the RunModelSearch method.

 

Repository

Example Code

 

<ReportViewData UID=\"MySearchID\" >

 <!--

 //The UID attribute enables XML type searches to persist column information. That is, if you run the search, group by column or adjust column widths, then close the window and run the search again, the format/organization changes are retained.To avoid persisting column arrangements, leave the attribute value blank or remove it altogether.

 // Use this section to declare all possible fields - columns that appear in Enterprise Architect's search window - that are used below in <Rows/>.

 // The order of the columns of information to be appended here must match the order that the search run in Enterprise Architect would normally display.

 // Furthermore, if you append results onto a custom SQL Search, then the order used in your Custom SQL must match the order used below.

 -->

 

 <Fields>

         <Field name=""/>

         <Field name=""/>

         <Field name=""/>

         <Field name=""/>

 </Fields>

 

 <Rows>

         <Row>

                 <Field name="" value=""/>

                 <Field name="" value=""/>

                 <Field name="" value=""/>

                 <Field name="" value=""/>

         </Row>

         <Row>

                 <Field name="" value=""/>

                 <Field name="" value=""/>

                 <Field name="" value=""/>

                 <Field name="" value=""/>

         </Row>

         <Row>

                 <Field name="" value=""/>

                 <Field name="" value=""/>

                 <Field name="" value=""/>

                 <Field name="" value=""/>

         </Row>

 </Rows>

</ReportViewData>