Skip to content

Add Sharing macros, BPA rules, and preferences article#361

Open
justBlindbaek wants to merge 4 commits into
mainfrom
users-jtb/sharing-macros-and-bpa
Open

Add Sharing macros, BPA rules, and preferences article#361
justBlindbaek wants to merge 4 commits into
mainfrom
users-jtb/sharing-macros-and-bpa

Conversation

@justBlindbaek

Copy link
Copy Markdown
Collaborator

Introduces sharing-macros-bpa-rules.md, covering how to keep MacroActions.json, BPARules.json, and Preferences.json in sync across a team: where shared macros and rules should live relative to a semantic model's own repository, BPA's native rule-collection support for sharing rules with no extra tooling, and three options (symlink, pre-commit hook, dotfiles-manager tool) for the fixed local path Tabular Editor reads macros and preferences from, since that has no native multi-source equivalent. Adds it to the Parallel development section of the site nav, with reciprocal links to and from the existing parallel-development article. Also fixes a stale Enterprise-only claim in the Built-in BPA Rules page's description metadata, which contradicted its own applies_to block.

Just Blindbæk and others added 2 commits July 6, 2026 13:25
The page's own applies_to metadata already lists all three Tabular
Editor 3 editions as fully supported, but the description field still
called it an Enterprise Edition feature.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Covers keeping MacroActions.json, BPARules.json, and Preferences.json
in sync across a team: where shared config should live relative to a
semantic model's own repository, BPA's native rule-collection support,
and three options (symlink, pre-commit hook, dotfiles-manager tool)
for the fixed local path Tabular Editor reads macros and preferences
from, since that has no native multi-source equivalent. Adds it to the
Parallel development section of the site nav, with reciprocal links
to and from the existing parallel-development article.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@justBlindbaek justBlindbaek requested a review from otykier July 6, 2026 11:28
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-mud-081affe03-361.westeurope.azurestaticapps.net

1 similar comment
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-mud-081affe03-361.westeurope.azurestaticapps.net


# Sharing macros, BPA rules, and preferences across a team

Tabular Editor reads several configuration files from a fixed location on each user's machine — `%LOCALAPPDATA%\TabularEditor3\` for Tabular Editor 3, or `%LOCALAPPDATA%\TabularEditor\` for Tabular Editor 2 — most notably `MacroActions.json` (the user's macros), `BPARules.json` (the user's local BPA rules), and `Preferences.json` (general application preferences). That's a sensible default for a single developer, but teams that want a shared, consistent set of macros or preferences — across everyone on the team, across a department, or between local development and CI — run into an obvious question: **how do you keep a file at a fixed local path in sync with something version-controlled and shared?**

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tabular Editor reads several configuration files from a fixed location on each user's machine — `%LOCALAPPDATA%\TabularEditor3\` for Tabular Editor 3, or `%LOCALAPPDATA%\TabularEditor\` for Tabular Editor 2 — most notably `MacroActions.json` (the user's macros), `BPARules.json` (the user's local BPA rules), and `Preferences.json` (general application preferences). That's a sensible default for a single developer, but teams that want a shared, consistent set of macros or preferences — across everyone on the team, across a department, or between local development and CI — run into an obvious question: **how do you keep a file at a fixed local path in sync with something version-controlled and shared?**

**If what you're trying to share is BPA rules, this is already solved** — see [Sharing BPA rules](#sharing-bpa-rules) below. The rest of this page is mainly about macros and preferences, which don't have the same native support.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a high-level description of the method in proprosed and a small infographic if possible to give the user a better understanding what is being proprosed.


Whichever you choose, the sync mechanisms described later on this page work the same way regardless — a dedicated macros repository just means they need to reach into a second repository rather than one you already have checked out.

## Sharing BPA rules

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

imo, since sharing BPA rules is already solved, as noted earlier, this section should be last in this article as an addendum rather than appearing before the actual solution of the problem.

@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-mud-081affe03-361.westeurope.azurestaticapps.net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants