- 8 minutes to read

The Articles Step

The Articles step is step 3 of the Generate from BizTalk wizard described on Generate Articles from BizTalk. It decides which Articles a run writes and how they are written, so the result matches your BizTalk landscape without hand-editing afterwards. Every option on the step is described below, from top to bottom. The Articles step holds everything about the documents, from top to bottom. It has two parts: the Articles to write (Integration Articles and Other Articles), then the options for how they are written (profiles, binding, tags, and advanced settings). The suggested values are a starting point: accept or change them.

Articles step with the help open, the run size bar at 16 of 50 Articles, the Integration Key pattern, New Integration Article, Accept suggestions, and suggestions that update existing Articles (7.12)
The top of the Articles step with the built-in help open, the run size, and accepted suggestions marked updates existing. In the lab, the default pattern matches 26 of 31 routes and suggests 16 Articles.

Click How Articles work at the top right for the built-in help, shown open above. It explains Integration Articles, routes, Building Blocks, and the Integration Key, and how to fill the step. Hide help closes it.

Run Size

The counter n of max N Articles shows how many Articles the run will write, broken down per kind, plus at least n Building Blocks. The limit counts every Article kind; Building Blocks are counted but not limited. Next is disabled while the counter is over the limit. An administrator can raise the limit with the BizTalkArticleGenerationMaxPerRun System Parameter.

Integration Articles

  1. Check the Integration Key pattern: a regular expression that finds the integration number in port and orchestration names. Routes with the same number are suggested as one Article. The default, ^(?i)([a-z]{1,4}[-_ ]?\d{3,4}[a-z]?), finds 1–4 letters, an optional -, _, or space, and 3–4 digits at the start of a name: INT001, INT-042, i0042b, AZI0104. Change it to fit your naming. If the pattern doesn't compile, the wizard says so and keeps the previous value for suggestions.
  2. Click Accept suggestions to create one Integration Article per Integration Key the pattern found, up to the remaining limit. When the limit stops the rest, the wizard says so. Suggestions are always taken from the first Integration Key, so running again takes the same ones. To document the rest, narrow the Integration Key pattern, add Articles with New Integration Article..., or ask an administrator to raise the limit. When a suggestion has the title of an existing Article (titles that differ only in case, spaces, or punctuation count as the same, see The Route Picker), its row is marked updates existing: the routes that Article already documents stay, and the suggested routes are added. Accept suggestions never removes routes from an Article.
  3. Or click New Integration Article... to pick the routes yourself in the route picker.
  4. Review the list: Title, Integration Key, Routes, and Profile. Each row has three buttons:
    • previews that one Article exactly as the run would write it, without writing anything, and marks every row that has a problem (This Article has problems). The preview is per Article; there is no preview of the whole run.
    • changes the Article's title, routes, or profile.
    • removes the Article from this run. Remove all empties the list.

Integration Articles list after Accept suggestions, with the run size counter, the Integration Key per row, and preview, edit, and remove buttons (7.12)
The Integration Articles list after Accept suggestions. The note above the list says how many suggestions were accepted and which update existing Articles; when the run limit is reached, it says the remaining suggestions were stopped.

  • Entry Point Articles (one per receive port) and Application Overview Articles (one per application): each has an application selection, prefilled from the Application step. Empty means the applications of this run. For Entry Point Articles, applications without receive ports are greyed out, and a warning lists them.
  • Building Blocks for all artifacts in the run's applications: when off, Building Blocks are generated only for the artifacts some Article uses.

Profiles

Pick one Document Profile per kind. The shipped BizTalk profiles are preselected and marked Shipped. Only profiles that hold every section the generator writes are listed. To add your own sections, clone a BizTalk profile and pick the clone here. The Entry Point and Application Overview profiles are greyed out until their Article kind is ticked.

Building Blocks option, the four Document Profile pickers, Binding, On existing Articles, and Tags (7.12)
The options part of the Articles step: Building Blocks, profiles, Binding, On existing Articles, and Tags.

Binding

Binding decides where the generated Articles are linked, so readers reach them from the things they describe. A switch is unchecked and disabled while the option it needs is off:

Option Needs Effect
C4 nodes (the subscriber and receive port nodes of this run's diagram set) Diagrams in the run New 7.12 Shows each Integration Article on the nodes of its ports (the subscriber, a send port, send port group, or orchestration, and the receive locations it reads from) and each Entry Point Article on its receive location. The run links the Articles to the Endpoints and Services, never to a node, so the nodes show them as inferred through their binding. A receive port is a boundary, not a node, and shows no Articles.
Monitoring Resources (via the Services the wizard binds) Add Monitoring Operators open the Articles from Resources in Monitor Views.
Repository entities: one Integration per Article, Services, Message Types, System Generate Nodinite Repository Artifacts Each Integration Article gets its own Repository Integration, found or created by the Article's title, holding the Services of its routes.

On Existing Articles

  • Update generated parts (default): a re-run refreshes the generated sections of Articles that already exist. When BizTalk has not changed, nothing is written.
  • Create missing only: only Articles that don't exist yet are written. Existing ones keep their generated sections as they are, even when BizTalk changed.

Your own sections are never overwritten in either mode. See Keeping Generated Articles Up to Date.

Tags

The Tags you enter are added to every generated document. The default is Source: BizTalk. Integration Articles also get BizTalk: <Integration Key>, Entry Point Articles get BizTalk Entry Point, and Application Overviews get BizTalk Application.

Advanced

Articles document the design: every port, location, and orchestration is included whether it is started, stopped, enabled, or disabled, and its state is not written. Stopping a port never changes an Article; Monitor Views show the live state.

  • Follow transport loopbacks (heuristic): a send port that writes to an address a receive location of this group reads (same folder or queue) is treated as one continuing route. Matching is by address, so it can guess wrong. Off by default.
  • Pipeline stages and components: on by default.
  • Per-instance pipeline configuration (redacted): on by default. Values that look like passwords, keys, or connection strings are masked; see Sensitive Data in Generated Articles for exactly which values are masked.

Advanced card of the Articles step, open, with Follow transport loopbacks (heuristic), Pipeline stages and components, and Per-instance pipeline configuration (redacted) ticked (7.12)
The Advanced card with every option ticked; Follow transport loopbacks is off by default.

Every generated Article stores the loopback choice and shows it under Generation Info, and a Refresh uses the stored choice. With the option on, the send port gets a continues in connection to the receive port that reads its address: a dashed edge in the Flow Diagram, a note in the Processing Sequence, a link to that receive port's Entry Point Article, and a dashed transport loopback dependency in the Application Overview. With it off, Integration, Entry Point, and Application Overview Articles contain no continues in connection: the flow ends at the send port's target. An Article generated earlier with the option off loses its loopback edges, notes, and links at its next Refresh.

Flow Diagram of the Integration Article i0115 with two routes, generated with Follow transport loopbacks off: each flow ends at the FILE target of its send port (7.12)
Off, the default: each route ends at the folder its send port writes to, here the loop route and the partner route of i0115.

Flow Diagram of the same Article with Follow transport loopbacks on: a dashed continues in edge from the send port i0115_Loop_ToFolder to the receive port RP_i0115_Loop_File (7.12)
On: a receive location of the same group reads that folder, so the flow continues in its receive port.

The route picker always shows a route's continues in line under its target, whatever this option says: it helps you choose routes, and isn't part of the Article.

Orchestration Design

Choose None, ODX to Mermaid (default), or ODX plus designer image. The shapes (receive, decide, loop, scope, send) come from the orchestration's designer model, which only the BizTalk Monitoring Agent can read from the deployed assembly. The option is disabled when the run has no BizTalk Monitoring Agent.

With either ODX option, the orchestration's design becomes part of its Building Block: readers follow the shapes as a flowchart, and with ODX plus designer image they also see the picture the Orchestration view tab shows in Monitoring, without opening Visual Studio or signing in to the BizTalk server.

  • Only a changed design is drawn again.
  • Designer images are rendered on the BizTalk server and take time. They are fetched only for orchestrations whose design changed, and stored in the Image Library.
  • When the agent can't provide a design, the section shows a notice and the run continues.

Advanced settings and Orchestration design at the bottom of the Articles step (7.12)
The bottom of the Articles step: Advanced and Orchestration design, the designer model of Orchestrations.

Next Steps