Configuration Guide for Siebel Offline Client for Life Sciences > Configuring Top-Level Objects > Roadmap for Creating a New Filter Definition File for a Top-Level Object >

Creating a Filter Definition File Using the Filter Functionality


This task is a step in Roadmap for Creating a New Filter Definition File for a Top-Level Object. After you download the required WSDL files, you must create the filter definition file using the filter functionality in Oracle JDeveloper.

NOTE:  For more information about filter definition files, see Key Configuration Files.

To create the filter definition file using the filter functionality in Oracle JDeveloper

  1. Start Oracle JDeveloper.
  2. Create a filter definition file as follows:
    1. Click File, New, scroll down and expand the Offline Client category, select Filter, Create New Filter, and then OK.
    2. Use the Create Filter File dialog that displays to enter the following information:
      • Filter File Name: Enter a name for the filter definition file, for example, mededfilter.xml.
      • Filter Location: Browse to the location where you want to save the filter definition file as shown, for example, in the following table.
        Product
        Filter Definition File Location

        Siebel CRM

        CONFIG_PROJECTS_OP\appcfg_sync_80x\src\config

      • Time WDL File: This file is not required for Siebel CRM.
      • WSDL File: Browse to the location of the MedEdEvent.wsdl file.
      • Click OK.
    3. In the following Select the DataModel dialog, do the following:
      • Drag the objects that you want created for the filter from Data Objects to Selected Objects, and then click Next.
      • For each Selected Object, drag the fields that you want from Available Fields to Selected Fields.
      • Click Finish. Doing this generates mededfilter.xml in the specified path with the specified objects and fields.
  3. Clean the filter within Oracle JDeveloper, for example, as follows:

    NOTE:  In this case, some additional steps must be performed in order to be able to synchronize with the Siebel CRM Server.

    1. Open mededfilter.xml in Oracle JDeveloper.
    2. Modify the following nodes:
      • Id: Change RowId to True.
      • CreatedBy: Change Attribute to CreatedById.
      • CreatedDate: Change Attribute to CreatedDate.
      • Updated: Change Attribute to ModifiedDate, and set Foreign Key to SYS_CurrentUser.
      • UpdatedBy: Change Attribute to ModifiedById, and set Foreign Key to SYS_CurrentUser.
  4. Save the file.
  5. Validate the definition file.

    For more information, see Validating Modified Definition Files.

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