SCDroplinkField Class Reference
| Inherits from | SCField : NSObject |
| Declared in | SCDroplinkField.h |
Overview
The SCDroplinkField object identifies a Sitecore system item’s droplink field.
The field with [SCField type] is equal to “Droplink” has the SCDroplinkField type.
It provides a getter for the linked item in droplink and an asynchronous loader for reading the selected item of droplink.
Tasks
-
– readFieldValueOperationUsed for loading the selected item in droplink.
-
fieldValueThe value of the field. [SCDroplinkField fieldValue] is SCItem object. It is nil by default, so use [SCDroplinkField readFieldValueOperation] to load selected item. SCDroplinkField object does not own loaded item to avoid retain cycles.
property
Properties
fieldValue
The value of the field. [SCDroplinkField fieldValue] is SCItem object. It is nil by default, so use [SCDroplinkField readFieldValueOperation] to load selected item. SCDroplinkField object does not own loaded item to avoid retain cycles.
@property (nonatomic, readonly) id fieldValueDiscussion
The value of the field. [SCDroplinkField fieldValue] is SCItem object. It is nil by default, so use [SCDroplinkField readFieldValueOperation] to load selected item. SCDroplinkField object does not own loaded item to avoid retain cycles.
Declared In
SCDroplinkField.hInstance Methods
readFieldValueOperation
Used for loading the selected item in droplink.
- (SCAsyncOp)readFieldValueOperationReturn Value
SCAsyncOp block. Call it to get the expected result. The SCAsyncOpResult handler’s result is SCItem object or nil if error happens.
Discussion
Used for loading the selected item in droplink.
Declared In
SCDroplinkField.h