CentraSite 10.3 | CentraSite User’s Guide | Asset Management | Managing Assets through CentraSite Business UI | OData Service Management | Adding OData Service using Importer | Adding OData Service using an EDMX File
 
Adding OData Service using an EDMX File
Pre-requisites:
To add an OData Service asset to an organization's asset catalog, you must belong to a role that has the Create Assets or Manage Assets permission for that organization.
Note:
By default, users with the CentraSite Administrator or Asset Administrator role have this permission.
Before you add an OData Service asset to the catalog, you must have the EDMX specification file that you want to import. This file can reside on the file system of the computer where your browser is running or it can reside anywhere on the network, as long as its location is addressable through a URL.
*To add an OData Service asset using EDMX specification
1. In the CentraSite Business UI activity bar, click Create Asset.
This opens the Create New Asset wizard.
2. In the Basic Information profile, provide the required information for each of the displayed data fields.
Field
Description
Name
(Optional). Name of the OData Service.
Note:
This is the name that users will see when they view this OData Service asset in the CentraSite User Interfaces. Therefore, we recommend that you specify a meaningful name for OData Service.
An OData Service asset name can contain any characters (including spaces), and must be unique within an organization.
If you have not specified a name for the OData service, CentraSite automatically populates the Name field with the data extracted from the OData Service URL or the EDMX file name.
Type
The asset type, OData Service.
Organization
The organization to which you want to add the OData Service. (The Organization list only displays organizations for which you have the Manage Assets permission or at least the Create Assets permission.)
Version
(Optional). The version identifier for the OData Service. You can enter any string in this field, that is, the version identifier does not need to be numeric. You can also leave the field blank. You can later create new versions of the OData Service. The default is 1.0.
Examples:
0.0a
1.0.0 (beta)
Pre-release 001
V1-2007.04.30
Description
(Optional). The description for the OData Service.
Note:
This is the description information that users will see when they view this OData Service asset in the CentraSite User Interfaces. Therefore, we recommend that you specify a meaningful description for each OData Service.
Import a File
The input EDMX file for the OData Service. You may want to read the input EDMX file from a URL-addressable location on the network (the URL option) or from your local file system (the File option).
Option
Description
URL
If the EDMX file you are importing resides on the network, you can specify its URL.
File
If the specification resides in your local file system, specify the file name. You can use the Browse button to navigate to the required folder.
3. Click the Advanced Settings chevron to expand the additional options that are available for the Service asset. Provide the required information for each of the displayed fields:
Field
Description
Credentials
If you have specified a URL and the site you want to access through the URL requires user authentication, type a username and password for authentication at the URL site.
Resolution
Select a resolution strategy, which will allow you to specify how an already existing imported and included file is handled. For each of the imported and included files you have one of these options:
*Create new version: Creates a new version of the file with the new content (if, for example, you want to modify an EDMX file but want to retain its previous version).
*Always overwrite: Overwrites the importing file with new content.
4. Click Next.
You will not be allowed to move to the next screen unless all of its required attributes have been set.
5. In the Preview panel, review the basic information for the OData Service before you actually add to the CentraSite registry.
6. Click Save.
An OData Service asset instance is created in the specified organization and registered with the CentraSite registry/repository. The details page for the OData Service asset that you just created is displayed.
7. Configure the extended attributes of the OData Service as described later in this topic.
Tip:
If you had previously imported an EDMX file that has an associated schema file and you now re-import just the schema file with modifications, your browser may not display the updated contents of the schema file. This can happen if the browser cache is not being updated automatically. To rectify the problem, you can change your browser settings so that pages are always updated on every visit.