Paged Feeds

Creating paged feeds also requires additional steps.

Note:

Paged feeds are supported for scheduled feeds only. The framework supports paged feeds via Integration Broker message segments. %MaxMessageSize is recommended when creating Integration Broker message segments for paged feeds.

You must complete the following tasks when creating paged feeds:

  1. Define the DSPARAMETER_SF_PAGING data source parameter found in the PTFP_FEED:UTILITY:Utility application class and set it to an appropriate value in your implementation of the processSettingsChange method for your data source.

    For example:

    /* PAGING parameter */
    &thisDSP = %This.addParameter(&utility.DSPARAMETER_SF_PAGING, ⇒
    String(&utility.SF_PAGINGOPTION_NOPAGING));
    &thisDSP.Name = &thisDSP.ID;
    &thisDSP.Description = MsgGetText(219, 3007, "Message Not Found - Page Size");
    &thisDSP.FieldType = &utility.FIELDTYPE_SIGNEDNUMBER;
    &thisDSP.DefaultValue = String(&utility.SF_PAGINGOPTION_NOPAGING);
    &thisDSP.Value = &thisDSP.DefaultValue;
    &thisDSP.Required = True;
    

    Important:

    The paged feed option is incompatible with the incremental feed option. Do not allow both options to be set simultaneously.

  2. Modify the associated advanced feed options page to allow feed administrators the ability to set this option.