Skip to content

Commit 48ca0c2

Browse files
committed
Added clarification regarding term store lookup
1 parent 0ef1870 commit 48ca0c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/solution-guidance/portal-navigation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Don't:
2525
- Use a custom navigation solution that requests all navigation nodes for all custom navigation controls as soon as the page loads, even for controls that are initially collapsed/hidden.
2626
- Use a custom navigation solution that does not cache the navigation nodes it receives.
2727
- Use a custom navigation solution that targets the legacy Lists (SOAP) web service; for extra trouble, pass it some poorly-formed CAML queries.
28+
- Get a term store by referencing if by name or ID (e.g. `var termStores = taxSession.get_termStores();var termStore = termStores.getByName("Taxonomy_Dmxzz8tIBzk8wNVKQpJ+xA==");`), recommended guidance is to get the default keyword or site collection term store (e.g. `var termStore = taxSession.getDefaultSiteCollectionTermStore();` or `var termStore = taxSession.DefaultKeywordsTermStore()`).
2829

2930
<a name="bk_customNavRationale"> </a>
3031

0 commit comments

Comments
 (0)