Optional - Dovetail Data Restriction Support

Dovetail Software products Dovetail Agent and Dovetail Mobile Agent support a database partitioning technique called Data Restriction. This technique allows a single database to be partitioned into logical, virtual databases. If your organization is using Dovetail's Data Restriction feature you will likely want your search results to be logically partitioned in the same way.

How Data Restriction Works

Data Restrictions are implemented by including five restriction fields in every table or view to be restricted. These fields are always named x_res1 through x_res5. A Dovetail application will add criteria to every database query based on the restriction group of the current user.

When indexing Dovetail database content, using Dovetail document specifications, you need to include these five Data Restriction fields in your search index. This allows searches against your Dovetail index content to be restricted in a similar manner as is done with database queries.

Adding Support For Data Restriction to Dovetail Seeker

We have included example Dovetail Document Specifications for customers using data restrictions. These example specifications add the five data restriction fields to custom fields named res1 through res5. Adding data restriction support for most document specifications simply requires that you un-comment the custom data restriction fields.

Note: Whitespace in the data restriction custom field XML is meaningful. Please ensure that there is no spacing in the data restriction custom fields.

Search Client Support

The latest versions of Dovetail Agent and <mobileapp> include search clients which support Data Restricted search indexes. These search clients detect which of your document specifications have the tag containing the term dataRestricted. When this term is present data restriction criteria will be automatically added to search request for that search domain.

Some data restricted specificaitons require schema changes. For these you will need to Update the Clarify Schema.

Note: It is important that all data restricted document specifications contain the tag dataRestricted.

See Also

Document Specifications

Dovetail Document Specifications

File Document Specifications

Specification Description and Tags

Next

Update the Clarify Schema

Optional - Dovetail Data Restriction Support