Docs menu

Install

Time Use comes in the Ninth Forge Time Use managed solution. Import it into each environment where you want it. It adds the code component, the licence-key environment variable and two small tables the editor uses: no plugins, flows or service accounts.

The tables are Time Use Change (the change log, with the original values kept) and Time Use Shift Approval (one row per site and shift). Removing the solution removes them cleanly, and the change log with them, so export it first if you need it.

Before you start

  • You need the System Customizer or System Administrator role in the environment.
  • Canvas apps only: an admin allows code components once per environment, in the Power Platform admin center: Environments, your environment, Settings, Product, Features, then turn on Allow publishing of canvas apps with code components and Save.
  • Your tables: an events table (one row per state change: machine, start, end, state) and, ideally, a state-code table and a machine table. See what your tables need.

Get the solution

Download it from ninthforge.com/downloads, or from your account. Your welcome email links there too. Every version has its own permanent link, and older versions stay up so you can roll back:

File Link
Ninth Forge Time Use ninthforge.com/downloads/timeuse/<version>/NinthForgeTimeUse_<version>_managed.zip
Ninth Forge Time Use samples (optional) ninthforge.com/downloads/timeuse/<version>/NinthForgeTimeUseSamples_<version>_managed.zip

In the file name the version is written with underscores and a trailing _0, the way Power Apps exports it: version 1.0.0 is NinthForgeTimeUse_1_0_0_0_managed.zip. The downloads page lists each file’s size and SHA-256 checksum. To check your copy, run Get-FileHash .\<zip> -Algorithm SHA256 in PowerShell and compare.

Downloads open at launch on 27 January.

Import the solution

  1. Download the solution zip (see above).
  2. In Power Apps, pick the environment, go to Solutions and select Import solution.
  3. Browse to the zip, select Next, then Import.
  4. When it says “Solution imported successfully”, Ninth Forge Time Use is available as a component.

Check it worked

In Solutions, Ninth Forge Time Use shows as Managed, with the version you downloaded (for example 1.0.0.0). Open a view of any table, select Components, Get more components: Ninth Forge Time Use is in the list.

Your licence key is bound to your Microsoft Entra tenant, not to an environment, so one key covers development, test and production. Put it in the Ninth Forge licence keys environment variable (Solutions, Default Solution, Environment variables) and every Time Use control in model-driven apps picks it up.

Try it on sample data (optional)

Import Ninth Forge Time Use samples after the main solution. It adds three sample tables (machines, state codes, machine events) and an app, Ninth Forge Time Use — samples, with North Range, an underground mine of the fictional Harbourline Minerals.

  1. Open the app and go to Machine events. It says No events in this time range.
  2. Select Load sample data. Six machines and two days of shifts around today are added, about 1,700 rows; it takes under a minute and shows its progress.
  3. Explore: choose a reason in Where the lost time went, or zoom in until single events show, then double-click one to re-code it, or drag the line between two events. Saving a change needs a Time Use key. Without one, the change snaps back with a message that offers a free trial. See Licensing and trial.

Users other than admins need the Ninth Forge Time Use samples user role (with Basic User) to see and change the sample rows. Delete the samples solution any time: your own data and the Time Use solution are untouched.

Code apps: npm

In a code app there’s nothing to import: Time Use will come as the @ninthforge/timeuse npm package. It isn’t published yet, so for now use it in model-driven or canvas apps.

Update

Import the newer NinthForgeTimeUse zip the same way and choose Upgrade when asked. Your views keep their settings, and the change log and shift approvals keep their rows. Update the samples solution after the main one, if you have it. Canvas apps ask to update the code component the next time you open them in Power Apps Studio: select Update, then save and publish the app.

Uninstall

  1. Delete Ninth Forge Time Use samples first, if you have it (its views use the control).
  2. Remove the control from your own views and apps.
  3. In Solutions, select Ninth Forge Time Use and Delete.

Warning

Deleting the solution deletes the Time Use Change and Time Use Shift Approval tables and every row in them. Export the change log first if you need it. Your events, state-code and machine tables aren’t touched.

Last updated