SMPOpenUIFieldModel protocol

This is the protocol implemented by all model objects that are given to an adapter extension so it can interface with Agentry.

Syntax

@protocol SMPOpenUIFieldModel

Derived protocols

Members

All members of SMPOpenUIFieldModel, including inherited members.

Methods
Method Description
- (SMPOpenUIActionEnableType) agentryActionEnableState: (NSString *) actionName Asks Agentry what the current enable state is for the action specified by name.
- (NSString *) agentryString: (NSString *) stringName Asks Agentry for a specific string value.
- (SMPOpenUIActionResult) executeAgentryAction: (NSString *) actionName Asks Agentry to execute the action specified by name.
- (SMPOpenUIActionResult) executeHyperlinkAction Executes the field's hyperlink action (if the hyperlink action is enabled).
- (void) requestLayoutHeigh: (NSUInteger) newHeight Used to inform Agentry that a new height is desired for an autosizing field.
Properties
Property Description
@property (nonatomic,readonly) BOOL autosizing A Boolean value representing whether the field is set to Auto height in the Editor.
@property (nonatomic,readonly) BOOL enabled A Boolean value representing whether the field is currently enabled based on current rule evaluation.
@property (nonatomic,readonly) BOOL hidden A Boolean value representing whether or not the field is currently hidden based on current rule evaluations.
@property (nonatomic,readonly) BOOL hyperlinkEnabled A Boolean value representing whether or not the hyperlink action is enabled.
@property (nonatomic,readonly) NSString * label The label the field would like the extension to display.

Usage

See its derived protocols for specific data types.