andmoretore.blogg.se

Bpa rules tabular editor
Bpa rules tabular editor











The lower list will indicate which collection a rule belongs to. Selecting this collection will show you the list of rules that actually apply to the currently loaded model, respecting the precedence of rules with identical ID's, as mentioned above. This allows you to override existing rules, for example to take model specific conventions into account.Īt the top of the list, you'll see a special collection called (Effective rules). If the same rule (by ID) is located in more than one collection, the order of precedence is from top to bottom, meaning a rule defined within the model takes precedence over a rule, with the same ID, defined on the local machine. These rules will apply to all models that are loaded in Tabular Editor on the current machine. Rules on the local machine: These rules are stored in the %ProgramData%\TabularEditor\BPARules.json.

bpa rules tabular editor

#Bpa rules tabular editor windows

These rules will apply to all models that are loaded in Tabular Editor by the currently logged in Windows user. Rules for the local user: These are rules that are stored in your %AppData%\.\Local\TabularEditor\BPARules.json file.The rule definitions are stored as an annotation on the Model object. Rules within the current model: As the name indicates, this is the collection of rules that have been defined within the current model.By default, three rule collections will show up:

bpa rules tabular editor

Selecting a collection in this list, will display all the rules that are defined within this collection in the bottom list. This UI contains two lists: The top list represents the collections of rules that are currently loaded. You can bring it up by clicking the top-left button on the Best Practice Analyzer window, or by using the "Tools > Manage BPA Rules." menu item in the main window. If you need to add, remove or modify the rules applying to your model, there's a brand new UI for that as well. Instead of copying the script to the clipboard, it will be executed immediately.

  • Apply fix: This option is also available for rules than have an easy fix, as mentioned above.
  • This script can then be subsequently pasted into the Advanced Scripting area of Tabular Editor, where you can review it before executing it to apply the fix. By clicking, you will get a C# script copied into your clipboard.
  • Generate fix script: Rules that have an easy fix (meaning the issue can be resolved simply by setting a single property on the object), will have this option enabled.
  • Again, by toggling the "Show ignored" button, you can unignore rules as well.
  • Ignore rule: If you've selected one or more rules in the list, this option will put an annotation at the model level that indicates, that the selected rule should always be ignored.
  • This will let you unignore an object that was previously ignored. If you ignored an object by mistake, toggle the "Show ignored" button at the top of the screen.
  • Ignore item/items: Selecting one or more objects in the list and choosing this option, will apply an annotation to the chosen objects indicating that the Best Practice Analyzer should ignore the objects going forward.
  • bpa rules tabular editor

  • Go to object.: Choosing this option or double-clicking on an object in the list, takes you to the same object in the main UI.
  • This UI can also be accessed through the "Tools > Manage BPA Rules." menu of the main UI.
  • Manage rules.: This opens the Manage Rules UI, which we will cover below.
  • Right-clicking anywhere inside the list or using the toolbar buttons at the top of the window, let's you perform the following actions: The Best Practice Analyzer window continuously lists all the effective rules on your model as well as the objects that are in violation of each rule. This allows you to dock the window on one side of your desktop, while keeping the main window in the other side, allowing you to work with both at once. If you've used the Best Practice Analyzer in previous versions, the first thing you'll notice is that the UI has been completely redesigned, making it take up less real estate on your screen. You can disable this feature under File > Preferences.Ĭlicking the link (or pressing F10), brings up the new and improved Best Practice Analyzer UI: Whenever a change is made to the model, the Best Practice Analyzer scans your model for issues in the background. The first thing you'll notice, is that Tabular Editor now reports the number of Best Practice issues directly within the main UI:

    bpa rules tabular editor

    As of Tabular Editor 2.8.1, the Best Practice Analyzer has received a major overhaul.











    Bpa rules tabular editor