Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenGround | gINT | Keynetix
  • Product Communities
OpenGround | gINT | Keynetix
OpenGround Wiki Example Default Values
    • Sign In
    • -OpenGround Wiki
      • -Applications
        • +Admin Portal
        • +Civil 3D Extension
        • -Data Collector
          • Data Collector Release Notes
          • +Getting Started for Data Collector
          • +Data Collector How To's
          • -Data Collector FAQ's
            • Example "Hide If" Expressions
            • Example Calculated Values Expressions
            • Example Default Values
            • Example Validation Expressions
            • Using the Action for "Set Previous Base Depth"
            • Why Don't I Have Any Available Projects in Data Collector?
          • +Data Collector User Guide
          • +Troubleshooting for Data Collector
        • +Data Entry Module
        • +Excel Extension
        • +Launcher
        • +OpenGround Professional
        • +Portal Technical Preview
        • +Power BI Connector
        • +Template Studio
        • +Upload Portal
        • +Web API and Task Service
        • +Web Portal
      • +Guides and Learning
      • OpenGround Supported Platforms
      • +How To Contact Support
      • Component Center
      • Events
      • Training Guides
      • +Developer Resources

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

    Example Default Values

    The list below shows some of the capabilities of the expressions for default values to Headers in OpenGround Cloud Data Collector

    Expression Explaination
    'B' Set the default value to B – works well for pick list items.
    Today() Today’s Date with time set to midnight for a date time field
    Now() Today’s Date and Time.
    Count()+1 Number of records so far for this parent + 1.  Useful for sample reference numbers etc
    min('DepthTop') Minimum value of previous records for this parent.  Header name is case sensitive and must be enclosed in single quotes.  Records are ordered by the Header by default.
    max('DepthBase') Maximum value of previous records for this parent.  Header name is case sensitive and must be enclosed in single quotes.  Records are ordered by the Header by default.  Works well to set the top of a layer equal to the base of the last layer.
    previous('DepthBase') The previous value used for this when the records are ordered by depth fields.
    [LocationDetails.DateStart] Inserts a value from the parent record as the default.  The Start Date will be the default value in this example.
    previous('DepthBase', 'DepthTop') The previous value used for this when the records are ordered by DepthTop.
    • Share
    • History
    • More
    • Cancel
    • Stephen Evason Created by Bentley Colleague Stephen Evason
    • When: Mon, Mar 22 2021 10:47 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