Custom Report - Accounts With Profile Questions
Summary
This custom report displays a list of accounts which have account level profile questions only, service or package profile questions will not appear in this report.
Configuration
There are basically two steps when creating a custom report:
Create a SQL view in Microsoft SQL Server Management Studio
Call the view from EngageIP to display the custom report
This report will contain the following columns:
ID
Name
Question
Answer
Creating the SQL View
Open Microsoft SQL Server Management Studio
Connect to and open the BOSS database
Right Click on the VIEW directory and select the New View... option
Close the Add Table window
Copy the following query in to the view:
SELECT TOP (100) PERCENT dbo.[USER].ID, dbo.[USER].Name, dbo.ProfileQuestion.Name AS Question, dbo.ProfileAnswer.Value AS Answer FROM dbo.ProfileAnswer INNER JOIN dbo.UserAttributeProfileAnswer ON dbo.ProfileAnswer.ID = dbo.UserAttributeProfileAnswer.ProfileAnswerID INNER JOIN dbo.[USER] ON dbo.UserAttributeProfileAnswer.UserID = dbo.[USER].ID INNER JOIN dbo.ProfileQuestion ON dbo.ProfileAnswer.ProfileQuestionID = dbo.ProfileQuestion.ID ORDER BY dbo.[USER].Name
6. Click the Execute SQL button [ ! ] or [CTRL]+R, to run the query
7. Save the View (no special characters or spaces, under scores can be used in place of spaces).
Remember the name of the view as you will need to enter this value in EngageIP
EngageIP Configuration
Log in to EngageIP
Click the Setup tab
Select the Custom Reports
Click the Add button
Enter a Name (no special characters or spaces, under scores can be used in place of spaces) for the report. The value entered here will become a role permission enabling only accounts within that role to view the custom report. It is recommended that you name all your custom reports with a common prefix so that they will be easy to locate within the role permission list.
Enter the following Connection String; replacing User ID and Password (XYZ) with the correct values;
server=localhost;Trusted_Connection=false;database=boss;uid=XYZ;pwd=XYZ
Enter the name of the view you created in SQL in the Table field
Click Save
Logout and then back in to EngageIP. This will reset the role permission set and allow you to grant access to the report
Click on the Setup tab
Select the Roles option
Select the role from the list to grant view permissions for this report
Scroll down to the Role Permissions section and locate the name of the report within the list
Select the LIST check box next to that permission
Scroll to the bottom of the permission set and click the Save button
Repeat steps 11-15 above until all applicable roles have been granted permission to view the report
Click the Reports tab
Scroll to the bottom of the screen where you will see a new section entitled; Custom Reports
Click on the Name of your Custom Report to view the output
Like all other lists within the application, custom reports can be filtered, printed, and/or exported using the appropriate list icons.