| QLR Systems Administration | ||||||||||
The Systems Administration functions are only available in the Enterprise Edition
of QLR Manager. They are accessible from the |
||||||||||
| User ID Administration | ||||||||||
The Enterprise Edition of QLR Manager allows you to manage access for each of your users. Access can range from permitting full authority to limiting a user to running reports from a single menu. Controlling user authority to perform certain actions is accomplished in two ways.
The default authority for all users is established by retrieving the *default*
User ID from the |
||||||||||
| ID Status: | ||||||||||
If you wish to prevent a specific ID from using QLR manager, you can "Lock" them out of the system. This is accomplished by setting their ID Status to "Locked". Setting the *default* ID Status to Locked will prevent all users from using QLR Manager, except those that have their User ID established and saved with a Status of "Active". |
||||||||||
| Access control: | ||||||||||
The Access control setting determines which functions a user has authority to use. When
checked, the User will have authority to view the corresponding panel (Query, Layout, Define
Macro, and Create Menu, etc.). If access is granted to the If you wish to limit a user's capabilities, uncheck all the boxes and create a default menu. When this approach is used, QLR Manager is transformed into a reporting interface for that user. All the User will be able to do is to run queries and macros that have already been defined in their Default menu. See [qlr_userid] query variables for information about building dynamic queries based on the User's ID. This may be useful for building a single menu that can be used as the default menu for multiple users. |
||||||||||
| Query execution restrictions: | ||||||||||
The Query execution selections provide a means to restrict the type of queries a particular User ID can execute. This applies to queries executed from the Query, Wizard, Macro and Menu panels. If "None" is selected by itself or with other options, there are no restrictions on the type of queries the User ID can execute. Deselecting all options, including "None", will be treated as if "None" (no restrictions) was selected. The most common restriction would be "Select", which would limit the User ID to executing only SELECT queries. |
||||||||||
| Save limits: | ||||||||||
The Save limit defines how many of each object type can be saved. The values initially displayed are derived from the *default* User ID settings, but can be overridden for a specific ID. Note: If the "Query save limit" is set to 0, the User ID will not be able to create Input Controls. Any value greater than 0 for the Query save limit will enable the User ID to create and save an unlimited number of Input Controls. |
||||||||||
| Query edit access: | ||||||||||
The "Allow query edit" setting for the User ID determines whether the User can edit,
execute and save retrieved queries. If unchecked, the |
||||||||||
| Viewing shared objects: | ||||||||||
The "View shared objects" setting allows you to hide shared objects from the User. If unchecked, the User will only be able to see queries, layouts, macros and menus that are saved under their ID. Other user's shared objects will not be displayed. |
||||||||||
| Saving shared objects: | ||||||||||
This setting allows the Administrator to control whether a user is allowed to share objects when they save them. If this is unchecked, then the "Share" label and checkbox is omitted from the Save control. |
||||||||||
| Default menu owner and name: | ||||||||||
The "Default menu owner" and "Default menu name" fields allow for the association of a specific menu with a User ID. This is the menu that will be displayed when the User accesses the "Menu" (General User) or the "User Menu" (Restricted User) panels. If the User has "Select Menu" authority, they will be able to choose a different menu from a list of menus shared by other users. If the User ID is being established without Select Menu authority, the Default menu owner and name must be entered. |
||||||||||
| Defining a QLR Manager ID: | ||||||||||
QLR Manager supports the creation of "QLR Manager IDs". You can create IDs that are
known to QLR Manager (pseudo ID), but actually connect to the underlying database using an ID that
is defined in the database engine. For example, you can create pseudo ID's for each of your customers,
but the connection to the database is accomplished using a single common database ID. This can also be
useful in a shared hosting server environment where the hosting service provides a single connection
ID, but you have more than one person using QLR Manager. These IDs can be established by selecting
"User ID Admin and Tools from the |
||||||||||
|
||||||||||
Note: If you change the password for the existing database connection ID in the database engine, all User IDs that use this connection ID will be updated to use the new password. This will allow the QLR Manager pseudo IDs to maintain their access. |
||||||||||
| Creating input controls | ||||||||||
Users with the authority to access the Edit Input Controls panel and the ability to save queries as established in their User ID profile, will be able to create an unlimited number of input controls. For more information about all the available HTML form elements that can be created to collect user input, please reference the separate topic about Input Controls. |
||||||||||
| Tracking query and macro usage | ||||||||||
The use of queries and macros can be tracked by issuing the following query which will add an entry into the qlr_info table: insert into qlr_info values ('track usage','yes') |
||||||||||
This will instruct QLR Manager to add information into the table qlr_usage_log every time a user executes a stored query or macro, including execution from a menu. Running a select query against the qlr_usage_log will provide information about the objects executed, the connected User ID and the date/time of execution. To turn off usage tracking, the following query can be executed: delete from qlr_info where ref='track usage' |
||||||||||
| Exporting QLR data for use in another QLR Manager instance | ||||||||||
The Data Export function allows QLR Queries, Layouts, Macros, Menus and User ID profiles to be selectively extracted for importing into another installed instance of QLR Manager. A common use for this capability would be to create new queries and layouts in a test environment and later export them for transfer into a production environment. The Data Export facility provides a means to specify which type of objects to export
(queries, layouts, etc.) and produce a file containing a set of SQL statements.
The contents of this file can be copied and pasted into the
SQL delete statements can be created to replace objects that may exist with the same owner
and name by checking the "Create SQL delete transactions" checkbox found
in the Objects can be selectively extracted (except for User ID profiles) by using the SQL selection criteria area that is provided for both the Owner like and Name like fields. For example, entering "nickd%" into the Owner like field would select all the selected object types belonging to "nickd". To create a file containing all the saved queries and layouts beginning with "prod", Queries and Layouts could be selected as the object types to export and "prod%" could be entered into the Name like field. The Data Export feature uses the SQL LIKE syntax for data selection. |
||||||||||
| Integrating QLR Manager into a website or product | ||||||||||
The recommended method of integrating QLR Manager into your website is to launch the application in a separate window. It is also possible to nest the QLR Manager frameset (3 frames) into its own frame on your site. When using a frameset, it is important to name the frame loading qlrmanager.html as QLR. This is necessary for the Javascript code to execute correctly. A typical frameset configuration with QLR Manager nested in a frame may look like: |
||||||||||
<frameset border="0" frameborder="0" framespacing="0" rows="50,*"> |
||||||||||
| You may have an application where you wish to integrate QLR Manager into your website or bundle it with a product and provide a more seamless look and feel. This can be accomplished by changing the colors and replacing images used in the QLR header files. After purchasing a license or entering into an OEM marketing agreement with Tatler Software, we do permit this re-branding. Depending on your application, you may have five header files to modify. These are all located in the qlr_manager directory. We do not recommend that you modify the Javascript code in these files: | ||||||||||
|
||||||||||
| Several other aspects of the QLR Manager color scheme can be changed by adding entries to the
qlr_info table. Three different settings can be modified.
Here are examples of the commands that can be executed from the |
||||||||||
|
||||||||||
Other associated images and colors can be identified by inspecting the HTML source. |
||||||||||
| Bypassing the Connect panel | ||||||||||
QLR Manager provides a means of bypassing the
var User_ID = "guest2"; |
||||||||||
The variables above are each required. In addition, if your logon requires a connection to a specific database, you can update the following variable:
var Database = "my_database"; |
||||||||||
Note: When using this feature, you are exposing the User ID and Password in the source of the web page, so please consider the security aspects of this approach. If the specified User ID only has User Menu access as configured using User ID Admin, executing this html file will take the User directly to the User Menu panel. If the User ID has Query panel access as well, then they will be taken to the Query panel. If you wish to direct a user with both Menu and Query panel access to the Menu panel instead of the Query panel, a value of &umenu=umenu should be declared for the User_Menu variable in autolog.html: |
||||||||||
var User_Menu = "&umenu=umenu"; |
||||||||||
The files that facilitate this |
||||||||||
<frameset onunload="closeWin()" rows="68,26,*" border="0" frameborder="0" framespacing="0"> |
||||||||||
| The Connect panel message | ||||||||||
QLR Manager provides a means of displaying a message to your user community on the
Following are two examples of different box style formats for conmsg_xxx.html: |
||||||||||
| Fieldset box style: | ||||||||||
|
|
||||||||||
| HTML source: | ||||||||||
<!-- STARTS BOX BORDER AROUND HTML MESSAGE --> |
||||||||||
| Plain box style: | ||||||||||
|
||||||||||
| HTML source: | ||||||||||
<!-- STARTS BOX BORDER AROUND HTML MESSAGE --> |