Object
The Object is the highest level entity in the NetForum middle tier object model.
Object
A NetForum object is essentially a virtual record. This data describes an object so it can be instantiated and manipulated within the NetForum framework. NetForum provides a built-in object model for this purpose. If using the NetForum object model, then Assembly must be Data and Type Name must be Avectra.netForum.Data.DynamicFacade. These values are case sensitive.
It is also possible and perfectly acceptable to write objects for the NetForum framework using any language supported by .NET (by implementing a collection of public interfaces).
The Validate button can be used to validate the specified Assembly and Type Name.
Controls
- Unique key: The unique key of the Object.
- Object display name: The Display Name of the Object. This is the friendly name of the Object that appears throughout the Toolkit.
Client Tip: For custom client objects, enter the name of the acronym first to distinguish baseline from custom objects.
- Object class name: Typically this is the same as the Display Name but with spaces removed. This property is a unique property for the object; there cannot be two Objects in NetForum with the same Object Class Name.
-
Prefix: The three-character column prefix of the core table most closely associated with the Object. Used by NetForum framework.
- Default columns: These columns will be displayed in a List performed after a Find/Query to show the results. If a List – Table has been configured for a table, then that List – Table will be used instead. It is acceptable to enter an asterisk in this field, as in practice every table should have a List – Table defined for it.
- Default order by: These table columns will set the default sort order of a List Result that appears after a Find/Query. These columns must be set up as list columns in a List Table definition.
- Assembly: The assembly name of the underlying object (see Facade Object). NetForum will instantiate this assembly object whenever this object is invoked in NetForum. This field is case sensitive.
- Type name: The type name of the underlying object, used in conjunction with the Assembly. This is case sensitive.
- Has related objects: Select this check box if the Object has Related Objects. If the check box is unchecked, then any related object relationships that have been defined will not be invoked.
- Has extension controls: Select this if the Object has Object Extensions.
- Supports correspondence: Select this check box if this Object supports the NetForum communicate feature that allows emails to be delivered. Check this only for objects that related to an element that can be emailed (eg, an Individual). Generally, only objects that have a data object to Individual or Customer (or another table that has the email column name populated) can support correspondence. See List Type for more information.
- Supports workflow: If selected, Workflow rules and tasks can be created for the Object.
- Display mass replace link: Select this to enable the Mass Replace link on the List results page.
-
Allow save for later: Select this check box if the Object will support Save for Later functionality. This adds a Save for Later button to the dynamic forms for the Object. See #Save for Later for more information.
Note: This setting can be overridden at the form level.
-
Async save flag: Select this check box to save the data changes (inserts and updates) that occur on the dynamic forms for the Object asynchronously. See Async Save for more information.
Note: This setting can be overridden at the form level.
- Allows import: When selected, the Object is available in the Data Import Utility. The column is on the edit page of the object so it can be updated directly in the Toolkit module.
- Content group: If select, this field will display the Content Group name. Each Content Group represents one of the baseline modules in NetForum.
- Force legacy data object sql selects: Select this check box to disable the ISelectableByDataRow interface code for the Object. Do this only if you cannot get something in ISelectableByDataRow to work. See Avectra.netForum.Data.Interfaces.ISelectableByDataRow for more information.
- Track recent activity: Click this check-box to indicate that the object should appear under the Recent Records tab in the top navigation bar when it is accessed. Individual and organization records appear in the Recent Records tab by default; this is done by automatically assigning the Individual and Organization objects to new users when they are added.
- Dup-check child form: If a child form is selected as the Duplicate Check Child Form, then after any form belonging to this Object is saved, then NetForum will run the select sql in the specified child form to search for possible duplicate records. If any records are returned by this child form, then NetForum will show those records and present a message to the user. The user can then evaluate the possible duplicates. See Duplicate Check Child Form for more information.
- Allow dup save anyway: Select this check box to place a Save Anyway button on all of the forms that belong to the Object. Your users can save a record even if it might be a duplicate. This field works in conjunction with dup-check child form.
Usage and Examples
- Object Extensions - See the Form Extension page for an explanation of how to develop and implement Object Extensions.
Recent Activity
Note: The text of the record that appears in the recent activity list is driven by the form title of the form that has been accessed. If all of the recent records are just the name of the object, then you need to update the profile form's title, for example, for a product it could be something like @{prd_name}.
Save for Later
An object can be configured to allow Save for Later. Save for Later will serialize the facade object at the state it is in, and save it to a pending area where it can be picked up later. See User Home - Pending Work for more on how an end user can manage saved work.
A Form can have a Save for Later button enabled or hidden based on a form-level override called save for later override with options for Show and Hide.
To enable Save for Later on a Wizard, see Wizard#Enabling_the_Save_for_Later_Button.
Serialized objects that are saved for later are stored in the md_object_xml_serialize table.