Difference between revisions of "Application Construction Wizard"

From LongJump Support Wiki
imported>Aeric
(Created page with "'''[My Applications] > [Create New Application] > Create Using Wizard''' # Enter the '''Application Name''' #: # Enter the first '''Object name''' {{:Common:Object Construction…")
 
imported>Aeric
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
#:
#:
# Enter the first '''Object name'''
# Enter the first '''Object name'''
'''Define the object:'''
{{:Common:Object Construction}}
{{:Common:Object Construction}}



Latest revision as of 01:33, 11 January 2014

[My Applications] > [Create New Application] > Create Using Wizard

  1. Enter the Application Name
  2. Enter the first Object name

Define the object:

  1. Click [Define Fields]
  2. Specify object labels:
    • Plural Label - The label used when the context is the object itself, or to the collection of records it contains
    • Singular Label - The label used when the context is a single record stored in the object
  3. Define up to 10 fields, to get started. (You can add more later.) For each field, specify:
    • Field Label - The label users will see
    • Internal Field Name - The internal reference name. (Created for you. Modifiable, but generally best left alone.)
    • Field Type - Pick one of the many choices
  4. Follow the prompts to add additional information, depending on the field type.
  5. When done defining fields, click [Save]
To add additional objects, click [Add an Object] and repeat the process.

Establish relationships between the application objects:

  1. Click [Add a Relationship]
  2. Under Relationships select the objects to fill in the blanks:
    Between __{baseObject}__ and __{relatedObject}__
  3. Specify the Relationship Type:
    • One to Many - One {baseObject} record can be related to many {relatedObject} records
      For example: One Order can have many OrderItems.
    • Many to Many - One {baseObject} record can be related to many {relatedObject} records, and each of the {relatedObject} records can be related to many {baseObject} records
      For example: One Order can have many Tags, and one Tag can be applied to many Orders.
The relationships cause Lookup fields to be added to the objects, with names like "related_to_X". For example, the OrderItems object will have a field named related_to_Orders.

When you're done, create the application:

  1. Click [Create this Application]
  2. Click [Open Application] to run it