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
-
– readFieldValueOperation
Used for loading the selected item in droplink.
-
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
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 fieldValue
Discussion
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.h
Instance Methods
readFieldValueOperation
Used for loading the selected item in droplink.
- (SCAsyncOp)readFieldValueOperation
Return 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