HELP LINE

Please contact us any time if you need assistance on:

  • appRain installaton
  • Component, Plugin, Addon, Theme Configuration
  • Code Guide line
  • Documentation and Manual
  • Any appRain bug fixig

For any clarification email us now »

appRain CMF
info@apprain.com

Ticket

InformationSet Base Part Defintion

CategorySet/InformationSet | Report this post | Back


The base part definition always wrapped up with <base> tag. See the following example:

<base>
    <version>0.1.0</version>
    <lastupdate>2009-12-01</lastupdate>
    <title>Blog Post</title>
    <admin_tab>blog</admin_tab>
    <addons />
    <parameters />
    <generic-field>
        <enabled>No</enabled>
        <title>Sort Order</title>
        <type>genericTag</type>
        <validation>
            <rule>
                <type>isNumber</type>
                <err-message>
                    Sort Order must be integer type value
                </err-message>
            </rule>
        </validation>
        <tag-attributes>
            <attribute name="id">generic</attribute>
            <attribute name="class">app_input</attribute>
        </tag-attributes>
    </generic-field>
    <max_entry>
        <limit></limit>
        <message><![CDATA[]]></message>
    </max_entry>
    <sreach>
          <status>Yes</status>
          <field-selected>title</field-selected>
          <field-description>description</field-description>
          <parma-link>
            <!-- Relative Absolute -->
            <type>Relative</type>
            <uri><![CDATA[blog-by-post/[id]/[title]]]></uri>
          </parma-link>
    </sreach>
</base>

Version and Last Update

Version and Last Update filed is used for Developer work track.

Title

Title field view in data process from in admin panel.

Admin Tab

Admin Tab field is a major field that help to render the InformationSet in admin panel. We add the accessible tab name that we save in Interface Builder

Add-ons:

We use this tag to load add-ons in InformationSet data process window. But we have to ensure the addoin is created accordant.

We add one or multiple addon name in inner tags, like following example

<addons> 
  <addon> autocomplete</addon> 
  <addon> dbvalidation</addon> 
</addons>

Parameters:

This tag used to configure some additional parameters. Most frequently we use these access parameters.

<parameters>
  <parameter  name="delete">No</ parameter>
  <parameter  name="edit">Yes</ parameter>
</ parameters>

Generic

Generic is a custom, This is a direct field that we can pass in First Query condition in InformationSet. Most frequently we use it for sort order. Configuration of it is exactly like other field that will be describe in "Fields" section.

Maximum Entry

This field set a limit of entry and a warning message.

Search

Search field enable and disabled the entry for search module. We can setting following parameters

  • Status: Enable and disabled the feature.
  • field-selected: Field name that used as a hyper link text in search result.
  • field-description: The content is used as a sub description of search result
  • perma-link type: define the path pattern Relative or Absolute
  • perma-link uri: The URL of search detail page. We can use other field content by entering field name in squire brace like [title]


Report this post

Highlighted News

Latest version of appRain (0.2.1) is ready for download. New module is developed to apply validation and easy JavaScript programming. Lots of fixes done and made it stable.