Release Notes for Latebound Constants Generator

See how You can contribute!
Just give me some coffee…

Back to Latebound Constants Generator page


Version 1.2025.8.1

Released on 2025-08-28

Improvements

Issue #128: Option to include attributes from relationships

It seems pretty decent always to include attributes related to the relationship you add. But it is an option.

In this case, it would make sure that the accountid attribute is included on the Account entity and the rapp_manufacturerid attribute on the Rocket entity.

Issues #97 and #98: Filter attributes by being on Forms or Views

I think this option should be the most common filter – to only include attributes that we actually use.

I definitely suggest that you try it out!

Internal code

  • Commit #82d0121
    Internal – use the latest packages and the latest XrmToolBox package.

Version 1.2025.7.2

Released on 2025-07-07

Important improvements

  • Issue #126 reported by @maerger
    Now it’s possible to select which type of Encoding to use when generating files.
  • Issue #123 helped by @duncanpryde
    Unknow nasty error when generating files now and then is now handled more gently.
  • Issue #120
    Better handling for reloading metadata.

Small stuff

  • Commit #ed4fb0a
    Clearer about filtering entities, using radio button instead of tricheckbox

Internal code

Bug fixes

I don’t do bugs that I know about. But I was wrong now.

  • Issue #119
    Oops, typo fixes for “vsible”.
  • Issue #122
    Bug fixes regarding MultiSelectPicklist.
  • Issue #125
    Filtering attributes by the Required flag was incorrect; it has now been fixed.

Version 1.2024.11.4

Released on 2024-11-24

🚀 New Feature: Groups 🚀

This feature was added primarily for the UML Diagram Generator but is also valuable for the Latebound Constants Generator – to group tables in #region.

Huge thanks for the suggestion from @mattritchie in Issue #111!

On the left is how we configure groups. Note: Colors are not relevant in C#.


Important improvements

  • To make life easier: When unchecking a table, a setting can say that also removes all relationships related to that table. At least to me, it was messy to fix without that feature. Issue #115
  • Generated with UTF-8 instead of a random encoding.
    Thanks @lsysunbow for your pull request! PR #104 and Issue #103
  • Relationships will now always be included from both sides of tables in the relationship. Issue #113

Small stuff

  • Cooler, nicer, and more aligned with all my tools – new icons in the menu and buttons!
  • A lot of UI improvements. Never underestimate UI…
  • Using a TriCheckBox instead of just Checked/Unchecked, mainly for filtering. Commit ff42968
  • Another filter option: Uncountable. For some tables, their records can’t be counted. Issue #109
  • We can now filter relationships to only show those that are required in lookup columns. Issue #116

Internal code

Bug fixes

I don’t do bugs.


Older versions

Released from 2017 to 2023

Version 1.2023.12.1

  • Solving issue ‘XrmToolBox.PluginStore missing’ – read more: https://jonasr.app/missing-xrmtoolbox-pluginsstore/
  • Kindly stolen code from Ivan Ficko @DynamicsNinja to count records. #89
  • Displays number of records for all entities (only for v9.0 or later). #89
  • Possibility to only show entities that have any records. #92
  • Can count and displays all attributes that are not-null. #90
  • Attributes with data count will also display how many unique values.
  • Filter to only show attributes with any values. #93
  • Filter to only show attributes with >1 unique values.
  • Feature to filter out all Microsoft related apps. #88 requested by @jellevervloessem
  •   Current MS prefixes are listed as:
            msdyn_
            msdynce_
            msdyncrm_
            msdynmkt_
            msfp_
            mspcat_
            mspp_
            sales_
            adx_
            bot_
            botcomponent_

    Need more? Please comment here! https://github.com/rappen/LCG-UDG/issues/88

Version 1.2023.2.1

  • #79 Handling bugs in the metadata, some should be `IsLogical` but isn’t.
  • #85 Better filtering options for Attributes and Relationships

Version 1.2021.12.1

Fixes:

  • #72: Load old project with one-file-per-entity gets include config with every file (not supported)
  • #73: Load sometime fails for no project

Version 1.2021.1.2

Major improvement!

  • Configuration will now by default be stored inline in the generated C# file as a comment block in at the end of the file.
  • This makes the “project file” obsolete, and a generated C# file can be opened by Latebound Constants Generator and the configuration is parsed from the comment block.

Also:

  • Simplify Save and Generate behavior, not prompting all the time (#66)
  • Better handling of identifier strings to ensure compilable results (#70)
  • Fixed crash when opening configuration containing entities not in the database (#57)

Version 1.2020.2.1:

  • Hide entities, attributes and relationships grids when nothing matches filter (#47)
  • Disable entire Project menu when no subitems are enabled (#46)
  • Uncheck all attributes and relationships when unchecking an entity (#49)
  • Relationship type filters improved (#44)
  • Filter to exclude various CDS “internal” attributes (#53)
  • Sorting relationships by type, related entity, and lookup in the UI (#54)
  • Moved settings to separate dialog (#9)
  • Possibile to select which relationships to include
  • Major project refactoring to fit UDG features in a common library

Version 1.2019.12.2:

  • #35 Fixed primary key issue with logical attributes, thanks @maerger!
  • #38 Fixed de-duplication routine that was confused by comment lines
  • Fixed issue with Common Class when including relationships

Version 1.2019.6.2:

  • #30 Enum texts containing [ or ] now created correctly. Thanks to @DerekHAu!
  • #33 Add option to include logical attributes
  • This will make “non-real” attributes like owneridname and address fields on contact and account etc available.

Version 1.2019.5.2:

  • #22 Many-to-Many relationships included
  • #26 EntityCollectionName included
  • #27 CLI support for build automation
  • #29 Exposing file template for customization of generated file
  • Rebranded with 2019 design

* NOTE! #26 introduces a breaking change where constant EntityName is changed to LogicalName. This can be reverted with the introduction of #29.

Version 1.2018.9.2:

  • #16 Generate constants for relationships
  • #21 Option to create separate common class for attributes used by multiple entities
  • #19 Improved CamelCasing
  • #24 Add XML documentation for relationship constants
  • #25 Gently forgive file write errors instead of throwing exception
  • Template line break bug fixed

Version 1.2018.6.2

  • Refactoring from Raise the Bar with Daryl LaBar
  • Rebranded

Version 1.2018.2.2

  • Improved CamelCasing
  • Azure Application Insights for anonymous usage statistics

Version 1.2017.12.2

  • Fixed #11 – Too much checkbox cascade
  • Implemented #10 – CamelCase option for constants
  • Implemented #12 – Pass multiple comma separated prefixes to skip
  • Fixed bug when loading configuration

Version 1.2017.12.1

  • #4 Don’t add XML doc summary tag if it has no content.
  • #5 Handle multi-line descriptions in XML doc comments.
  • #6 Add XML doc comments for entities.
  • #8 Customize constant prefix and suffix by editing configuration file.

Version 1.2017.11.6

  • Added XML Documentation style comments to provide intellisense.
  • Settings in config file provide even more constant file formatting options.
  • Additional child disease improvements.

First Release 1.2017.11.5

  • Added possibility to select all attributes when selecting an entity.
  • Include Status and StatusCode optionsets.
  • Worked out some child diseases around the settings file and some UI glitches