Configuration Guide for Siebel Offline Client for Life Sciences > Extending the Basic Content in the Sales Application > Process of Making a New Related Item Available >

Embedding the MedEd Event Custom Object Structure in the Contact Filter Definition File in Siebel CRM


Use the following procedure to embed the MedEd Event custom object structure in the Contact filter definition file using Oracle JDeveloper. This task is a step in Process of Making a New Related Item Available.

To embed the MedEd Event custom object structure in the Contact filter definition file

  1. Start Oracle JDeveloper.
  2. Click File, Open, browse to the location of the contactfilter.xml file as shown, for example, in the following table and then click Open.
    Product
    contactfilter.xml File Location

    Siebel CRM

    CONFIG_PROJECTS_OP\appcfg_sync_80x\src\config

  3. In the contactfilter.xml Structure window, expand Filters, Filter, EntityList, and then Entity - Contact.
  4. Copy the PharmaMeInviteeEvent EntityList from the contactmededfilter.xml file and paste it as one of the nodes into the contactfilter.xml child entity.
    1. Select Entity - PharmaMeInviteeEvent and in Property Inspector, set the value of the ChildKey attribute to ContactId, as shown in the following example.
    2. Find and select the ContactId field under Entity - PharmaMeInviteeEvent and set the ForeignKeyTo attribute to Contact, as shown in the following example.

      In the following example, the ChildKey is CondactId and the ParentKey is Contact.ContactId. For more information about creating a filter, see Creating a Filter Definition File Using the Filter Functionality.

    <EntityList Type="ListOfMedEd_Events" NoSync="N" Inactive="N" Associate="N"
    CascadeDelete="N" Insert="N">

    <Entity Type="PharmaMeInviteeEvent" Entity="PharmaMeInviteeEvent"
    CascadeDelete="N" Childkey="ContactId" Parentkey="Contact.ContactId">

    <Field Type="Id" Datatype="DTYPE_TEXT" Entity="PharmaMeInviteeEvent" Attribute="Id" RowId="Y" UserKey="0" Filterable="Y" Required="N" ReadOnly="Y" NoSync="N" SystemField="Y" Inactive="N"> <Constraint Id="UNIQUE"/> <Constraint Id="NOT NULL"/> </Field>

    <Field Type="Created" Datatype="DTYPE_UTCDATETIME" Entity="PharmaMeInviteeEvent" Attribute="CreatedDate" SystemField="Y"
    DefaultValue="" RowId="" Required="N" NoSync="N" Filterable="Y"/>

    <Field Type="CreatedBy" Datatype="DTYPE_TEXT" Entity="PharmaMeInviteeEvent" Attribute="CreatedById" RowId="N" UserKey="" Filterable="Y" Required="N" ReadOnly="Y" NoSync="N" SystemField="Y" NoColumn="N"
    ForeignKeyTo="SYS_CurrentUser"/>

    <Field Type="Updated" Datatype="DTYPE_UTCDATETIME" Entity="PharmaMeInviteeEvent" Attribute="ModifiedDate" RowId="N" UserKey="" Filterable="Y" Required="N" ReadOnly="Y" NoSync="N" SystemField="Y"
    NoColumn="N" Inactive="N"/>

    <Field Type="UpdatedBy" Datatype="DTYPE_TEXT" Entity="PharmaMeInviteeEvent" Attribute="ModifiedById" RowId="N" UserKey="" Filterable="Y" Required="N" ReadOnly="Y" NoSync="N" SystemField="Y" ForeignKeyTo="SYS_CurrentUser"/>

    <Field Type="ContactId" Datatype="DTYPE_TEXT" Entity="PharmaMeInviteeEvent" Attribute="ContactId" RowId="N" UserKey="" Filterable="Y" Required="Y" ReadOnly="N" NoSync="N" SystemField="N" Inactive="N" ForeignKeyTo="Contact"/>

    <Field Type="EventId" Datatype="DTYPE_TEXT" Entity="PharmaMeInviteeEvent" Attribute="EventId" RowId="N" UserKey="" Filterable="Y" Required="N" ReadOnly="Y" NoSync="N" SystemField="Y" NoColumn="N" Inactive="N" />

    <Field Type="EventName" Datatype="DTYPE_TEXT" Entity="PharmaMeInviteeEvent" Attribute="EventName" RowId="N" UserKey="" Filterable="Y" Required="N" ReadOnly="N" NoSync="N" SystemField="N" NoColumn="N" Inactive="N"/>

    <Field Type="Objective" Datatype="DTYPE_TEXT" Entity="PharmaMeInviteeEvent" Attribute="Objective" RowId="N" UserKey="" Filterable="N" Required="N" ReadOnly="N" NoSync="N" SystemField="Y" NoColumn="N" Inactive="N"/>

    </Entity>

    </EntityList>

  5. Save the Contact filter definition file.
  6. Validate the modified definition file.

    For more information, see Validating Configured Filter Definition Files.

Configuration Guide for Siebel Offline Client for Life Sciences Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.