PopulateDSParamsWithDefaults method: Feed class

Syntax

PopulateDSParamsWithDefaults()

Description

Use this method to populate the data source parameter collection for this feed with default values only.

Parameters

None.

Returns

None.

Example

import PTFP_FEED:FeedFactory;
import PTFP_FEED:Feed;
import PTFP_FEED:EXCEPTION:FeedException;

Local PTFP_FEED:FeedFactory &thisFeedFactory = create PTFP_FEED:FeedFactory();
Local PTFP_FEED:Feed &thisFeed = &thisFeedFactory.getFeed("feed_ID", ⇒
&thisFeedFactory.Utility.OPERATINGMODE_DEFAULT);

/* Reset the Data Source Parameters of the Feed to their defaults. */
try
   &thisFeed.PopulateDSParamsWithDefaults();
catch PTFP_FEED:EXCEPTION:FeedException &ex;
end-try;

Related Topics