Open RETS Client HOWTO

Prev


Next


5. Common Tasks

This section covers a number of tasks often used when running the ORC. When appropriate, distinctions will be made to differentiate between Windows and Linux.

5.1 Starting the ORC (Console Mode)

First, open up a console (command-line) application.

  1. Select Start->Run... from the Task Bar.

  2. Type cmd in the text box provided

  3. At the prompt, change directories to C:\Program Files\orc-x.x.x\bin.

  4. Type orc.bat --console at the prompt.

  1. Open a console application (e.g., konsole, xterm, gnome-console)

  2. At the prompt, change directories to /usr/local/orc-x.x.x/bin.

  3. Type orc.sh --console at the prompt.

5.2 Starting the ORC (GUI Mode)

  1. Follow steps 1-3 of Section 5.1, then simply type orc.bat
  1. Follow steps 1 & 2 of Section 5.1, then simply type orc.sh

5.3 Creating a Search Transaction

In GUI mode, to create a Search Transaction for a given MLS perform the following:
  1. Select Edit->Services... from the menu.  This should open the Service Profiles window.

  2. In order to create the Search Transaction, expand the service.

  3. Select the Search node. If this is the first time a Search Transaction has been created for the selected MLS, then a message will appear notifying the user that a Search Transaction does not exist; simply accept the message and proceed.

  4. Create a description by clicking on the Add button and type your description into the text box provided in the Add A Description pop-up window (try give the description a name relevant to it's purpose).

  5. Select the Search Type / Class tab.

  6. Select a Search Type from the dropdown provided.

  7. Select a Class from the dropdown provided.

  8. Select whether the field names provided in the search, should be Standard Names or System Names.

  9. Select the Optional tab.

  10. Choose from one or more of the Optional Request Details.  NOTE: these are optional to the Search Transaction. The user may opt to select nothing from this group.

  11. Click on the Query button, and type in your search query.  Once satisfied with the query, click the OK button.

  12. Click on the Select button, and optionally, type in the fields you would like to retrieve.  Once satisfied with the fields, click the OK button.

5.4 Deleting a Search Transaction

In GUI mode, perform the following:
  1. Select Edit->Services... from the menu.  This should open the Service Profiles window.

  2. Select the Search node.  It's assumed for this operation, that one or more Search Transactoions have already been created.

  3. Select the description to delete by choosing from the Description dropdown.

  4. Click on the Delete button.

  5. Click the Yes button.  This will delete the selected Search Transaction and all it's attributes (i.e., Search Type, Class, Query, etc.)

5.5 Creating a Search Transaction to Retrieve All Active Listings

In GUI mode, perform the following:
  1. Select Edit->Services... from the menu.  This should open the Service Profiles window.

  2. In order to create the Search Transaction, expand the service.

  3. Select the Search node. If this is the first time a Search Transaction has been created for the selected MLS, then a message will appear notifying the user that a Search Transaction does not exist; simply accept the message and proceed.

  4. Create a description by clicking on the Add button and typing your description into the text box provided in the Add A Description pop-up window (try to name the description relevant to it's purpose).

  5. Select the Search Type / Class tab.

  6. Select from the Search Type dropdown provided.  For the sake of an example, let's say that this particular MLS has the following choices, and the user has selected Property

    1. Property

    2. ActiveAgent

    3. Agent

    4. Office

  7. Select from the Class dropdown provided.  Again, let's say this particular MLS has the following choices, and the user has selected Residential

    1. Residential

    2. Multifamily

    3. Condo

    4. Commercial

  8. Select System Names from the Search Field Names grouping.

  9. Click on the Query button, and type (STATUS=|A). The value of (STATUS=|A) is specific to this example. Each MLS will vary. Check the METADATA to determine the listing status field name and values to use.

Service Profile - Search Transaction

  1. Repeat steps 1 through 9, for each of the remaining classes.  At the conclusion of this process, a total of four descriptions will have been created - one for each Class.  For the sake of this example, let's say that the following descriptions were created at Step 4:  Residential - Active Search, Multifamily - Active Search, Condo - Active Search, Commercial - Active Search.  You can name your descriptions anything you'd like, but try to keep the names short and descriptive.

  2. Once satisfied with your choices, click the OK button of the Service Profiles window to activate your selections.

5.6 Creating a GetObject Transaction

In GUI mode, to create a Search Transaction for a given MLS perform the following:
  1. Select Edit->Services... from the menu.  This should open the Service Profiles window.

  2. In order to create the GetObject Transaction, expand the service.

  3. Select the GetObject node. If this is the first time a GetObject Transaction has been created for the selected MLS, then a message will appear notifying the user that a GetObject Transaction does not exist; simply accept the message and proceed.

  4. Create a description by clicking on the Add button and type your description into the text box provided in the Add A Description pop-up window.

  5. Select the Resource / Type tab.

  6. Select a Resource from the dropdown provided.

  7. Select a Type from the dropdown provided.

  8. Select the Multimedia Objects tab.  If this is the first time this tab has been selected, then the contents of the Multimedia Objects tab will be empty. 

  9. Click on the Retrieve Media button. This will begin the process of retrieving a list of all available images for the selected Resource and Type (see steps 5 - 7).

  10. Once the list has been generated, the user should be presented with a table of data containing three columns: Enabled, Resource Entity, and Object ID List.


Service Profile - GetObject

  1. Scan the list and click the checkbox to enable those images to include in the download.  Enabling two or more Resource Entities, results in a comma-separated list being generated and shown in the Multimedia textbox.

  2. To alter the Object ID List values, simply double-click on the desired cell and then type the list of values to retrieve.  Examples include the following: 1:3:5, 1:3, 1:2, where 1, 2, 3 and 5 represent the 1st, 2nd, 3rd, and 5th images to retrieve.  The asterisk (*) signifies a request to retrieve all images.

5.7 Retrieving Resource Data Using a Description

In console mode, there may be times where a user would prefer to retrieve a specific set of listing data.  In those circumstances, it's best to first define a Search Transaction (reference Section 4.2 & Section 5.3).  Once the Search Transaction has been defined and a description created, then the user can access the information by typing the following at the console:

orc.bat --console -e "Residential - Active Search, Condo - Active Search" "My MLSID"
orc.sh --console -e "Residential - Active Search, Condo - Active Search" "My MLSID"

Where "Residential - Active Search, Condo - Active Search" represent descriptions created within ORC's GUI (reference Section 5.3)

Note: That there may be one or more descriptions passed to the -e option.  If the user would like to retrieve data for more than one type of predefined description, then a comma-separated list must be provided.  In additon to the -e option, the user may prefer to use the --descriptions option - the outcome will be the same.

5.8 Retrieving All Active Resource Data

IMPORTANT: This assumes that you have already performed the steps outlined in Section 5.5 and Section 5.6.

In console mode, to retrieve all of the listing data for a given MLS simply type the following at the console
orc.bat --console "My MLSID"
orc.sh --console "My MLSID"
This should retrieve all of the enabled Search Transactions as well as retrieve all of the enabled GetObject Transactions.


Prev

Home

Next

Getting Started

 

References