Skip to main content

DocumentMetadata

An object that automatically displays the form's creation date or form number (formid) information as soon as the form is opened in the web interface.

DocumentMetadata

After the form is placed on the design screen in the object authoring interface, the information that is desired to be displayed within the object is selected from the Properties panel. After that, the project should build and publish successfully under the Run heading in the menu. When the project is successfully published, the relevant form is opened from the menu by logging in to the web interface with the user name and password and it can be seen that the selected information of the form comes automatically according to the setting made in the object.

Clicking on the object displays the "General" and "Events" tabs in the Property Viewer panel, and the properties of the object can be viewed and edited. The inheritance scheme by which the properties of the object are transferred is as follows;

Caption

'Title' - The part where the label text of the object is edited.

'Position' - The part of the object label that regulates whether it is positioned on the left, right or above the object.

>Choices Available : Left, Right, Top, Bottom

'Width' - This is where the width of the label field is set.

'Height' - This is the part where the height of the label field is set.

'Font' - The part of the text in the label area where the font, font, font size and color are set.

'Ellipsis' - The portion where the label text is set to appear for the part of the text that does not fit, whether the ellipsis (...) appears.

'Visible' - The part where the label field is set to be hidden or visible.

'Show Colon' - Colon next to label text (:) is the part where the expression is set to appear or not.

'Horizontal Align' - Label text; This is the portion where right-just, left-just, or center-justify settings are performed.

>Choices Can Be Made: Left, Center, Right

'Vertical Align' - Label text; This is the portion where the Justify, Snap Down, or Center settings are performed.

>Choices Available : Top, Middle, Bottom

'Mark Char' - To make the object stand out, enter *, ! is the area where characters such as can be entered.

'Mark Position' - The part where the character designated as the mark character is set to be shown at the beginning or end of the label text.

>Choices Can Be Made: AtFirst, AtLast

Appearance

'Visible' - This is the part where the object is hidden and made visible. When this field is active, the object is visible on the form. When the field is made passive, the object becomes invisible.

'Client Visible' - When the object is not visible when the form is first opened, when it is desired to make the object visible, to make the object visible when a certain condition is met, this field is made passive so that the object is invisible on the client side. When the condition set by the code or the Rules Manager is met, the object can be made visible again. When server visibility is inactive, the client cannot intervene, but the server can intervene when client visibility is inactive.

'Enabled' - The active mode of the object is set from this field. When this feature is active, data entry can be provided to the object and the object can be edited. When the feature is passive, the object is in non-editable mode and appears passive.

'Client Enabled' - When the form is first opened, the object is not active, when a certain condition is met, etc., this field is made inactive so that the object is not active on the client side. Once the condition set by the code or the Rules Manager is met, the object can be activated again. When server activity is inactive, the client cannot intervene, but the server can intervene when client activity is inactive.

'Title' - Hovering over the object with the cursor while the form is open in the interface, the text typed in this field is shown as a hint. It is a feature used to direct the end user when detailed information about the object is desired.

'ClassName' - The field in which the object visibility can be changed by defining a class written in the CSS file of the form.

'Size Type' - This is where the object selection area size is set.

>Choices Can Be Made : Small, Middle, Large

Behavior

'ReadOnly' - This is where the object is set to be in edit mode. When this feature is enabled, the object does not allow data entry, it is in read-only mode. The property must be passive for data entry to be allowed into the object.

'Select Metadata Type' - The information of the form to be displayed in the object is selected from this field.

FeatureDescription
IdThis option is selected if the form id value given by the system to the form is desired to be shown in the object. The id format can be created in the Identity Format on the form's own Property Viewer.
CreateDateThis option is selected if the date the form was created is intended to appear in the object.
INFO

Adding more than two DocumentMetadata objects to a form is blocked by the system. In the second DocumentMetadata object, the selection in the Select Metadata Type field is automatically set to a non-attached property.

'Pull Number On Start' - This is the feature that is activated if it is desired to give a number as soon as it is displayed at the start of the form flow. When the feature is turned off, the form numbering process does not occur when the process is started.

CAUTION

If the Pull New Number feature is active and the Pull Number On Start feature is also enabled, the Pull New Number feature is turned off.

'Pull New Number' - When the feature is activated, the button to get a new number will be visible on the object. The process of numbering the form with the button is done by the user.

:::d anger WARNING

With the activation of the Pull New Number feature, it is possible to draw a new number continuously by clicking the button that will appear on the object. For this reason, in the scenario where the user clicks more than once, the old ID numbers generated become unusable because a new ID number will be generated for each click.

:::

'Date Format' - This is the field that appears when CreateDate is selected in the Select Metadata Type field. The field in the object where the date and time display format is specified.

Data Definition Language

'Field Name' - The field in the database of the system that determines the name of the column it will create for the object. In the "Name" section, the object can be given another name and the column name to be created for the object in the database table can be created as a different name.

'Allow Null' - This section indicates whether the database field to be created for the object will allow null values.

'Size' - The size that the object will hold in the database field is determined in this field.

Events

The events owned by the object are located in the "Events" tab in the Property Viewer panel. Each event is triggered at different runtime moments, performing its own unique operations. Code written by the developer to these events is also executed at the time the corresponding event is triggered.

When the events in the "Client" field are double-clicked, the screen is directed to the form code editor section called "Formedi.ts" where TypeScript coding can be done and the method block for the clicked event is automatically created.

When the events in the "Server" field are double-clicked, the screen is directed to the form code editor section called "Formadı.cs" where C# coding can be done and the method block for the clicked event is automatically created.

The developer can construct any code block within these methods. Next to the event whose method is created on the code side by clicking from the Events tab, the method name information is automatically generated and the relationship between the event and the method is specified.

DocumentMetadata

Formed methods;

DocumentMetadata

DocumentMetadata