You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Difference Between Properties and Collection

2 replies [Last post]
Guest's picture
Guest

I am just wondering what is the difference between properties and collection in Component Interface. What are the scenarios to use collection/ Properties in Component Interface.

CompShack's picture
User offline. Last seen 6 years 8 weeks ago. Offline
Joined: 12/09/2007
Posts: 167
Re: Difference Between Properties and Collection

There are two different type of Properties, Standard Properties and User-defined Properties.

Standard properties are assigned automatically when the CI is created and can be set to true or false. Examples include InteractiveMode, GetHistoryItems, and EditHistoryItems.

User-defined properties map to record fields on the component. You have control over which user-defined properties are included in the component interface.

Collections are a special type of property that corresponds to a scroll. They contains fields and subordinate scrolls as defined in the underlying component. By default, each collection carries the name of the underlying scroll's primary record.

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

prashobmdas's picture
User offline. Last seen 9 years 5 weeks ago. Offline
Joined: 10/21/2010
Posts: 3
Re: Difference Between Properties and Collection

what my understanding is we can have useer defined methods but i have no clue on user defined properties.......

A properties is a pointer to fields. we can add fields to the CI.
A collection is a property that points to a scroll