OmKhatri.DateTimeBehaviorModifier 1.0.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package OmKhatri.DateTimeBehaviorModifier --version 1.0.0
                    
NuGet\Install-Package OmKhatri.DateTimeBehaviorModifier -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OmKhatri.DateTimeBehaviorModifier" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OmKhatri.DateTimeBehaviorModifier" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="OmKhatri.DateTimeBehaviorModifier" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OmKhatri.DateTimeBehaviorModifier --version 1.0.0
                    
#r "nuget: OmKhatri.DateTimeBehaviorModifier, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OmKhatri.DateTimeBehaviorModifier@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OmKhatri.DateTimeBehaviorModifier&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=OmKhatri.DateTimeBehaviorModifier&version=1.0.0
                    
Install as a Cake Tool

DateTime Behavior Modifier for Dataverse

An XrmToolBox plugin designed to bulk update the Behavior and Format of custom Date/Time fields across Dataverse tables without manual XML editing.


Features

  • Automated Metadata Filtering: Loads customizable tables and isolates custom Date/Time fields, excluding system-managed columns like createdon and modifiedon.
  • Intelligent Constraint Logic:
    • Selecting DateAndTime format restricts options strictly to UserLocal and TimeZoneIndependent.
    • Selecting DateOnly format unlocks DateOnly, UserLocal, and TimeZoneIndependent.
  • Direct API Execution: Employs Microsoft SDK UpdateAttributeRequest directly for rapid bulk updates.
  • Asynchronous Execution: Background threading (WorkAsync) prevents UI freezes during heavy metadata retrieval and bulk updating operations.

Installation

Via XrmToolBox Tool Library

  1. Open XrmToolBox.
  2. Navigate to Configuration > Tool Library.
  3. Search for DateTime Behavior Modifier.
  4. Click Install.
Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated

Initial release of the DateTime Behavior Modifier tool.