Skip to content

Repository files navigation

xrm-plain-number

Model-driven app controls that show and edit a Whole Number without a thousands separator. For years: 2024, not 2,024. One for forms, one for views.

An Account form in the test environment: Founded reads 2,024 with the stock control and 2024 with Plain Number

How to use it: putting it on a form column and on views, with screenshots.

Install

Download the managed solution zip from the latest release and import it into your environment (make.powerapps.com, Solutions, Import). Then follow docs/usage.md to put Plain Number on a form column and, if you want views too, assign Plain Number Grid to the table.

Vendor it

Prefer the code in your own solution instead of a separate managed one? Each control is two files:

npx degit comentality/xrm-plain-number/PlainNumber/PlainNumber           PlainNumber/PlainNumber
npx degit comentality/xrm-plain-number/PlainNumberGrid/PlainNumberGrid   PlainNumberGrid/PlainNumberGrid

Then VENDORING.md: generate the project with pac pcf init, drop the files in, pin Fluent 9.46.2, build, add to your solution.

Licence

Public domain, under the CC0 1.0 Universal dedication. Do what you like with it; no attribution required, no notice to carry. The repository contains no third-party code.

Repository

  • PlainNumber/: the form control (KK.PlainNumber, React 16 + Fluent 9.46.2).
  • PlainNumberGrid/: the view side (KK.PlainNumberGrid), a Power Apps grid customizer that renders every whole-number column of its table plain.
  • solution/: packaging for the solution zip.
  • e2e/: Playwright scripts for the PCF test harness and for real forms and views in a Dataverse environment.
  • docs/usage.md: the user guide. docs/notes.md: the brief, the view-side research, the gotchas and the prior art.

About

PCF field control: whole numbers with a thousands separator configured per column

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages