Topics: |
When the server accesses a data source, it needs to know how to interpret the data stored there. For each data source the server will access, you create a synonym that describes the structure of the data source and the server mapping of the data types.
How to: |
Synonyms define unique names (or aliases) for each Excel worksheet that is accessible from the server. Synonyms are useful because they hide the underlying data source location and identity from client applications. They also provide support for extended metadata features of the server, such as virtual fields and additional security mechanisms.
Using synonyms allows an object to be moved or renamed while allowing client applications to continue functioning without modification. The only modification required is a redefinition of the synonym on the server. The result of creating a synonym is a Master File that represents the server metadata.
Note that certain settings can affect synonym creation. For more information on the adapter settings, see Changing Adapter Settings.
To create a synonym, you must have previously configured the adapter. You can create a synonym from the Applications or Adapters pages of the Web Console.
The Adapters page opens.
A file picker dialog box opens.
The Select Excel Worksheets page opens, as shown in the following image.
If checked, scans all rows to determine data types and lengths.
Specifies the maximum number of rows to scan to determine data types and lengths. The default value is 5000.
Is a percentage to add to the characters lengths to compensate for a partial scan. The default value is 25.
Enter a string to indicate a missing value.
Can be Loose, to use the row scan limit to determine types and lengths, or Strict, to determine data type using the first row and the lengths using the row scan limit. The default value is Loose.
Enter the number of header rows containing column names. The default value is 1.
If checked, adds a row number for each spreadsheet row.
If checked, opens additional fields for decomposing date fields, adding geographic roles, and selecting the data type for numeric fields and for alphanumeric fields.
Enter an application name or click the ellipsis (...) to navigate to the application for the synonym.
Assign a prefix to the synonym names.
Assign a suffix to the synonym names.
Select the workbooks for which synonyms are to be created. You can change the synonym name by selecting the default name and typing a new name.
WebFOCUS | |
Feedback |