SCDroptreeField Class Reference
| Inherits from | SCDroplinkField : SCField : NSObject |
| Declared in | SCDroptreeField.h |
Overview
The SCDroptreeField object identifies a Sitecore system item’s droplink field.
The field with [SCField type] is equal to “Droplink” has the SCDroptreeField 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. [SCDroptreeField fieldValue] is SCItem object. It is nil by default, so use [SCDroptreeField readFieldValueOperation] to load selected item. SCDroptreeField object does not own loaded item to avoid retain cycles.
property
Properties
fieldValue
The value of the field. [SCDroptreeField fieldValue] is SCItem object. It is nil by default, so use [SCDroptreeField readFieldValueOperation] to load selected item. SCDroptreeField object does not own loaded item to avoid retain cycles.
@property (nonatomic, readonly) id fieldValueDiscussion
The value of the field. [SCDroptreeField fieldValue] is SCItem object. It is nil by default, so use [SCDroptreeField readFieldValueOperation] to load selected item. SCDroptreeField object does not own loaded item to avoid retain cycles.
Declared In
SCDroptreeField.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
SCDroptreeField.h