npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pptb-optionset-manager

v1.0.1

Published

Create and edit Dataverse global choices and edit the options of local choice columns, with multi-language labels, a review step before saving, and CSV/JSON import and export.

Readme

OptionSet Manager

A Power Platform ToolBox tool for creating and editing Dataverse choices (option sets), with multi-language support and a detailed review step before every save.

OptionSet Manager Global, dark theme

OptionSet Manager Local, light theme

Features

  • Global choices: Create new ones in a solution, or load an existing one to edit.
  • Local choices: Edit the options of an existing choice or multi-select choice column on any table, including Status and Status Reason. A column that uses a global choice opens read-only, with a button to edit it on the Global tab.
  • Multi-language support Review and modify any configured localisation. Only the languages installed in your environment are offered.
  • All the options: The ability to set the value, color, external value, and hidden flag. New values follow the publisher's option value prefix, and existing values can be changed.
  • Reorder options by dragging or with Alt+Up/Down. The new order is saved with your other changes.
  • Review before saving: See every insert, update, delete, and reorder before anything is sent, along with the environment and what will be published, with the chance to revert individual changes. Deleted options can be restored from the pending changes bar until you save.
  • Import options from CSV or JSON, and export the current choice from the Code tab as JSON (all languages) or CSV (default language).

Requirements

  • Power Platform ToolBox desktop app, version 1.2.7 or later
  • An active Dataverse connection
  • System Customizer or System Administrator security role

Usage

  1. Choose Global or Local at the top of the sidebar.
  2. Pick a Publisher and, optionally, a Solution.
  3. For a global choice, pick one from Global Option Set to edit it, or click New to start one. For a local choice, pick the Entity (table) and Attribute (column).
  4. Edit labels, values and descriptions, add or remove rows, and reorder them. Expand a row to edit its other languages.
  5. Click Validate, then Review & Publish. Review the changes and confirm.

Settings (the gear icon) control language sub-rows, validation of blank translations, reordering and more.

What this tool changes

Nothing is written to Dataverse until you click Review & Publish and confirm.

  • Global choices: creates a new global choice and updates the display name and description of an existing one.
  • Options of a global choice or a local choice column: inserts new options; updates labels, descriptions, color, external value and the hidden flag; deletes options; and changes their order. A global choice is shared, so its changes apply to everything that uses it.
  • Status Reason columns: adds status reasons under a chosen Status, and updates, deletes and reorders them. A status reason stays in the Status it was created under.
  • Status columns: Dataverse fixes these values for each table, so only their labels, descriptions and default status reason can change. Managed Status columns can't be changed.
  • Changed option values: the option is created with the new value and the old one is deleted. Records are not updated: records that stored the old value, or a deleted option's value, keep that number, which no longer has a label.
  • Solutions: a solution is optional. Dataverse puts every new global choice in the Default Solution; with an unmanaged solution selected, the new choice and any choice or column you change are added to that solution too. Status changes are the exception, because the Dataverse action takes no solution.
  • Review: every save opens a review of each change, the target environment and the solution before anything is written.
  • Publishing: after saving, the tool publishes only what it changed using the PublishXmlRequest command: the global choice by name, or the table of a local choice. Publishing a table also publishes any other unpublished changes on it, including ones made outside this tool.
  • Files: export writes a file only where you choose to save it.

It doesn't change records, tables, forms, views or security, or any column other than the options of the one you load.

There is no undo. Published changes and deletes can't be reverted from this tool. If you need a backup, export the solution from Dataverse or copy the JSON payload from the Code tab.

Data and privacy

The tool talks only to your connected Dataverse environment, through the ToolBox APIs. It makes no other network calls and declares no CSP exceptions. Open in Browser opens make.powerapps.com in your browser.

Development

pnpm install
pnpm dev-watch   # builds to dist/ with source maps, watches for changes
pnpm test        # unit tests
pnpm lint

In PPTB: Debug → Load Local Tool → select this project root → Help → Toggle Tool DevTools. There is no hot reload, so close and reload the tool tab after each rebuild.

Building and publishing

pnpm build
pnpm validate
npm publish --access public

AI Assistance

Much of the code was written with Claude Code and GitHub Copilot; I reviewed and tested it against Dataverse and maintain it.

License

GNU General Public License v3.0.