Skip to content

pacx webresources applyIcons

github-actions[bot] edited this page Jul 22, 2025 · 3 revisions

(Preview) Applies icons to custom tables, starting from a given solution

Aliases

pacx wr apply icons
pacx wr applyIcons
pacx wr apply-icons
pacx wr iconize

Usage

This command can be used to apply SVG icons to custom tables. Only tables without an SVG icon will be affected by the command.

The command requires the name of the solution that contains the tables and the name of the solution that contains the web resources to set. If one of those is not explicitly provided, the default solution for the current environment is used instead.

The match between the table and the web resource is done by table logical name, with the following rules:

  1. if there is a webresource called <table_logical_name>.svg take that one
  2. if there is a webresource called <publisherprefix>_<table_logical_name>.svg take that one
  3. if there is a webresource called <publisherprefix>_/images/<table_logical_name>.svg take that one
  4. if there is a webresource that ends with /<table_logical_name>.svg take that one

You can use the --no-action option to see what the command would do without actually performing any action.

Arguments

Long Name Short Name Required? Description Default value Valid values
table-solution ts N The name of the solution that contains the tables to update with icons. If not specified, the default solution is considered. - String
wr-solution wrs N The name of the solution that contains the web resources to set. If not specified, the default solution is considered. - String
no-action nop N If specified, the command will not perform any action, but it will show what it would do. False true, false

Command list

Clone this wiki locally