Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenUtilities
  • Product Communities
OpenUtilities
OpenUtilities Wiki How to add desired Data Field not listed in Report template designer
    • Sign In
    • +OpenUtilities
    • Access Service Request Manager
    • +Bentley sisHYD Multi Utility
    • Design Features - promis.e Functionality - Promis.e Standard
    • +OpenUtilities sisNET - English
    • -OpenUtilities Substation
      • -CONNECT Edition - OpenUtilities Substation
        • +3D Layout Features - OpenUtilities-Substation
        • -Administration Features - OpenUtilities Substation
          • Device tag changes when a symbols is moves in drawing
          • How to add desired Data Field not listed in Report template designer
          • How to Convert Catalog.mdb& Multi_Language_UI.mdb to TXT file in OpenUtilities Substation
          • +Options - Administration Feature - OpenUtilities Substation
        • +Automation Feature
        • +Component management - OpenUtilities Substation CONNECT
        • +Components Features - Substation CONNECT
        • +Construction Drawing - Openutilities Substation CONNECT
        • +Database Platform Support - OpenUtilities Substation
        • +Drawing Managment - OpenUtilities Substation
        • +Installation_Configuration - Bentley Substation CONNECT Edition
        • +Maintenance Feature - Open Utilities Substation CONNECT
        • +Migration - OpenUtilities Substation CONNECT
        • +OS & Hardware Support - OpenUtilities Substation CONNECT
        • +Panel Layout- Substation CONNECT
        • +Power Platform Support - Substation CONNECT
        • +Print and Plot feature
        • +Print and Publish feature
        • +Project Management - OpenUtilities Substation CE
        • +ProjectWise Integration - OpenUtilities Substation CONNECT
        • +Replace Device ID - Find_Replace - OpenUtilities Substation
        • +Reports_Output Features - OpenUtilities Substation CONNECT
        • +Resolved issues in OpenUtilities Substation Releases
        • +Wire Numbering - Substation CONNECT
        • +Wiring Feature - OpenUtilities Substation
      • +3D Layout Features - Bentley Substation
      • About Bentley Substation
      • +Administration Features - Bentley Substation
      • +Automation Features - Bentley Substation
      • +Component Management - Bentley Substation
      • +Construction Drawings - Bentley Substation
      • +Database Platform Support - Bentley Substation
      • +Grounding Grid - Bentley Substation
      • How to log Service Request
      • +Installation_Configuration - Bentley Substation
      • +Interoperability - Bentley Substation
      • +PowerPlatform Support - Bentley Substation
      • +Project Management - Bentley Substation
      • +ProjectWise Integration - Bentley Substation
      • Working from home with OpenUtilities Substation
    • Promis.e Paths
    • +Promis.e Wiki
    • Replace Family - Find_Replace - Promis.e
    • SQL Server Login

     
     Questions about this article, topic, or product? Click here. 

    How to add desired Data Field not listed in Report template designer

      Product(s): Promis.e, Bentley Substation
      Version(s): Connect 
      Environment: N/A
      Area: Template Management
      Subarea: Report Template Designer

    I'm trying to customize a report and in the list of available Data Fields in the Report Template Designer, I don't see the field I want.  How do I add it?

    Explanation

    The variables that are available as data fields for any given report are defined in the Report Template.  If you are trying to create your own customized report using an already existing report as a starting point, and the fields that you want to include in your report are not available in the current report template field list, then you will need to create your report using a custom SQL statement, not the existing report template.   You can create your custom SQL statement to pull out any of the fields from the Project Database that you wish to include in your report.

    Background

    Reports generally gather data from various fields of tables in the Project Database to help users present the data they desire in an easy to read format.  We include sample reports of a number of different basic types with the software, such as Bill Of Materials reports, point to point wire connection lists, Cable lists, PLC I/O lists, Job Costing reports, and several others.  We try to include the data fields that most people would look for or have asked for in the stock reports. Knowing that many people will want to customize these reports to their own desired fashion, we also include in each stock template several data fields that users can use to customize these reports.  We can’t include every field from the database because that would take a long time to process and be very slow, so we try to balance and include those fields most likely to be preferred for each type of report. We feel that the slight performance lag for pulling these extra fields in the stock reports is worth it to help out the number of users that make slight modifications to the existing reports and ease the process for them by having those fields already there. (So yes, you could make all reports run faster if you created your own custom ones to pull only the exact data fields you want and not any extras, but the speed difference may not be very noticeable for the effort.)

    However, there will always be a case where someone wants a data field that is not already included in the stock Report Template.

    Steps to Accomplish

    The project database is open for anyone with the tools and experience to read and create their own queries to extract the desired data from any of the tables in the database. Users can use tools like Microsoft SQL Studio Manager ® to help create a custom SQL query. 

    1. Once you have a query that defines the data fields that you want to pull from the database, Select  Electrical > Output > Report Template Designer.


    2. In the Report Template Designer select File > New.




    3. In the New Report Template dialog, select the radio button for Customized by SQL statement, and paste in your custom SQL statement.

    4. Click OK.

     Then you can start creating the template for your desired report using the data fields specified by your custom SQL statement.

    See Also

    Report Template Designer

      Original Author: Avanti_K
    • Share
    • History
    • More
    • Cancel
    • Avanti Khandalkar Created by Bentley Colleague Avanti Khandalkar
    • When: Thu, Jan 21 2021 3:49 AM
    • Revisions: 1
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies