SlideShare a Scribd company logo
Get the Scoop:
Developing Custom Reports
Private and Confidential – Copyright 2019
Why use custom reports?
Enhance with
Visualizations
Can be secured or
restricted
Accessible from
Anywhere
Fully Customizable
Private and Confidential – Copyright 2019
Do you have what it takes?
SQL Experience
Ipro Schema familiarity
SQL Reporting knowledge
Private and Confidential – Copyright 2019
Where do we begin?
•Reports are executed by the Web service
• Basic - Automatically Detected
• Advanced - Manually Defined
•There are two flavors of custom reports
• Charts or Graphs
• Input Parameters
• Permissions
• Custom Formatting
• Report Interface Categorization
•Advanced reports are required for reports that will contain any of the following
Private and Confidential – Copyright 2019
Factors to Consider
∙ What is our END GOAL?
∙ What INFORMATION do we need meet the goal?
∙ Who is the AUDIENCE?
∙ Will the report need SECURITY?
∙ Which MODULE will the report be targeting?
∙ What is the SCOPE?
∙ Will INPUT PARAMETERS be required?
Private and Confidential – Copyright 2019
Rules of Engagement
The Numbered Circles on the slides indicate the text file with the appropriate code for that step.
Type or copy and paste the Code for your reports located here:
%Desktop%Ipro Tech Show DocumentsCloud WorkshopDay 2 - Wednesday - May 1stGet the Scoop -
Custom Reports
How do we add a report?
Create the
Schema
Create the
Report
Build the
Stored
Procedure
Verify your
Work
The Case Administrator has requested a Report
of the number of Emails per Custodian
Private and Confidential – Copyright 2019
1.Launch SQL Management Studio
and connect to CLD-EVLADD001
Click New Query at the top of the
screen (CTRL+N)
1.Type the Query Code into the
‘New Query’ window
Execute the query (F5)
Create the Schema
%Desktop%Ipro Tech Show DocumentsCloud
WorkshopDay 2 - Wednesday - May 1stGet
the Scoop - Custom Reports
USE IproEclipse_Case000001
GO
CREATE SCHEMA UserDefinedReports
GO
Query Code:
Private and Confidential – Copyright 2019
Create the Report
1.1. Copy the
query from the
text file at path
below into SSMS
2. Paste the
Query Code
below into the
current query
window
3. Execute the
Query (F5)
SELECT Custodian
,COUNT(Custodian) AS EmailCount
FROM vDocumentFields VDF
INNER JOIN FileTypes FT
ON VDF.NATIVEFILETYPE = FT.FileTypeID
WHERE FileCategoryId BETWEEN 5 AND 8
GROUP BY Custodian
Private and Confidential – Copyright 2019
Build the Stored Procedure
Update the Script to a Stored
Procedure and Execute (F5)
CREATE PROCEDURE
UserDefinedReports.CustodianEmailCount
AS
BEGIN
SELECT Custodian
,COUNT(Custodian) AS EmailCount
FROM vDocumentFields VDF
INNER JOIN FileTypes FT ON
VDF.NATIVEFILETYPE = FT.FileTypeID
WHERE FileCategoryId BETWEEN 5 AND 8
GROUP BY Custodian
END
Private and Confidential – Copyright 2019
Verify the Report in Ipro Reports
1. Log into Ipro (Chrome)
2. Navigate to Reports > Select Globex Industries v ATLN Energy - Review> Uncategorized
3. Select Custodian Email Count > Run Report
Web Link User Name Password
https://add.iprotech.com administrator@iprotech.com Admin123!
Report
Definitions
Private and Confidential – Copyright 2019
What is a Report Definition?
Format data headers and columns
Allow Input Parameters
Display Charts and Graphs
Report Security
Categorize by product and type in the interface
Private and Confidential – Copyright 2019
Dive into Report Definition
INSERT INTO [Reporting].[ReportDefinition]
([Name]
,[ProductId]
,[ReportTypeId]
,[IsCommonReport]
,[ExecutionMetadata]
,[DisplayMetadata]
,[Description]
,[RequiredPermission])
VALUES
('CustodianEmailCount'
,3
,6
,1
,'{"StoredProcedure":"UserDefinedReports.CustodianEmailCount" }'
,'[ { "Header":"Total Number of Emails",
"Charts": [ {"Type":"horizontalBar",
"Caption":"Emails Per Case",
"XAxisField":"Custodian",
"YAxisFields":["EmailCount"] } ] } ]'
,'Total Number of Emails Per Custodian'
,'CustodianEmailCount')
Private and Confidential – Copyright 2019
Let’s Break this Down
Private and Confidential – Copyright 2019
Report Definition: Name
INSERT INTO [Reporting].[ReportDefinition]
([Name]
,[ProductId]
,[ReportTypeId]
,[IsCommonReport]
,[ExecutionMetadata]
,[DisplayMetadata]
,[Description]
,[RequiredPermission])
VALUES
('CustodianEmailCount'
,3
,6
,1
Name: The display name of the
report on the Reports page in
the User Interface.
Consider a standard naming
convention for custom reports to
ensure clarity and consistency.
*Be sure to use a Custom Schema Name for Defined Reports
Private and Confidential – Copyright 2019
Report Definition: ProductID
INSERT INTO [Reporting].[ReportDefinition]
([Name]
,[ProductId]
,[ReportTypeId]
,[IsCommonReport]
,[ExecutionMetadata]
,[DisplayMetadata]
,[Description]
,[RequiredPermission])
VALUES
('CustodianEmailCount'
,3
,6
,1
ProductID: Refers to the
product that your report will
be available to
This must be a value from
the Enterprise.Product table
Private and Confidential – Copyright 2019
Report Definition: ReportTypeID
INSERT INTO [Reporting].[ReportDefinition]
([Name]
,[ProductId]
,[ReportTypeId]
,[IsCommonReport]
,[ExecutionMetadata]
,[DisplayMetadata]
,[Description]
,[RequiredPermission])
VALUES
('CustodianEmailCount'
,3
,6
,1
ReportTypeId: Reports
are displayed in groups by
the report type in Ipro
Reports.
Report Type Descriptions
can be found in the
Reporting.ReportType
table.
Private and Confidential – Copyright 2019
Report Definition: IsCommonReport
INSERT INTO [Reporting].[ReportDefinition]
([Name]
,[ProductId]
,[ReportTypeId]
,[IsCommonReport]
,[ExecutionMetadata]
,[DisplayMetadata]
,[Description]
,[RequiredPermission])
VALUES
('CustodianEmailCount'
,3
,6
,1
IsCommonReport: This
field determines whether
your report is displayed in
the Ipro Reports page even
if it is not detected in the
product database.
Values are 0 or 1
Private and Confidential – Copyright 2019
Report Definition: ExecutionMetadata
,'{"StoredProcedure":"UserDefinedReports.CustodianEmailCounts" }'
,'[ { "Header":"Total Number of Emails",
"Charts": [ {"Type":"horizontalBar",
"Caption":"Emails Per Case",
"XAxisField":"Custodian",
"YAxisFields":["EmailCount"] } ] } ]'
,'Total Number of Emails Per Custodian'
,'CustodianEmailCount')
ExecutionMetadata: Contains the valid JavaScript
Object Notation needed by the system to run the
report. This is a complex field, see the Ipro Custom
Report Creation Guide for more details.
Private and Confidential – Copyright 2019
Report Definition: DisplayMetadata
,'{"StoredProcedure":"UserDefinedReports.CustodianEmailCounts" }'
,'[ { "Header":"Total Number of Emails",
"Charts": [ {"Type":“horizontalBar",
"Caption":"Emails Per Case",
"XAxisField":"Custodian",
"YAxisFields":["EmailCount"] } ] } ]'
,'Total Number of Emails Per Custodian'
,'CustodianEmailCount')
DisplayMetadata: Contains the valid JavaScript
Object Notation needed by the system to display the
results. This is a complex field, see the Ipro Custom
Report Creation Guide for more details.
Private and Confidential – Copyright 2019
Report Definition: Description
,'{"StoredProcedure":“UserDefinedReports.CustodianEmailCounts" }'
,'[ { "Header":"Total Number of Emails",
"Charts": [ {"Type":"horizontalBar",
"Caption":"Emails Per Case",
"XAxisField":"Custodian",
"YAxisFields":["EmailCount"] } ] } ]'
,'Total Number of Emails Per Custodian'
,'CustodianEmailCount')
Description: A brief summary, instructions, or
description of the report; displayed to end-users
Private and Confidential – Copyright 2019
Report Definition: RequiredPermission
,'{"StoredProcedure":“UserDefinedReports.CustodianEmailCounts" }'
,'[ { "Header":"Total Number of Emails",
"Charts": [ {"Type":"horizontalBar",
"Caption":"Emails Per Case",
"XAxisField":"Custodian",
"YAxisFields":["EmailCount"] } ] } ]'
,'Total Number of Emails Per Custodian'
,'CustodianEmailCount')
RequiredPermission: The permission object
associated with the report. Linked to the
Permissions.Permission table.
Private and Confidential – Copyright 2019
Run and Verify the Report
1. Execute the Script (F5)
2. Log into Ipro (Chrome)
3. Navigate to Reports > Select Globex Industries v ATLN Energy - Review > Quality Control
4. Select Custodian Email Count > Run Report
Web Link User Name Password
https://add.iprotech.com administrator@iprotech.com Admin123!
Private and Confidential – Copyright 2019
Ipro Reports
Private and Confidential – Copyright 2019
• Reserved System Schema name
• Stored Procedures detected in an Ipro case database with this schema name will appear in the
Uncategorized Section of Ipro Reports and will not require a report definition.
• Reports designated by a custom schema name will require a report definition.
Ex: [ADDCustomReporting].[CustodianDocTypeCount]
UserDefinedReports Schema
Presentation TitlePrivate and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Permissions.Permission
Add the Report to the
Permissions table so that
it appears in the interface
Presentation TitlePrivate and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Managing Permissions
Report
Parameters
Presentation TitlePrivate and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Parameter Display Types
* Require an additional field to be specified in
order to work. See details starting on page 13.
** Only used for reports that require a
CaseProductEnvironmentId (CpeId) parameter (IE.
a Case Specific Report)
Text
Number
Checkbox
Date
List*
Multi-Select*
Hidden**
ABC
123
Presentation TitlePrivate and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Creating Parameterized Reports
•Add a Parameter
Definition to the Ipro
database
• Add a Parameter
Stored Procedure to
the Case database
•Parameter Stored
Procedure will need to
return two columns:
ID and Name
•The Parameter Stored
Procedure will be
referenced in the
Execution Metadata
of the report
definition
•May require a
secondary stored
procedure that returns
the values of the
parameter
Presentation TitlePrivate and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Parameter List Definitions
• Reporting.ParameterListDefinition table contains the
recommended Parameter List options
• Linked to the ExecutionMetadata field in your Report Definition
• Limited support for Custom Parameter list definitions
Instead of the report running on emails only, the
Case Administrator would like to pick the file type.
Presentation TitlePrivate and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Adding a Parameterized Report
Report
Definition
Parameter
List
Definition
Parameter
List Stored
Procedure
Report
Stored
Procedure
Presentation TitlePrivate and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Let’s add a Parameter: File Category
• Add a new Report Definition
with updated execution
metadata
• Specify a parameter list
definition
Example Execution Metadata:
{
'StoredProcedure’:’ADDCustomReporting.CustodianDocTypeCount',
'ParameterInfo': [
{
'Name': 'FileCategoryID',
'DisplayName': 'FileCategory',
'DisplayType': 'list',
'ParameterListName': 'GetFileCategories'
}
]
}
Presentation TitlePrivate and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Parameter List Definition
INSERT INTO [Reporting].[ParameterListDefinition]
([Name]
,[StoredProcedure]
,[RequiresCpeId]
,[ProductId]
,[DisplayColumn]
,[ValueColumn])
VALUES
('GetFileCategories'
,'ADDCustomReporting.GetFileCategories'
,0
,3
,'Name'
,'ID'
)
GO
Add a Custom Parameter List
Definition to the existing table.
Presentation TitlePrivate and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Parameter List Stored Procedure
CREATE SCHEMA ADDCustomReporting
GO
CREATE PROCEDURE ADDCustomReporting.GetFileCategories
AS
BEGIN
SELECT FileCategoryID AS [ID] ,
FileCategoryName AS [NAME]
FROM FileCategories
END
Create the following Stored Procedure in the IproEclipse_Case000001 Database:
Presentation TitlePrivate and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Parameterized Report Stored Procedure
CREATE PROCEDURE ADDCustomReporting.CustodianDocTypeCount
@FileCategoryID int = 0
AS
BEGIN
SELECT Custodian
,COUNT(Custodian) AS FileCount
FROM vDocumentFields VDF INNER JOIN FileTypes FT ON VDF.NATIVEFILETYPE =
FT.FileTypeID
WHERE FileCategoryId = @FileCategoryID
GROUP BY Custodian
END
Create the following Stored Procedure in the IproEclipse_Case000001 Database:
Presentation TitlePrivate and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
We’re All Done!
Upload a Preview Image for easy
recognition!
Presentation TitlePrivate and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
Private and Confidential – Copyright 2019
We’re All Done!
Thank you for
joining us!

More Related Content

PPTX
Top 10 Enterprise Reporter Reports You Didn't Know You Needed
Quest
 
PPTX
The Sky is the Limit: Advanced Reporting with eTapestry
Blackbaud
 
PDF
Report design
SeanDukes2
 
PPT
Reportsfest revised
smoreland
 
PPT
Hcm one ess and reports
HCMOne
 
DOCX
synopsis
jayant parmar
 
PDF
DCM IRIS Presentation
mbreck
 
PDF
R08 - Intermediate Reporting: Email, Schedule, and Export
Maintenance Connection
 
Top 10 Enterprise Reporter Reports You Didn't Know You Needed
Quest
 
The Sky is the Limit: Advanced Reporting with eTapestry
Blackbaud
 
Report design
SeanDukes2
 
Reportsfest revised
smoreland
 
Hcm one ess and reports
HCMOne
 
synopsis
jayant parmar
 
DCM IRIS Presentation
mbreck
 
R08 - Intermediate Reporting: Email, Schedule, and Export
Maintenance Connection
 

Similar to Get the Scoop: Developing Custom Reports (8)

PPTX
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
PDF
Tips and tricks for MSSPs leveraging HPE Security ArcSight ESM to win proof o...
Bryan Borra
 
PDF
Using the Power of IBM Tivoli Common Reporting to Make Smart Decisions: The U...
Prolifics
 
PDF
Business Intelligence Using Power bI
IkeFromNJ
 
PPTX
Report Builder Training 7i
Dydacomp
 
PPTX
Top 5 Type of Analytics
TIBCO Jaspersoft
 
PDF
Pentaho BootCamp : Using the Pentaho Reporting Tools
Wildan Maulana
 
PDF
Spiceworks Basics 2: Help Desk & Reporting
Spiceworks
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Tips and tricks for MSSPs leveraging HPE Security ArcSight ESM to win proof o...
Bryan Borra
 
Using the Power of IBM Tivoli Common Reporting to Make Smart Decisions: The U...
Prolifics
 
Business Intelligence Using Power bI
IkeFromNJ
 
Report Builder Training 7i
Dydacomp
 
Top 5 Type of Analytics
TIBCO Jaspersoft
 
Pentaho BootCamp : Using the Pentaho Reporting Tools
Wildan Maulana
 
Spiceworks Basics 2: Help Desk & Reporting
Spiceworks
 
Ad

More from Ipro Tech (20)

PDF
Build a Blockchain
Ipro Tech
 
PDF
Financials and eDiscovery - A Primer for Non-Accountants
Ipro Tech
 
PDF
In House v. Independent Hot Seat Panel
Ipro Tech
 
PDF
Project Management in Electronic Discovery
Ipro Tech
 
PDF
Build an Engaging Social Media Profile
Ipro Tech
 
PDF
Life of a GB: Where Is My Data Going and How Can I Get It There Faster?
Ipro Tech
 
PDF
What’s New in Ipro for enterprise?
Ipro Tech
 
PDF
Let’s Talk About the Ipro Platform
Ipro Tech
 
PDF
Double Down: Migrating Data from Desktop to Enterprise (and back)
Ipro Tech
 
PDF
What’s in Your Workflow?
Ipro Tech
 
PDF
Can you Take the Heat of the Hot Seat?
Ipro Tech
 
PDF
Diving Deeper into Networking & Local Options in TrialDirector 360
Ipro Tech
 
PDF
Presenter’s Advantage: Preparing Exhibits in TrialDirector 360
Ipro Tech
 
PDF
TrialDirector 360: Beyond the Courtroom
Ipro Tech
 
PDF
Proactive v. Reactive Trial Presentations
Ipro Tech
 
PDF
Deposition Management: Utilizing TrialDirector 360 to Prepare your Designatio...
Ipro Tech
 
PDF
Flexible Processing for Dynamic Workflows
Ipro Tech
 
PDF
Search Faceoff: Advanced v. Visual
Ipro Tech
 
PDF
TAR: Beginning to End
Ipro Tech
 
PDF
Repro with Ipro: Simplifying your Imaging Workflows
Ipro Tech
 
Build a Blockchain
Ipro Tech
 
Financials and eDiscovery - A Primer for Non-Accountants
Ipro Tech
 
In House v. Independent Hot Seat Panel
Ipro Tech
 
Project Management in Electronic Discovery
Ipro Tech
 
Build an Engaging Social Media Profile
Ipro Tech
 
Life of a GB: Where Is My Data Going and How Can I Get It There Faster?
Ipro Tech
 
What’s New in Ipro for enterprise?
Ipro Tech
 
Let’s Talk About the Ipro Platform
Ipro Tech
 
Double Down: Migrating Data from Desktop to Enterprise (and back)
Ipro Tech
 
What’s in Your Workflow?
Ipro Tech
 
Can you Take the Heat of the Hot Seat?
Ipro Tech
 
Diving Deeper into Networking & Local Options in TrialDirector 360
Ipro Tech
 
Presenter’s Advantage: Preparing Exhibits in TrialDirector 360
Ipro Tech
 
TrialDirector 360: Beyond the Courtroom
Ipro Tech
 
Proactive v. Reactive Trial Presentations
Ipro Tech
 
Deposition Management: Utilizing TrialDirector 360 to Prepare your Designatio...
Ipro Tech
 
Flexible Processing for Dynamic Workflows
Ipro Tech
 
Search Faceoff: Advanced v. Visual
Ipro Tech
 
TAR: Beginning to End
Ipro Tech
 
Repro with Ipro: Simplifying your Imaging Workflows
Ipro Tech
 
Ad

Recently uploaded (20)

PPTX
301C_Dr. Sangeeta Chatterjee_Evolution and Philosophy of the Doctrine of Basi...
arpitamajumder527
 
PDF
Noah Michael Donato - A Certified Divemaster
Noah Michael
 
PPTX
LAW 505 CONCURRENCE & CAUSATION PRESENTATION.pptx
eavisnicopra
 
PPTX
CONSTITUTION OF PAKISTAN 1956 by Shahzaman chandio
Shahzaman Chandio
 
PDF
STATUTE-130-Pg2000.pdf LEI MAGNITISKY U.S.A.
xyzabcd012345098765
 
PDF
Forestry Commission boss sues Dakyehene of New 88.3 FM, demands GH¢20 million...
Kweku Zurek
 
PDF
The 5 Deadly Trademark Sins - AKA the Absolute Bars to Registration
WILLIAM SCOTT GOLDMAN
 
PDF
Understanding Toronto's Immigration Landscape: 10 Key Points
The Black Business Journal
 
PPTX
DR. GOSWAMI Forensic Justice - December 2024 - FINAL Full.pptx
AshutoshPandey331709
 
PPTX
OEC.pptxdddfffffffgsjjssuxjdjdussskddiixd
athulpopzz706
 
PPTX
Laws in India relating to elderly abuse and victmization
legumleviosa
 
PDF
STATUTE-130-Pg2000.pdf Lei Magnitisk - Estados Unidos da América
xyzabcd012345098765
 
PPTX
Labor law Amendments 2019 tamilnadu & Central
saibabanandiraju96
 
PPTX
Grant Of Patent application process.pptx
blossomjasmine085
 
PPTX
Unit-1: Historical Perspective: Constitutional Developments since 1858 to 1947
VenkateshGaikwad2
 
PPTX
301C_Dr. Sangeeta Chatterjee_Analysis of the Doctrine of Stare Decisis in Ind...
arpitamajumder527
 
PPTX
LLM Presentation_Manas Dash in masterin law.pptx
Lupin32
 
PPTX
First Responder course seminar for Philippine National Police.pptx
QPPOOperation
 
PDF
Dharmasthala Files (Investigative Report).pdf
rudreshk159
 
PDF
Top 10 Legal Consultants Shaping Business Strategy in 2025
timeiconic007
 
301C_Dr. Sangeeta Chatterjee_Evolution and Philosophy of the Doctrine of Basi...
arpitamajumder527
 
Noah Michael Donato - A Certified Divemaster
Noah Michael
 
LAW 505 CONCURRENCE & CAUSATION PRESENTATION.pptx
eavisnicopra
 
CONSTITUTION OF PAKISTAN 1956 by Shahzaman chandio
Shahzaman Chandio
 
STATUTE-130-Pg2000.pdf LEI MAGNITISKY U.S.A.
xyzabcd012345098765
 
Forestry Commission boss sues Dakyehene of New 88.3 FM, demands GH¢20 million...
Kweku Zurek
 
The 5 Deadly Trademark Sins - AKA the Absolute Bars to Registration
WILLIAM SCOTT GOLDMAN
 
Understanding Toronto's Immigration Landscape: 10 Key Points
The Black Business Journal
 
DR. GOSWAMI Forensic Justice - December 2024 - FINAL Full.pptx
AshutoshPandey331709
 
OEC.pptxdddfffffffgsjjssuxjdjdussskddiixd
athulpopzz706
 
Laws in India relating to elderly abuse and victmization
legumleviosa
 
STATUTE-130-Pg2000.pdf Lei Magnitisk - Estados Unidos da América
xyzabcd012345098765
 
Labor law Amendments 2019 tamilnadu & Central
saibabanandiraju96
 
Grant Of Patent application process.pptx
blossomjasmine085
 
Unit-1: Historical Perspective: Constitutional Developments since 1858 to 1947
VenkateshGaikwad2
 
301C_Dr. Sangeeta Chatterjee_Analysis of the Doctrine of Stare Decisis in Ind...
arpitamajumder527
 
LLM Presentation_Manas Dash in masterin law.pptx
Lupin32
 
First Responder course seminar for Philippine National Police.pptx
QPPOOperation
 
Dharmasthala Files (Investigative Report).pdf
rudreshk159
 
Top 10 Legal Consultants Shaping Business Strategy in 2025
timeiconic007
 

Get the Scoop: Developing Custom Reports

  • 1. Get the Scoop: Developing Custom Reports
  • 2. Private and Confidential – Copyright 2019 Why use custom reports? Enhance with Visualizations Can be secured or restricted Accessible from Anywhere Fully Customizable
  • 3. Private and Confidential – Copyright 2019 Do you have what it takes? SQL Experience Ipro Schema familiarity SQL Reporting knowledge
  • 4. Private and Confidential – Copyright 2019 Where do we begin? •Reports are executed by the Web service • Basic - Automatically Detected • Advanced - Manually Defined •There are two flavors of custom reports • Charts or Graphs • Input Parameters • Permissions • Custom Formatting • Report Interface Categorization •Advanced reports are required for reports that will contain any of the following
  • 5. Private and Confidential – Copyright 2019 Factors to Consider ∙ What is our END GOAL? ∙ What INFORMATION do we need meet the goal? ∙ Who is the AUDIENCE? ∙ Will the report need SECURITY? ∙ Which MODULE will the report be targeting? ∙ What is the SCOPE? ∙ Will INPUT PARAMETERS be required?
  • 6. Private and Confidential – Copyright 2019 Rules of Engagement The Numbered Circles on the slides indicate the text file with the appropriate code for that step. Type or copy and paste the Code for your reports located here: %Desktop%Ipro Tech Show DocumentsCloud WorkshopDay 2 - Wednesday - May 1stGet the Scoop - Custom Reports How do we add a report? Create the Schema Create the Report Build the Stored Procedure Verify your Work
  • 7. The Case Administrator has requested a Report of the number of Emails per Custodian
  • 8. Private and Confidential – Copyright 2019 1.Launch SQL Management Studio and connect to CLD-EVLADD001 Click New Query at the top of the screen (CTRL+N) 1.Type the Query Code into the ‘New Query’ window Execute the query (F5) Create the Schema %Desktop%Ipro Tech Show DocumentsCloud WorkshopDay 2 - Wednesday - May 1stGet the Scoop - Custom Reports USE IproEclipse_Case000001 GO CREATE SCHEMA UserDefinedReports GO Query Code:
  • 9. Private and Confidential – Copyright 2019 Create the Report 1.1. Copy the query from the text file at path below into SSMS 2. Paste the Query Code below into the current query window 3. Execute the Query (F5) SELECT Custodian ,COUNT(Custodian) AS EmailCount FROM vDocumentFields VDF INNER JOIN FileTypes FT ON VDF.NATIVEFILETYPE = FT.FileTypeID WHERE FileCategoryId BETWEEN 5 AND 8 GROUP BY Custodian
  • 10. Private and Confidential – Copyright 2019 Build the Stored Procedure Update the Script to a Stored Procedure and Execute (F5) CREATE PROCEDURE UserDefinedReports.CustodianEmailCount AS BEGIN SELECT Custodian ,COUNT(Custodian) AS EmailCount FROM vDocumentFields VDF INNER JOIN FileTypes FT ON VDF.NATIVEFILETYPE = FT.FileTypeID WHERE FileCategoryId BETWEEN 5 AND 8 GROUP BY Custodian END
  • 11. Private and Confidential – Copyright 2019 Verify the Report in Ipro Reports 1. Log into Ipro (Chrome) 2. Navigate to Reports > Select Globex Industries v ATLN Energy - Review> Uncategorized 3. Select Custodian Email Count > Run Report Web Link User Name Password https://add.iprotech.com [email protected] Admin123!
  • 13. Private and Confidential – Copyright 2019 What is a Report Definition? Format data headers and columns Allow Input Parameters Display Charts and Graphs Report Security Categorize by product and type in the interface
  • 14. Private and Confidential – Copyright 2019 Dive into Report Definition INSERT INTO [Reporting].[ReportDefinition] ([Name] ,[ProductId] ,[ReportTypeId] ,[IsCommonReport] ,[ExecutionMetadata] ,[DisplayMetadata] ,[Description] ,[RequiredPermission]) VALUES ('CustodianEmailCount' ,3 ,6 ,1 ,'{"StoredProcedure":"UserDefinedReports.CustodianEmailCount" }' ,'[ { "Header":"Total Number of Emails", "Charts": [ {"Type":"horizontalBar", "Caption":"Emails Per Case", "XAxisField":"Custodian", "YAxisFields":["EmailCount"] } ] } ]' ,'Total Number of Emails Per Custodian' ,'CustodianEmailCount')
  • 15. Private and Confidential – Copyright 2019 Let’s Break this Down
  • 16. Private and Confidential – Copyright 2019 Report Definition: Name INSERT INTO [Reporting].[ReportDefinition] ([Name] ,[ProductId] ,[ReportTypeId] ,[IsCommonReport] ,[ExecutionMetadata] ,[DisplayMetadata] ,[Description] ,[RequiredPermission]) VALUES ('CustodianEmailCount' ,3 ,6 ,1 Name: The display name of the report on the Reports page in the User Interface. Consider a standard naming convention for custom reports to ensure clarity and consistency. *Be sure to use a Custom Schema Name for Defined Reports
  • 17. Private and Confidential – Copyright 2019 Report Definition: ProductID INSERT INTO [Reporting].[ReportDefinition] ([Name] ,[ProductId] ,[ReportTypeId] ,[IsCommonReport] ,[ExecutionMetadata] ,[DisplayMetadata] ,[Description] ,[RequiredPermission]) VALUES ('CustodianEmailCount' ,3 ,6 ,1 ProductID: Refers to the product that your report will be available to This must be a value from the Enterprise.Product table
  • 18. Private and Confidential – Copyright 2019 Report Definition: ReportTypeID INSERT INTO [Reporting].[ReportDefinition] ([Name] ,[ProductId] ,[ReportTypeId] ,[IsCommonReport] ,[ExecutionMetadata] ,[DisplayMetadata] ,[Description] ,[RequiredPermission]) VALUES ('CustodianEmailCount' ,3 ,6 ,1 ReportTypeId: Reports are displayed in groups by the report type in Ipro Reports. Report Type Descriptions can be found in the Reporting.ReportType table.
  • 19. Private and Confidential – Copyright 2019 Report Definition: IsCommonReport INSERT INTO [Reporting].[ReportDefinition] ([Name] ,[ProductId] ,[ReportTypeId] ,[IsCommonReport] ,[ExecutionMetadata] ,[DisplayMetadata] ,[Description] ,[RequiredPermission]) VALUES ('CustodianEmailCount' ,3 ,6 ,1 IsCommonReport: This field determines whether your report is displayed in the Ipro Reports page even if it is not detected in the product database. Values are 0 or 1
  • 20. Private and Confidential – Copyright 2019 Report Definition: ExecutionMetadata ,'{"StoredProcedure":"UserDefinedReports.CustodianEmailCounts" }' ,'[ { "Header":"Total Number of Emails", "Charts": [ {"Type":"horizontalBar", "Caption":"Emails Per Case", "XAxisField":"Custodian", "YAxisFields":["EmailCount"] } ] } ]' ,'Total Number of Emails Per Custodian' ,'CustodianEmailCount') ExecutionMetadata: Contains the valid JavaScript Object Notation needed by the system to run the report. This is a complex field, see the Ipro Custom Report Creation Guide for more details.
  • 21. Private and Confidential – Copyright 2019 Report Definition: DisplayMetadata ,'{"StoredProcedure":"UserDefinedReports.CustodianEmailCounts" }' ,'[ { "Header":"Total Number of Emails", "Charts": [ {"Type":“horizontalBar", "Caption":"Emails Per Case", "XAxisField":"Custodian", "YAxisFields":["EmailCount"] } ] } ]' ,'Total Number of Emails Per Custodian' ,'CustodianEmailCount') DisplayMetadata: Contains the valid JavaScript Object Notation needed by the system to display the results. This is a complex field, see the Ipro Custom Report Creation Guide for more details.
  • 22. Private and Confidential – Copyright 2019 Report Definition: Description ,'{"StoredProcedure":“UserDefinedReports.CustodianEmailCounts" }' ,'[ { "Header":"Total Number of Emails", "Charts": [ {"Type":"horizontalBar", "Caption":"Emails Per Case", "XAxisField":"Custodian", "YAxisFields":["EmailCount"] } ] } ]' ,'Total Number of Emails Per Custodian' ,'CustodianEmailCount') Description: A brief summary, instructions, or description of the report; displayed to end-users
  • 23. Private and Confidential – Copyright 2019 Report Definition: RequiredPermission ,'{"StoredProcedure":“UserDefinedReports.CustodianEmailCounts" }' ,'[ { "Header":"Total Number of Emails", "Charts": [ {"Type":"horizontalBar", "Caption":"Emails Per Case", "XAxisField":"Custodian", "YAxisFields":["EmailCount"] } ] } ]' ,'Total Number of Emails Per Custodian' ,'CustodianEmailCount') RequiredPermission: The permission object associated with the report. Linked to the Permissions.Permission table.
  • 24. Private and Confidential – Copyright 2019 Run and Verify the Report 1. Execute the Script (F5) 2. Log into Ipro (Chrome) 3. Navigate to Reports > Select Globex Industries v ATLN Energy - Review > Quality Control 4. Select Custodian Email Count > Run Report Web Link User Name Password https://add.iprotech.com [email protected] Admin123!
  • 25. Private and Confidential – Copyright 2019 Ipro Reports
  • 26. Private and Confidential – Copyright 2019 • Reserved System Schema name • Stored Procedures detected in an Ipro case database with this schema name will appear in the Uncategorized Section of Ipro Reports and will not require a report definition. • Reports designated by a custom schema name will require a report definition. Ex: [ADDCustomReporting].[CustodianDocTypeCount] UserDefinedReports Schema
  • 27. Presentation TitlePrivate and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Permissions.Permission Add the Report to the Permissions table so that it appears in the interface
  • 28. Presentation TitlePrivate and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Managing Permissions
  • 30. Presentation TitlePrivate and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Parameter Display Types * Require an additional field to be specified in order to work. See details starting on page 13. ** Only used for reports that require a CaseProductEnvironmentId (CpeId) parameter (IE. a Case Specific Report) Text Number Checkbox Date List* Multi-Select* Hidden** ABC 123
  • 31. Presentation TitlePrivate and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Creating Parameterized Reports •Add a Parameter Definition to the Ipro database • Add a Parameter Stored Procedure to the Case database •Parameter Stored Procedure will need to return two columns: ID and Name •The Parameter Stored Procedure will be referenced in the Execution Metadata of the report definition •May require a secondary stored procedure that returns the values of the parameter
  • 32. Presentation TitlePrivate and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Parameter List Definitions • Reporting.ParameterListDefinition table contains the recommended Parameter List options • Linked to the ExecutionMetadata field in your Report Definition • Limited support for Custom Parameter list definitions
  • 33. Instead of the report running on emails only, the Case Administrator would like to pick the file type.
  • 34. Presentation TitlePrivate and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Adding a Parameterized Report Report Definition Parameter List Definition Parameter List Stored Procedure Report Stored Procedure
  • 35. Presentation TitlePrivate and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Let’s add a Parameter: File Category • Add a new Report Definition with updated execution metadata • Specify a parameter list definition Example Execution Metadata: { 'StoredProcedure’:’ADDCustomReporting.CustodianDocTypeCount', 'ParameterInfo': [ { 'Name': 'FileCategoryID', 'DisplayName': 'FileCategory', 'DisplayType': 'list', 'ParameterListName': 'GetFileCategories' } ] }
  • 36. Presentation TitlePrivate and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Parameter List Definition INSERT INTO [Reporting].[ParameterListDefinition] ([Name] ,[StoredProcedure] ,[RequiresCpeId] ,[ProductId] ,[DisplayColumn] ,[ValueColumn]) VALUES ('GetFileCategories' ,'ADDCustomReporting.GetFileCategories' ,0 ,3 ,'Name' ,'ID' ) GO Add a Custom Parameter List Definition to the existing table.
  • 37. Presentation TitlePrivate and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Parameter List Stored Procedure CREATE SCHEMA ADDCustomReporting GO CREATE PROCEDURE ADDCustomReporting.GetFileCategories AS BEGIN SELECT FileCategoryID AS [ID] , FileCategoryName AS [NAME] FROM FileCategories END Create the following Stored Procedure in the IproEclipse_Case000001 Database:
  • 38. Presentation TitlePrivate and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Parameterized Report Stored Procedure CREATE PROCEDURE ADDCustomReporting.CustodianDocTypeCount @FileCategoryID int = 0 AS BEGIN SELECT Custodian ,COUNT(Custodian) AS FileCount FROM vDocumentFields VDF INNER JOIN FileTypes FT ON VDF.NATIVEFILETYPE = FT.FileTypeID WHERE FileCategoryId = @FileCategoryID GROUP BY Custodian END Create the following Stored Procedure in the IproEclipse_Case000001 Database:
  • 39. Presentation TitlePrivate and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 We’re All Done! Upload a Preview Image for easy recognition!
  • 40. Presentation TitlePrivate and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 Private and Confidential – Copyright 2019 We’re All Done!

Editor's Notes

  • #2: Avakian
  • #3: Gus Ipro Reporting boasts a customization feature that enables the ability to provide useful, colorful, customized reports to clients and customers. Ipro custom reports can be enhanced with visualizations. Custom reports are accessible from anywhere, with the Ipro Solution. Ipro custom reports can be secured or restricted to specific users or groups.
  • #4: Gus’s Slide Schema familiarity Familiarity with SQL & reporting
  • #5: Mike Ipro Custom reports are executed by the Web service. There are two flavors of custom reports: Basic - automatically detected Advanced - manually defined An advanced report is required for reports that will contain the following: Charts or graphs Input parameters Permissions Custom formatting Report categori
  • #6: Mac Scope : Multiple case or one and done
  • #7: Mac
  • #8: Gus - Story
  • #9: Gus Does it execute successfully? Do you receive any errors?
  • #10: Mac Does it execute successfully? Do you receive an error?
  • #11: Mac
  • #12: Mac
  • #13: Gus Who knows what a parameter is and can give me an example?
  • #14: Gus
  • #15: Gus
  • #16: Mac
  • #17: Mac
  • #19: 6 is Quality Control
  • #21: Gus
  • #25: Gus TXT file #4
  • #26: Mike
  • #28: Mike
  • #30: Who knows what a parameter is and can give me an example?
  • #31: Which ones are most commonly used Date and List
  • #32: Mike Parameterized reports may require a secondary stored procedure that return the values of the desired parameter A Parameter Definition will need to be added to the Ipro database and the parameter stored procedure added to the case database. The parameter stored procedure will need to return two columns: ID, Name There parameter store procedure will be referenced in the Execution Metadata field of the report definition.
  • #33: Screen shot of the Parameter List definition table – they will be in SQL so just have them open that table to view the options. Mike
  • #34: Gus – part 2
  • #37: Mike
  • #38: Mike
  • #39: Ask for questions