Siebel Application Integration for Oracle Fusion Middleware Guide > Working with Siebel RESTful Services >

Example of Using Code to Access Data from the Siebel File System


This topic provides one example of how you can use code to access data from the Siebel File System. You might use code to access data differently, depending on your business model.

If your deployment must include attachment data for any business component, then you must define an integration object that allows you to retrieve the attachment data from the Siebel File System. You use Siebel Tools to create an integration object that includes the required configuration. In this example, you access attachments for the Account business component.

To access data from the Siebel File System

  1. Log in to Siebel Tools.
  2. From the View menu, choose the Options menu item, and then click the Object Explorer tab.
  3. In the Object Explorer Hierarchy window, make sure the Integration Object tree check box is selected, and then click OK.
  4. In the Object Explorer, click Integration Object, and then create a new record in the Integration Objects list using the values from the following table.
    Property
    Value

    Name

    Account Attach IO

    Base Object Type

    Siebel Business Object

    Business Object

    Account

    Project

    Any project that is locked

  5. In the Object Explorer, expand the Integration Object tree, and then click Integration Component.
  6. In the Integration Components list, create a new record using the values from the following table.
    Property
    Value

    External Name Context

    Account

    Name

    Account

    Parent Integration Component

    Leave this blank

    External Name

    Account

    External Sequence

    1

    Cardinality

    Zero or More

  7. In the Object Explorer, expand the Integration Components tree, and then click Integration Component Field.
  8. In the Integration Component Fields list, add four new records using the values from the following table.
    Name
    Data Type
    Length

    Integration Id

    DTYPE_TEXT

    30

    Location

    DTYPE_TEXT

    50

    Name

    DTYPE_TEXT

    100

    Primary Organization

    DTYPE_TEXT

    100

    NOTE:  You can add any other fields from the Account business component. For brevity, only a small subset are included in this example.

  9. To create a new Account Attachment integration object, repeat Step 6. Use the values from the following table.
    Property
    Value

    External Name Context

    Account Attachment

    Name

    Account Attachment

    Parent Integration Component

    Account

    External Name

    Account Attachment

    External Sequence

    2

    Cardinality

    Zero or More

  10. Repeat Step 8 and Step 9, but this time add the integration component fields to the Account Attachment integration component.

    Include all the fields that you require that are defined in the Account Attachment business component. For the Data Type and Length properties, use the same values that are defined for each business component field.

    NOTE:  Add only the integration component fields that your require. Make sure that the Account Attachment integration component is last in sequence. For more information on creating attachment integration objects, see Integration Platform Technologies: Siebel Enterprise Application Integration.

  11. Activate the new integration objects.

    For more information about activating integration objects, see Integration Platform Technologies: Siebel Enterprise Application Integration.

You can now access data that resides in the Siebel File System for the Account Attachment business component.

Related Topics

Example of Using Code to Insert Data into the Siebel File System

Siebel Application Integration for Oracle Fusion Middleware Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.