The IDK remote Publisher API provides access to the following property types. Each type enables users to enter or choose a specific type of content in the associated form element in a Data Entry Template.
Property Name | Description | Property Interface |
---|---|---|
Text | Enables users to enter plain text. The text entry length can be limited to anything below 255 plain-text characters. To enable users to enter longer strings, use the long text property (ITextBlockProperty). | ITextLineProperty |
Long Text | Provides a rich text editor that enables users to enter formatted text, images, tables, numbered or bulleted lists, hyperlinks, HTML, and Adaptive Tags. Long text properties store long strings that can span many lines. For short strings that can be limited to only one line, use the text property (ITextLineProperty) instead. You can also specify that the text box allow plain text entry only. The text entry length can be limited only if you use the plain text option. | ITextBlockProperty |
Integer | Enables users to enter a whole number. If a user enters text, an “invalid entry” error occurs. It is a best practice to add instructions to help users understand that they must enter a whole number. | IIntegerProperty |
Real | Enables users to enter a whole number or a fraction in decimal form. If a user enters text, an “invalid entry” error occurs. | IDoubleProperty |
Boolean | Enables users to choose between two options (for example, to answer a yes/no or true/false question). | IBooleanProperty |
Date | Enables users to enter a date or select it from a popup calendar control and choose a time from a drop-down list. | IDateProperty |
Item | Enables users to insert a content item within another content item. The item property is a reference to any existing Publisher content item. The associated content item will appear within the content item. Users can either create a new content item and associate it with an existing content item or choose another existing content item to associate with the content item. The content items do not need to have been created from the same Data Entry Template. | IItemReferenceProperty |
List | Enables users to create a list of existing content items. This property is similar to the item property, but creates a list of links to content items instead of displaying the referenced content item. | IItemCollectionProperty |
Image | Enables users to upload an image from a local or shared network drive. | IImageProperty |
File | Enables users to upload a file from a local or shared network drive. | IFileProperty |
Selection List | Enables users to choose from a drop-down list of predefined entries. A selection list ensures uniformity and eliminates the chance of misspellings. Unlike other property types, a selection list can be shared among multiple Data Entry Templates. A selection list must be persisted before it can be added to a Data Entry Template. For more information about selection lists, see Creating Publisher Selection Lists Using IDK Remote APIs. | ISelectionListProperty ISelectionList ISelectionListManager |