Truvio.Commerce.PowerTools
0.13.10-beta
See the version list below for details.
dotnet add package Truvio.Commerce.PowerTools --version 0.13.10-beta
NuGet\Install-Package Truvio.Commerce.PowerTools -Version 0.13.10-beta
<PackageReference Include="Truvio.Commerce.PowerTools" Version="0.13.10-beta" />
<PackageVersion Include="Truvio.Commerce.PowerTools" Version="0.13.10-beta" />
<PackageReference Include="Truvio.Commerce.PowerTools" />
paket add Truvio.Commerce.PowerTools --version 0.13.10-beta
#r "nuget: Truvio.Commerce.PowerTools, 0.13.10-beta"
#:package Truvio.Commerce.PowerTools@0.13.10-beta
#addin nuget:?package=Truvio.Commerce.PowerTools&version=0.13.10-beta&prerelease
#tool nuget:?package=Truvio.Commerce.PowerTools&version=0.13.10-beta&prerelease
Truvio PowerTools
A growing suite of admin power tools for Dynamicweb 10 by JustDynamics — one backend app, one install, its own PowerTools area in the administration, published as a NuGet package (visible in the DW10 admin Available apps list).
Compatible with Dynamicweb 10.8.4 and newer through three package lines from one source. The Base line targets net8.0 / DW 10.8.4, Discount targets net8.0 / DW 10.25.5, and Groups targets net10.0 / DW 10.30.6. Price Explainer capabilities differ by line; see package lines and verification. Older hosts retain solid badges and omit screen subtitles where those APIs are unavailable.
Found a problem or have an idea? Report it on GitHub.
Tools
| Tool | Section | What it does |
|---|---|---|
| Content Access Viewer (formerly Security Viewer) | Security | Pick a security account — a frontend role, a user group, or a user — and see exactly what content that account can access, across pages, grid rows, and paragraphs. Built for business users who use permissions for personalisation and need to verify who sees what. |
| Experience Analyzer | Security | What stands out about one account's content experience, and where two accounts differ: the pages only this role sees, the pages only that role sees, the gate behind each, and per-website tallies. With no comparison account the public (anonymous) experience is the baseline — including the pages a signed-in account has lost. Access analysis only, no page rendering. See docs/experience-analyzer.md. |
| Content Access Warnings | Security | Install-wide misconfiguration findings: ineffective group grants, gated sign-in pages, ignored legacy permission columns, orphaned grants. |
| Operations Console | Operations | Health of the install in one place: scheduled tasks (state, last/next run, who ran them, failures, stale tasks), integration activities (providers, last result, broken task→activity links), logs & storage (log folders by size, largest DB tables, retention settings, growth findings), recent changes (command log, audit, config timestamps). Rules OPS-W1…W9 — see docs/operations-console.md. |
| Index & Query Inspector | Search | Repositories and indexes with build status and full schema, field where-used (dangling / unused fields), a 17-rule query linter (IDX-W1…W17, incl. the blank-parameter leak that returns the whole index), and a live document browser that diffs product documents against the database. See docs/index-inspector.md. |
| Query Tester | Search | Pick a query, supply parameter values, run it live: hits vs. defaults-only vs. index total, the executed Lucene query text, a clause-by-clause trace (active / dropped by blank parameter / unknown field / always true), per-clause impact, "why is document X not in the result", and ordered fix suggestions. See docs/query-tester.md. |
| PIM Quality | PIM | Catalog-wide product data quality, built on DW's own completeness scores: which product families are incomplete (ranked, scoped by group and language), which single field is missing on the most products, which language layer is behind, missing variant combinations, duplicate assets, broken image paths, and completion rules assigned to nothing. Rules PIM-W1…W8 — see docs/pim-quality.md. |
| Price Explainer | Commerce | Found price, price-line discount, campaign savings and final unit price at the selected quantity; unit-price steps with their source; applicable price rows and rejected counts with bounded detail. Explains verified standard selection rules and shows provider prices without claiming a custom winner. Switch account, product, currency, shop, quantity and date in the toolbar. See capabilities and limits. |
Settings (PowerTools ▸ Settings) tune every tool: linter suppressions (rule ids, parameter names, queries), stale/bloat thresholds, picker caps, Price Explainer presets, per-section toggles. Suppressed findings are always shown as a "hidden by settings" count. See docs/settings.md.
More tools are planned; each lands in its own section of the PowerTools area.
Repository layout
The source is organised per feature, one type per file (enforced at build time by
.editorconfig + Directory.Build.props: StyleCop SA1402/SA1649 and IDE0130 are errors).
src/Truvio.Commerce.PowerTools/
Features/<Feature>/ one folder per tool, e.g. PriceExplainer, IndexInspector
Core/ DW-free logic: specs, evaluators, rules (unit-tested)
Dw/ the Dynamicweb-backed readers behind the Core interfaces
Screens/ Queries/ Models/ Commands/ Selectors/ Navigation/
the admin UI of the feature (CoreUI screens, data queries,
view models, commands, pickers, breadcrumb path providers)
Shared/ used by more than one feature: Diagnostics (Finding),
Principals (accounts), Currency, Navigation (area + sections),
Security (permission entity), AdminUI (badges, toolbar, pickers)
tests/Truvio.Commerce.PowerTools.Tests/
Features/<Feature>/ mirrors the feature folders
Namespaces follow the folders: Truvio.Commerce.PowerTools.Features.<Feature>.<Layer>.
Screens
All screens live in the dedicated PowerTools area of the admin navigation (between Apps and Settings), grouped into per-tool-family sections. The area's sections are visible only to users with access to the respective tools.
| Screen | What it shows |
|---|---|
| Content Access Viewer | Opens directly on the overview (anonymous frontend role, all websites); switch account (searchable slide-over picker, covering roles, groups and users) and website from the toolbar. |
| Content access | Every page with the account's effective level, its origin (set here / inherited / role default), and gating warnings. |
| Page audience | Drilldown for one page: the page verdict, then each grid row and paragraph with visible/hidden and the winning grant or deny. |
| Experience Analyzer | Opens on the anonymous baseline; pick the account, add a second one with "Compare with…", scope to a website. Only-A / only-B page lists with the gate explanation and an audit link into the page drilldown. |
| Warnings | Install-wide misconfiguration findings (see below). |
| Price Explainer | Pick the account (anonymous visitor or a user — searchable), then the product (searchable; variants listed separately). |
| Explanation | Price and line total, price steps, context and visibility, applicable matrix rows with Wins / Outranked / Shadowed / Discount line / Rejected verdicts, and capped discount evidence. Custom-provider or unverified-rule rows say Applies. Rejected counts open to bounded details. DW's raw quantity list remains separate. |
Warning rules
| Rule | Severity | Finds |
|---|---|---|
| SECOPS-W1 | Critical / Warning | Group grants that don't gate: highest-wins resolution lets the broad frontend roles override a bare group grant unless the entity also carries an explicit deny for them. |
| SECOPS-W2 | Critical | A sign-in page (UserAuthentication app) that is itself denied to Anonymous or inactive — the anonymous-deny redirect flow dead-ends. |
| SECOPS-W3 | Warning | Populated legacy permission columns the DW10 runtime ignores — a false sense of gating. |
| SECOPS-W4 | Info | Permission rows referencing deleted groups. |
How resolution is modelled
The viewer mirrors DW10's render-time rules: permission rows live in the permission entity store keyed per page/grid row/paragraph; each identity of an account (frontend roles + groups) contributes its explicit row or its role default (frontend roles default to Read); the highest contribution wins; pages without rows inherit from the nearest ancestor carrying rows; grid rows and paragraphs without rows follow their page. Administrator-type accounts bypass checks entirely and are badged as such. The viewer is strictly read-only.
How prices are explained
DW supplies the price and matching rows for the selected account, product and quantity. The Price section separates found price, price-line discount, campaign savings and final unit price, with the line total and both VAT views. Price steps show changes in values or source; consecutive identical steps appear once. Applicable rows come first, followed by rejection counts with bounded details. Custom providers disable winner claims; cart-only conditions and storefront template logic are outside the explanation. See package capabilities, selection rules and limits, and the host results and verification recipe.
Visibility still mirrors AssortmentService: the account must hold an assortment containing
the product through a user/group permission or the anonymous flag. Products in no assortment
remain directly accessible but may be absent from assortment-filtered lists; the report warns.
Install
- App store: DW10 admin → Apps → Available apps → search "PowerTools" → install.
- Package reference: add
Truvio.Commerce.PowerToolsto yourDynamicweb.Host.Suiteproject. - Manual: build, copy
Truvio.Commerce.PowerTools.dllinto the host'sbin\, restart.
Access to the screens can be managed like any other permission: the app registers a
"Truvio PowerTools" permission entity with one key per tool
(truvio-powertools-security-viewer, truvio-powertools-price-explainer, truvio-powertools-operations, truvio-powertools-search; truvio-powertools-settings needs Edit to save settings). Per DW semantics
each is open until an admin explicitly manages it; checks fail closed.
Development
dotnet build
dotnet test
Pack happens on build (GeneratePackageOnBuild). The default local build uses the Base floor.
Use the release helper to rebuild, test, pack and verify each line:
./.github/scripts/build-line.ps1 -Line Base
./.github/scripts/build-line.ps1 -Line Discount
./.github/scripts/build-line.ps1 -Line Groups
Install the .NET 8 and .NET 10 SDKs/runtimes for all three lines. This release builds
0.13.10-beta, 0.13.11-beta and 0.13.12-beta; its tag is v0.13.10-beta.
PR checks build all three; a tag publishes them after the version and floor guards pass.
See the version scheme and guards.
After publication, wait until all three versions are listed on nuget.org before installing from the app list: a host can briefly be offered a lower line.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Dynamicweb (>= 10.8.4)
- Dynamicweb.Application.UI (>= 10.8.4)
- Dynamicweb.CoreUI.Rendering (>= 10.8.4)
- Dynamicweb.Ecommerce (>= 10.8.4)
- Dynamicweb.Products.UI (>= 10.8.4)
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 |
|---|---|---|
| 0.13.12-beta | 63 | 11/20/2026 |
| 0.13.11-beta | 56 | 11/20/2026 |
| 0.13.10-beta | 55 | 11/20/2026 |
| 0.13.2-beta | 69 | 11/20/2026 |
| 0.13.1-beta | 61 | 11/20/2026 |
| 0.13.0-beta | 59 | 11/20/2026 |
| 0.12.0-beta | 139 | 9/21/2026 |
| 0.11.2-beta | 111 | 8/27/2026 |
| 0.11.1-beta | 97 | 8/27/2026 |
| 0.11.0-beta | 93 | 8/26/2026 |
| 0.10.1-beta | 82 | 8/26/2026 |
| 0.10.0-beta | 82 | 8/26/2026 |
| 0.9.1-beta | 90 | 8/24/2026 |
| 0.9.0-beta | 86 | 8/24/2026 |
| 0.8.0-beta | 98 | 8/24/2026 |
| 0.7.0-beta | 86 | 8/24/2026 |
| 0.6.0-beta | 93 | 8/24/2026 |
| 0.5.1-beta | 101 | 8/23/2026 |
| 0.5.0-beta | 87 | 8/23/2026 |
| 0.4.0-beta | 81 | 8/23/2026 |