Advanced sync setup: Difference between revisions

Jump to navigation Jump to search
Line 195: Line 195:
<Setup DownloadCacheSize='300' DownloadPageSize='5000'  OnlyHighEndDevices='true'/>
<Setup DownloadCacheSize='300' DownloadPageSize='5000'  OnlyHighEndDevices='true'/>
</SyncDownloaderSetup>
</SyncDownloaderSetup>
</SESetup></syntaxhighlight>
=== Page size exception for email entity ===
The DownloadPageSize parameter applies to all entities equally. One exception is the email entity: because emails often contain long texts, the maximum is 500, even if you set the global page size to a higher value. However, if you still want to use larger page size for email entity, you can do so explicitly as shown in this example:
<syntaxhighlight lang='xml'><SESetup Version='1'>
      <SyncDownloaderSetup>
              <Setup Platform='Desktop' DownloadCacheSize='1000' DownloadPageSize='5000'>
                    <Entities>
                          <Entity Name='email' DownloadPageSize='2000' />
                    </Entities>
              </Setup>
      </SyncDownloaderSetup>
</SESetup></syntaxhighlight>
</SESetup></syntaxhighlight>


Navigation menu