Skip to content

Commit

Permalink
Improved the warning
Browse files Browse the repository at this point in the history
  • Loading branch information
georged authored Jul 24, 2024
1 parent 6f95f61 commit d7d3ad9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions datapress/fetchxml.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@ FetchXML provides SQL JOIN operations via `<link-entity />` tag. Common Data Ser
- Alias the `link-entity`. You will be able to access linked entity attributes via dot-notation: `{{record["aliasedEntity.attributeName"]}}`.
- Alias the attributes inside `link-entity`. You will be able to access the aliased attributes directly: `{{record["aliasedLinkedAttributeName"]}}`. Keep in mind that naming collisions may occur between alias names and main entity attribute names.

:::note Important to remember
:::warning Important

If the linked entity alias matches any column name, it may result in errors or unpredictable output.

If you choose to use an alias, ensure that it is not identical to the field names. Otherwise, the result will be undefined.
:::

## Using FetchXML Template
Expand Down Expand Up @@ -98,4 +99,4 @@ You can also set default value for these parameters in `FetchXML` section or in
Also you can add a fetchXML template at the moment of binding configuration for a page.

[See how to combine fetchXML templates and views](/datapress/views.md#parameterize-your-views)
XrmToolBox can help you to create fetchXML filters. [See XrmToolBox documentation](https://www.xrmtoolbox.com/documentation/) Use FetchXML Builder tool to get help for fetchXML creation.
XrmToolBox can help you to create fetchXML filters. [See XrmToolBox documentation](https://www.xrmtoolbox.com/documentation/) Use FetchXML Builder tool to get help for fetchXML creation.

0 comments on commit d7d3ad9

Please sign in to comment.