To obtain a large number of records that can later be exported, you request them as part of the RecordListConfig element in the Conversation Web Service.
A query that requests a large number of records that could later be exported is the same as any valid navigation query requesting a list of records. This topic contains examples of Conversation Web Service request and response formats for such a query. No configuration is necessary to request a large number of records. Any record that is returned as part of the RecordListConfig request, is available to be exported.
When creating the navigation query for a list of records that will be exported, you do not need to specify the number of records that should be returned. The Conversation Web Service returns records in the record list as it would for any other request for records. If you are using Studio, the settings that limit the number of records for export are configured in Studio. For information on configuring these settings, see the Oracle Endeca Information Discovery Studio User's Guide.
To request a record list with a Conversation Web Service request, use ContentElementConfig of type RecordListConfig.
There is no requirement to specify any new parameters in the RecordListConfig. Simply set the RecordsPerPage to the number of records desired for export, and Page to 0.<ContentElementConfig xsi:type="RecordListConfig" HandlerFunction="RecordListHandler" HandlerNamespace="http://www.endeca.com/MDEX/conversation/1/0" Id="RecordList" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" MaxPages="40"> <Column>WineType</Column> <Column>Price</Column> <RecordsPerPage>20</RecordsPerPage> <Page>0</Page> <Sort Key="Num" Direction="Ascending" /> </ContentElementConfig>
<cs:ContentElement xsi:type="cs:RecordList" Id="RecordList" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <cs:NumRecords>19</cs:NumRecords> <cs:TotalPages>40</cs:TotalPages> <cs:RecordRange First="1" Last="19"/> <cs:RecordListEntry> <cs:Record> ... </cs:Record> <cs:ComputedProperties/> </cs:RecordListEntry> ... </cs:ContentElement>