Customizing and integrating BIRT Studio : Configuring BIRT Studio : Enabling or disabling functionality : Configuring advanced data operations
 
Configuring advanced data operations
You can enable or disable the following advanced data options in Available Data in the report design area of BIRT Studio:
*Modify enables the user to change the data set by joining it with one or more information objects.
*Synchronize Data Sets enables the user to update the data set in the report design with the current data in the information object on the volume.
Figure 15‑10 shows the data options in Available Data.
Figure 15‑10 Advanced data options
By default, these data options are available only to users with the administrator or Active Portal Advanced security roles and they are in effect only when the data sources are information objects. When users with other roles log in to BIRT Studio, the Modify and Synchronize Data Sets buttons do not appear.
You can enable these options for users with different roles by editing attributes in one of Information Console’s configuration files, functionality-level.config. This configuration file defines roles, or levels, for Information Console users, from Basic to Administrator. Each role has a predefined set of functionality that the role can execute in Information Console. For information about all the functionality options listed in functionality-level.config, see Information Console Developer Guide.
Listing 15‑4 shows the Intermediate and Advanced levels in functionality‑level.config. The listing highlights in bold the advanced data option that is available to the Active Portal Advanced role but not the Active Portal Intermediate role.
Listing 15‑4 Intermediate and Advanced levels in functionality‑level.config
<Level>
<Name>Intermediate</Name>
<Role>Active Portal Intermediate</Role>
<FeatureID>Jobs</FeatureID>
<FeatureID>Documents</FeatureID>
<FeatureID>Channels</FeatureID>
<FeatureID>Search</FeatureID>
<SubfeatureID>DeleteFile</SubfeatureID>
<SubfeatureID>SelfNotificationWithAttachment</SubfeatureID>
<SubfeatureID>SubscribeChannel</SubfeatureID>
<SubfeatureID>InteractiveViewing</SubfeatureID>
<SubfeatureID>DashboardDeveloper</SubfeatureID>
</Level>
<Level>
<Name>Advanced</Name>
<Role>Active Portal Advanced</Role>
<FeatureID>Jobs</FeatureID>
<FeatureID>Documents</FeatureID>
<FeatureID>Channels</FeatureID>
<FeatureID>Search</FeatureID>
<SubfeatureID>DeleteFile</SubfeatureID>
<SubfeatureID>SelfNotificationWithAttachment</SubfeatureID>
<SubfeatureID>SubscribeChannel</SubfeatureID>
<SubfeatureID>CreateFolder</SubfeatureID>
<SubfeatureID>DeleteFolder</SubfeatureID>
<SubfeatureID>ShareFile</SubfeatureID>
<SubfeatureID>JobPriority</SubfeatureID>
<SubfeatureID>InteractiveViewing</SubfeatureID>
<SubfeatureID>AdvancedData</SubfeatureID>
<SubfeatureID>DashboardDeveloper</SubfeatureID>
</Level>
To enable the advanced data options for other roles, add the following line in the corresponding <Level> definition:
<SubfeatureID>AdvancedData</SubfeatureID>
You must add this line after the last <SubfeatureID> element. For example,
to add the line to the Intermediate level, you must add it after <SubfeatureID>DashboardDeveloper</SubfeatureID>.
Unlike the functionality options you set in erni_config.xml, the options you set in functionality-level.config apply at the user role level, not at the application level. A single instance of BIRT Studio displays or hides the advanced data options, depending on the user login.