load method: Feed class
Syntax
load()
Description
Use this method to load the feed definition from the database.
Parameters
None.
Returns
A Boolean value: True if the feed definition was loaded successfully, False otherwise.
Example
import PTFP_FEED:FeedFactory;
import PTFP_FEED:Feed;
Local PTFP_FEED:FeedFactory &thisFeedFactory = create PTFP_FEED:FeedFactory();
Local PTFP_FEED:Feed &thisFeed = &thisFeedFactory.getFeed("feed_ID", ⇒
&thisFeedFactory.Utility.OPERATINGMODE_DEFAULT);
If &thisFeed <> Null Then
&succeed = &thisFeed.load();
End-If;