SlideShare una empresa de Scribd logo
1 de 20
Pages Tips and Tricks
Rick Sands
Pages Tips & Tricks
• Query Text
• User Defined Parameters
• Column Selection
• No Data Values
• Component Deletion
• Auto-Archiving
• Account Settings
• Auto-downgrade
• Sub-models
Query Text
• Text passed into a query is normally converted
to a quote-delimited string
…where portfolio_code=‘4003’
Query Text
• Sometimes, you just want to pass in a literal
string that you want inserted into the query
• Typically, it’s the name of a database column
Select sp.cost_base,sp.Market_….
User Defined Parameters
• Common way to allow users to override defaults
• Can be based on static lists or query-based
• Results can be string, string list, boolean,
numeric
• Examples:
– Override benchmark
– Starting market value for portfolio + start date
– Show lots
– Select report columns
• Define as part of document definition
User Defined Parameters
• Example: list of columns to show on report
Column Selection
• Allow users to select columns
• Makes use of xReports plus
– Query text
– User defined parameters
• Define xReport with all possible columns
• At run-time, xReport will skip over ‘missing’
columns
• Complete example (sample business unit +
sample database) including documentation on
Groupsite
No Data Values
• Instead of having a query fail because there is
no data, have a soft landing
• Define a ‘no data’ value that is easy to detect
• Raise a user-friendly warning, drop the
component, or otherwise handle ‘softly’
No Data Values
If tot_si = 0 then
Deletesection
Endif
Component Deletion
• Use business logic to remove components that
don’t make sense given the data
• Example: remove duration-banding report if acct
has no fixed income securities
ExecQuery CountFI(portcode;PGAsOfDate) into FISecCount
If FISecCount=0 then DeleteSection endif
Auto-Archiving
• Clean up the status list
• Move ‘old’ statuses + files to an archive
• Searchable archive
• Enable and configure at document level
• Override at job level
• Run automatically or ad-hoc
Account Settings
• Define commonly used options for an account
• Numbers, strings
• Input as text box, drop down, etc.
• Examples:
– Account manager
– Date report due on
– Freeform comment
• Define on account source form
• Use anywhere you can access account details
Account Settings
• Use account settings in account groups!
• Example; all accounts with due date=3 days
1. Create setting
2. Define setting
3. Create group based on setting
• Select accounts, schedule accounts,…
Auto Downgrade
• Make sure small ad-hoc requests are always at
the front of the queue
• If a ‘normal’ job has >N accounts, downgrade
the priority
• Ad-hoc jobs (<N accts) therefore have higher
priority
• Set default under Business Unit Settings
• Override by user/group
Sub-Models
• Frequent requirement in Pages implementations
• Relationship includes multiple accounts
• Need to report at aggregate level as well as at
individual account level
• Two Pages tricks:
• QueryLoop
• ExecFile
Sub-Models
• Query Loop calls a query and returns a
recordset that lists off all sub-portfolios
• ExecFile calls a sub-model document that is just
like a model document, but is called over and
over again from a model document
Sub-Models
Create a report for the master (total)
portfolio
Loop for each sub portfolio
Get basic info for sub portfolio into variables
Run a ‘sub’ model document for each
subportfolio (accessing variables set above)

Más contenido relacionado

Similar a Pages tips and tricks

Business intelligence
Business intelligenceBusiness intelligence
Business intelligence
shaaron
 
SplunkLive! Advanced Session
SplunkLive! Advanced SessionSplunkLive! Advanced Session
SplunkLive! Advanced Session
Splunk
 
UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2
DianaGray10
 
Oracle performance tuning_sfsf
Oracle performance tuning_sfsfOracle performance tuning_sfsf
Oracle performance tuning_sfsf
Mao Geng
 

Similar a Pages tips and tricks (20)

Data Mining-2023 (2).ppt
Data Mining-2023 (2).pptData Mining-2023 (2).ppt
Data Mining-2023 (2).ppt
 
Bn1038 demo pega
Bn1038 demo  pegaBn1038 demo  pega
Bn1038 demo pega
 
Salesforce admin training 4
Salesforce admin training 4Salesforce admin training 4
Salesforce admin training 4
 
Business intelligence
Business intelligenceBusiness intelligence
Business intelligence
 
Taming the shrew Power BI
Taming the shrew Power BITaming the shrew Power BI
Taming the shrew Power BI
 
Database an introduction
Database an introductionDatabase an introduction
Database an introduction
 
SplunkLive! Presentation - Data Onboarding with Splunk
SplunkLive! Presentation - Data Onboarding with SplunkSplunkLive! Presentation - Data Onboarding with Splunk
SplunkLive! Presentation - Data Onboarding with Splunk
 
SFDC Other Platform Features
SFDC Other Platform FeaturesSFDC Other Platform Features
SFDC Other Platform Features
 
SQL Server 2014 Monitoring and Profiling
SQL Server 2014 Monitoring and ProfilingSQL Server 2014 Monitoring and Profiling
SQL Server 2014 Monitoring and Profiling
 
SplunkLive! Advanced Session
SplunkLive! Advanced SessionSplunkLive! Advanced Session
SplunkLive! Advanced Session
 
Configuration Driven Reporting On Large Dataset Using Apache Spark
Configuration Driven Reporting On Large Dataset Using Apache SparkConfiguration Driven Reporting On Large Dataset Using Apache Spark
Configuration Driven Reporting On Large Dataset Using Apache Spark
 
Reports 6i
Reports 6iReports 6i
Reports 6i
 
10 Points for Business Analysts for Regulatory Reporting Requirements
10 Points for Business Analysts for Regulatory Reporting Requirements10 Points for Business Analysts for Regulatory Reporting Requirements
10 Points for Business Analysts for Regulatory Reporting Requirements
 
Database Testing
Database TestingDatabase Testing
Database Testing
 
Taming the shrew, Optimizing Power BI Options
Taming the shrew, Optimizing Power BI OptionsTaming the shrew, Optimizing Power BI Options
Taming the shrew, Optimizing Power BI Options
 
Office 365 Reporting and Licenses Management Tool
Office 365 Reporting and Licenses Management ToolOffice 365 Reporting and Licenses Management Tool
Office 365 Reporting and Licenses Management Tool
 
UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2UiPath Studio Web workshop series - Day 2
UiPath Studio Web workshop series - Day 2
 
data mining and data warehousing
data mining and data warehousingdata mining and data warehousing
data mining and data warehousing
 
Oracle performance tuning_sfsf
Oracle performance tuning_sfsfOracle performance tuning_sfsf
Oracle performance tuning_sfsf
 
CNIT 129S Ch 4: Mapping the Application
CNIT 129S Ch 4: Mapping the ApplicationCNIT 129S Ch 4: Mapping the Application
CNIT 129S Ch 4: Mapping the Application
 

Último

From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...
From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...
From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...
From Luxury Escort : 9352852248 Make on-demand Arrangements Near yOU
 
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
➥🔝 7737669865 🔝▻ Malda Call-girls in Women Seeking Men 🔝Malda🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ Malda Call-girls in Women Seeking Men  🔝Malda🔝   Escorts Ser...➥🔝 7737669865 🔝▻ Malda Call-girls in Women Seeking Men  🔝Malda🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ Malda Call-girls in Women Seeking Men 🔝Malda🔝 Escorts Ser...
amitlee9823
 
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
roshnidevijkn ( Why You Choose Us? ) Escorts
 
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Call Girl in Mumbai Central 💧 9920725232 ( Call Me ) Get A New Crush Ever...
VIP Call Girl in Mumbai Central 💧 9920725232 ( Call Me ) Get A New Crush Ever...VIP Call Girl in Mumbai Central 💧 9920725232 ( Call Me ) Get A New Crush Ever...
VIP Call Girl in Mumbai Central 💧 9920725232 ( Call Me ) Get A New Crush Ever...
dipikadinghjn ( Why You Choose Us? ) Escorts
 

Último (20)

From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...
From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...
From Luxury Escort Service Kamathipura : 9352852248 Make on-demand Arrangemen...
 
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
 
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
 
➥🔝 7737669865 🔝▻ Malda Call-girls in Women Seeking Men 🔝Malda🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ Malda Call-girls in Women Seeking Men  🔝Malda🔝   Escorts Ser...➥🔝 7737669865 🔝▻ Malda Call-girls in Women Seeking Men  🔝Malda🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ Malda Call-girls in Women Seeking Men 🔝Malda🔝 Escorts Ser...
 
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
 
7 tips trading Deriv Accumulator Options
7 tips trading Deriv Accumulator Options7 tips trading Deriv Accumulator Options
7 tips trading Deriv Accumulator Options
 
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
 
(INDIRA) Call Girl Srinagar Call Now 8617697112 Srinagar Escorts 24x7
(INDIRA) Call Girl Srinagar Call Now 8617697112 Srinagar Escorts 24x7(INDIRA) Call Girl Srinagar Call Now 8617697112 Srinagar Escorts 24x7
(INDIRA) Call Girl Srinagar Call Now 8617697112 Srinagar Escorts 24x7
 
Technology industry / Finnish economic outlook
Technology industry / Finnish economic outlookTechnology industry / Finnish economic outlook
Technology industry / Finnish economic outlook
 
Lion One Corporate Presentation May 2024
Lion One Corporate Presentation May 2024Lion One Corporate Presentation May 2024
Lion One Corporate Presentation May 2024
 
Business Principles, Tools, and Techniques in Participating in Various Types...
Business Principles, Tools, and Techniques  in Participating in Various Types...Business Principles, Tools, and Techniques  in Participating in Various Types...
Business Principles, Tools, and Techniques in Participating in Various Types...
 
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
 
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
 
Diva-Thane European Call Girls Number-9833754194-Diva Busty Professional Call...
Diva-Thane European Call Girls Number-9833754194-Diva Busty Professional Call...Diva-Thane European Call Girls Number-9833754194-Diva Busty Professional Call...
Diva-Thane European Call Girls Number-9833754194-Diva Busty Professional Call...
 
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
 
VIP Call Girl in Mumbai Central 💧 9920725232 ( Call Me ) Get A New Crush Ever...
VIP Call Girl in Mumbai Central 💧 9920725232 ( Call Me ) Get A New Crush Ever...VIP Call Girl in Mumbai Central 💧 9920725232 ( Call Me ) Get A New Crush Ever...
VIP Call Girl in Mumbai Central 💧 9920725232 ( Call Me ) Get A New Crush Ever...
 
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
 
(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
 
Cybersecurity Threats in Financial Services Protection.pptx
Cybersecurity Threats in  Financial Services Protection.pptxCybersecurity Threats in  Financial Services Protection.pptx
Cybersecurity Threats in Financial Services Protection.pptx
 
Vasai-Virar High Profile Model Call Girls📞9833754194-Nalasopara Satisfy Call ...
Vasai-Virar High Profile Model Call Girls📞9833754194-Nalasopara Satisfy Call ...Vasai-Virar High Profile Model Call Girls📞9833754194-Nalasopara Satisfy Call ...
Vasai-Virar High Profile Model Call Girls📞9833754194-Nalasopara Satisfy Call ...
 

Pages tips and tricks

  • 1. Pages Tips and Tricks Rick Sands
  • 2. Pages Tips & Tricks • Query Text • User Defined Parameters • Column Selection • No Data Values • Component Deletion • Auto-Archiving • Account Settings • Auto-downgrade • Sub-models
  • 3. Query Text • Text passed into a query is normally converted to a quote-delimited string …where portfolio_code=‘4003’
  • 4. Query Text • Sometimes, you just want to pass in a literal string that you want inserted into the query • Typically, it’s the name of a database column Select sp.cost_base,sp.Market_….
  • 5. User Defined Parameters • Common way to allow users to override defaults • Can be based on static lists or query-based • Results can be string, string list, boolean, numeric • Examples: – Override benchmark – Starting market value for portfolio + start date – Show lots – Select report columns • Define as part of document definition
  • 6. User Defined Parameters • Example: list of columns to show on report
  • 7. Column Selection • Allow users to select columns • Makes use of xReports plus – Query text – User defined parameters • Define xReport with all possible columns • At run-time, xReport will skip over ‘missing’ columns • Complete example (sample business unit + sample database) including documentation on Groupsite
  • 8. No Data Values • Instead of having a query fail because there is no data, have a soft landing • Define a ‘no data’ value that is easy to detect • Raise a user-friendly warning, drop the component, or otherwise handle ‘softly’
  • 9. No Data Values If tot_si = 0 then Deletesection Endif
  • 10. Component Deletion • Use business logic to remove components that don’t make sense given the data • Example: remove duration-banding report if acct has no fixed income securities ExecQuery CountFI(portcode;PGAsOfDate) into FISecCount If FISecCount=0 then DeleteSection endif
  • 11. Auto-Archiving • Clean up the status list • Move ‘old’ statuses + files to an archive • Searchable archive • Enable and configure at document level • Override at job level • Run automatically or ad-hoc
  • 12. Account Settings • Define commonly used options for an account • Numbers, strings • Input as text box, drop down, etc. • Examples: – Account manager – Date report due on – Freeform comment • Define on account source form • Use anywhere you can access account details
  • 13. Account Settings • Use account settings in account groups! • Example; all accounts with due date=3 days 1. Create setting 2. Define setting 3. Create group based on setting • Select accounts, schedule accounts,…
  • 14.
  • 15.
  • 16.
  • 17. Auto Downgrade • Make sure small ad-hoc requests are always at the front of the queue • If a ‘normal’ job has >N accounts, downgrade the priority • Ad-hoc jobs (<N accts) therefore have higher priority • Set default under Business Unit Settings • Override by user/group
  • 18. Sub-Models • Frequent requirement in Pages implementations • Relationship includes multiple accounts • Need to report at aggregate level as well as at individual account level • Two Pages tricks: • QueryLoop • ExecFile
  • 19. Sub-Models • Query Loop calls a query and returns a recordset that lists off all sub-portfolios • ExecFile calls a sub-model document that is just like a model document, but is called over and over again from a model document
  • 20. Sub-Models Create a report for the master (total) portfolio Loop for each sub portfolio Get basic info for sub portfolio into variables Run a ‘sub’ model document for each subportfolio (accessing variables set above)