Changes between Version 15 and Version 16 of MolgenisAddressBookExample


Ignore:
Timestamp:
2009-08-23T18:48:46+02:00 (15 years ago)
Author:
Morris Swertz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MolgenisAddressBookExample

    v15 v16  
    88[[Image(address-book-screenshot.JPG)]]
    99
    10 1. Create the data model XML[[BR]]
     10== 1. Create the data model XML[[BR]] ==
    1111Create a new xml file ‘addressbook_db.xml’ in the root of you application. This file will contain the MOLGENIS model. Use the following template:
    1212
     
    2020}}}
    2121
    22 1. Add a “Contact” data type. Data types are called ‘entity’ in MOLGENIS:
     22== 2. Add a “Contact” data type. ==
     23Data types are called ‘entity’ in MOLGENIS:
    2324{{{
    2425#!xml
     
    3031}}}
    3132
    32 
     33== 3. Add properties to the “Contact” data type. ==
     34Properties are called ‘field’ in MOLGENIS.
     35 * A unique, automatic numeric identifier field that MOLGENIS will use to refer contacts.
     36{{{
     37#!xml
     38<field name="contact_id" type="autoid"/>
     39}}}