<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Audience Targeting Archives &ndash; cresyl.eu</title>
	<atom:link href="https://cresyl.eu/en/category/audience-targeting/feed/" rel="self" type="application/rss+xml" />
	<link>https://cresyl.eu/en/category/audience-targeting/</link>
	<description></description>
	<lastBuildDate>Fri, 05 Mar 2021 15:46:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.0.6</generator>

<image>
	<url>https://cresyl.eu/wp-content/uploads/2020/11/Cresyl-Pictogram-100x100.png</url>
	<title>Audience Targeting Archives &ndash; cresyl.eu</title>
	<link>https://cresyl.eu/en/category/audience-targeting/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">172609161</site>	<item>
		<title>How to manage Hub navigation security trimming</title>
		<link>https://cresyl.eu/en/sharepoint/how-to-manage-hub-navigation-security-trimming/</link>
					<comments>https://cresyl.eu/en/sharepoint/how-to-manage-hub-navigation-security-trimming/#respond</comments>
		
		<dc:creator><![CDATA[Jim Ongena]]></dc:creator>
		<pubDate>Wed, 17 Feb 2021 23:10:10 +0000</pubDate>
				<category><![CDATA[Audience Targeting]]></category>
		<category><![CDATA[Hub Navigation]]></category>
		<category><![CDATA[Security Trimming]]></category>
		<category><![CDATA[SharePoint]]></category>
		<guid isPermaLink="false">https://cresyl.eu/?p=690</guid>

					<description><![CDATA[<p>When you setup sites in a larger organization, you’re probably going to investigate Hub Sites to manage the site structure. The configuration of Hub Sites allows you to create a general navigation structure that automatically is pushed to all sites linked to the Hub site,</p>
<p>The post <a rel="nofollow" href="https://cresyl.eu/en/sharepoint/how-to-manage-hub-navigation-security-trimming/">How to manage Hub navigation security trimming</a> appeared first on <a rel="nofollow" href="https://cresyl.eu/en/home">cresyl.eu</a>.</p>
]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="690" class="elementor elementor-690">
									<section class="elementor-section elementor-top-section elementor-element elementor-element-720ff7dc elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="720ff7dc" data-element_type="section">
						<div class="elementor-container elementor-column-gap-default">
					<div class="elementor-column elementor-col-66 elementor-top-column elementor-element elementor-element-361b87a7" data-id="361b87a7" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
								<div class="elementor-element elementor-element-6168789d elementor-widget elementor-widget-text-editor" data-id="6168789d" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
							<p>When you setup sites in a larger organization, you’re probably going to investigate <a href="https://docs.microsoft.com/en-us/sharepoint/planning-hub-sites">Hub Sites</a> to manage the site structure. The configuration of Hub Sites allows you to create a general navigation structure that automatically is pushed to all sites linked to the Hub site, hence assuring consistency, and limiting the amount of management to do.</p><p>While the general setup is straightforward, you may encounter exceptions where Hub navigation shouldn’t be pushed through.</p><p>Let’s take for example a Project Hub to group larger projects. In this case it would be advantageous that users who have no access to the other sites, would not see them. What are the best ways to handle this?</p><h2>Option 1: plain old default settings</h2><p>Yups, the first one is the easiest one; just working with the default options for Hub navigation. In this case you add links and headers to your Hub navigation, not considering permissions to the related sites.</p>						</div>
				</div>
				<div class="elementor-element elementor-element-71422253 elementor-widget elementor-widget-image" data-id="71422253" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
												<figure class="wp-caption">
										<img width="768" height="553" src="https://cresyl.eu/wp-content/uploads/2021/02/20210217-hubnavigationnewlink-1-768x553.png" class="attachment-medium_large size-medium_large wp-image-699" alt="" loading="lazy" srcset="https://cresyl.eu/wp-content/uploads/2021/02/20210217-hubnavigationnewlink-1-768x553.png 768w, https://cresyl.eu/wp-content/uploads/2021/02/20210217-hubnavigationnewlink-1-300x216.png 300w, https://cresyl.eu/wp-content/uploads/2021/02/20210217-hubnavigationnewlink-1.png 954w" sizes="(max-width: 768px) 100vw, 768px" />											<figcaption class="widget-image-caption wp-caption-text">Default Hub navigation Link Item</figcaption>
										</figure>
									</div>
				</div>
				<div class="elementor-element elementor-element-3c9bcc3e elementor-widget elementor-widget-text-editor" data-id="3c9bcc3e" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
							<p>The biggest drawback here is that the navigation is not security trimmed, hence you’ll see items which you’re not allowed to see. Luckily the user will get an access denied when they click on one of the oof-limits items.</p><p>What happens in the background is that the hub navigation is stored in a hidden list, both in the Hub site, and a copy in each connected site in a hidden ‘<em>/_catalogs/hubsite</em><em>’ list.</em> The structure is e.g.</p><pre class="EnlighterJSRAW" data-enlighter-language="json">{"headerEmphasis":null,"themeKey":null,"name":"Projects Hub","url":"https://tenant.sharepoint.com/sites/ProjectsHub","logoUrl":null,"logoFileHash":0,"usesMetadataNavigation":false,"megaMenuEnabled":false,"navigation":[{"Id":2006,"Title":"Project 1","Url":"https://tenant.sharepoint.com/sites/Project1","IsDocLib":false,"IsExternal":false,"ParentId":1002,"ListTemplateType":0,"AudienceIds":null,"CurrentLCID":1033,"Children":[]},{"Id":2007,"Title":"Project 2","Url":"https://tenant.sharepoint.com/sites/Project2","IsDocLib":false,"IsExternal":false,"ParentId":1002,"ListTemplateType":0,"AudienceIds":null,"CurrentLCID":1033,"Children":[]}],"isNavAudienceTargeted":false,"siteDesignId":"00000000-0000-0000-0000-000000000000","requiresJoinApproval":false,"hideNameInNavigation":false,"parentHubSiteId":"00000000-0000-0000-0000-000000000000","relatedHubSiteIds":null}
</pre><h2>Option 2: Hub configuration – Audience targeting</h2><p>Luckily Microsoft extended the navigation with an option to add audience targeting to navigation items. You first need to enable this by editing the Hub navigation and then enable the option at the bottom of the hub navigation pane.</p>						</div>
				</div>
				<div class="elementor-element elementor-element-287686a elementor-widget elementor-widget-image" data-id="287686a" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img width="300" height="121" src="https://cresyl.eu/wp-content/uploads/2021/02/20210217-hubnavigationenableaudiencetargeting-300x121.png" class="attachment-medium size-medium wp-image-724" alt="" loading="lazy" srcset="https://cresyl.eu/wp-content/uploads/2021/02/20210217-hubnavigationenableaudiencetargeting-300x121.png 300w, https://cresyl.eu/wp-content/uploads/2021/02/20210217-hubnavigationenableaudiencetargeting.png 381w" sizes="(max-width: 300px) 100vw, 300px" />															</div>
				</div>
				<div class="elementor-element elementor-element-6343f5c elementor-widget elementor-widget-text-editor" data-id="6343f5c" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
							<p>When you now create or update a navigation item, you will notice that an option ‘Audiences to target’ has been added.</p>						</div>
				</div>
				<div class="elementor-element elementor-element-47f2fe5 elementor-widget elementor-widget-image" data-id="47f2fe5" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img src="https://cresyl.eu/wp-content/uploads/elementor/thumbs/20210217-hubnavigationnewlinkwithaudiencetargeting-1-p39b8a316umlikcd6to0x8ten4iu7ssh63nbillsww.png" title="20210217-hubnavigationnewlinkwithaudiencetargeting" alt="20210217-hubnavigationnewlinkwithaudiencetargeting" loading="lazy" />															</div>
				</div>
				<div class="elementor-element elementor-element-06d88de elementor-widget elementor-widget-text-editor" data-id="06d88de" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
							<p>This option does give us a way to limit access to a navigation item, but if you’re having a large navigation to manage, and all items need to be restricted … it will take you some time and follow-up.</p><p>The moment you add an audience to a navigation item, an icon will be added in the overview to indicate this.</p>						</div>
				</div>
				<div class="elementor-element elementor-element-b69d0bf elementor-widget elementor-widget-image" data-id="b69d0bf" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img width="278" height="109" src="https://cresyl.eu/wp-content/uploads/2021/02/20210217-hubnavigationmenuview.png" class="attachment-large size-large wp-image-726" alt="" loading="lazy" />															</div>
				</div>
				<div class="elementor-element elementor-element-8119d43 elementor-widget elementor-widget-text-editor" data-id="8119d43" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
							<p>In the background the hiddenlist is updated to reflect this change by adding an audienceID and by setting isNavAudienceTargeted to ‘true’.</p><pre class="EnlighterJSRAW" data-enlighter-language="json">{"headerEmphasis":null,"themeKey":null,"name":"Projects Hub","url":"https://tenant.sharepoint.com/sites/ProjectsHub","logoUrl":null,"logoFileHash":0,"usesMetadataNavigation":false,"megaMenuEnabled":false,"navigation":[{"Id":2006,"Title":"Project 1","Url":"https://tenant.sharepoint.com/sites/Project1","IsDocLib":false,"IsExternal":false,"ParentId":1002,"ListTemplateType":0,"AudienceIds":null,"CurrentLCID":1033,"Children":[]},{"Id":2007,"Title":"Project 2","Url":"https://tenant.sharepoint.com/sites/Project2","IsDocLib":false,"IsExternal":false,"ParentId":1002,"ListTemplateType":0,"AudienceIds":["d20ecec6-2f1b-4dd0-a737-5249b7ac538c"],"CurrentLCID":1033,"Children":[]}],"isNavAudienceTargeted":true,"siteDesignId":"00000000-0000-0000-0000-000000000000","requiresJoinApproval":false,"hideNameInNavigation":false,"parentHubSiteId":"00000000-0000-0000-0000-000000000000","relatedHubSiteIds":null}</pre><h2>Option 3: Results web part on a page</h2><p>The third option isn’t really a navigation solution, but rather a workaround roll-up to ensure security trimmed information is shown.</p><p>To achieve this, we revert to the “Highlighted Content” web part. With some basic settings, it can provide you with a security trimmed list of sites. In our example it’s easy, since each link in the hub navigation refers to a Project site, and each project site has one home page.</p>						</div>
				</div>
				<div class="elementor-element elementor-element-7f4bc97 elementor-widget elementor-widget-image" data-id="7f4bc97" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img width="660" height="420" src="https://cresyl.eu/wp-content/uploads/2021/02/20210217-hubnavigationhighlightedcontentprojectsites.png" class="attachment-large size-large wp-image-730" alt="" loading="lazy" srcset="https://cresyl.eu/wp-content/uploads/2021/02/20210217-hubnavigationhighlightedcontentprojectsites.png 660w, https://cresyl.eu/wp-content/uploads/2021/02/20210217-hubnavigationhighlightedcontentprojectsites-300x191.png 300w" sizes="(max-width: 660px) 100vw, 660px" />															</div>
				</div>
				<div class="elementor-element elementor-element-f0e2e25 elementor-widget elementor-widget-text-editor" data-id="f0e2e25" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
							<h2>Option 4: Development</h2><p>Since I’m not a developer (and I’m not soon going to become one <img class="emoji" role="img" draggable="false" src="https://s.w.org/images/core/emoji/13.0.1/svg/1f60a.svg" alt="&#x1f60a;" />), I looked at a couple of documented developed implementations, of which two showed some merit.</p><ul><li>Implement a completely custom security trimmed navigation: <a href="https://www.aerieconsulting.com/blog/security-trimmed-hub-navigation">Implement security trimmed navigation in your Hub Site (aerieconsulting.com)</a></li><li>Reuse the existing hub navigation: <a href="https://jcallaghan.com/2019/09/replicate-sharepoint-hub-site-navigation/">Replicate SharePoint Hub site navigation to other Hub sites – James Callaghan (jcallaghan.com)</a></li></ul><h2>Conclusion</h2><p>We saw 4 different ways to create a ‘trimmed’ navigation. And although neither of them gave the perfect answer, each can be used in its specific context.</p><p>Hub sites have their merits and their limitations; it is up to the information architect to look at the relationship and interdependencies to go for the correct solution.</p>						</div>
				</div>
				<div class="elementor-element elementor-element-4ce8967 eael-table-align-center eael-dt-th-align-left elementor-widget elementor-widget-eael-data-table" data-id="4ce8967" data-element_type="widget" data-widget_type="eael-data-table.default">
				<div class="elementor-widget-container">
					<div class="eael-data-table-wrap" data-table_id="4ce8967" id="eael-data-table-wrapper-4ce8967" data-custom_responsive="false">
			<table class="tablesorter eael-data-table center" id="eael-data-table-4ce8967">
			    <thead>
			        <tr class="table-header">
									            <th class="" id="" colspan="">
														<span class="data-table-header-text">Option</span></th>
			        				            <th class="" id="" colspan="">
														<span class="data-table-header-text">Security trimming</span></th>
			        				            <th class="" id="" colspan="">
														<span class="data-table-header-text">Customizable</span></th>
			        				            <th class="" id="" colspan="">
														<span class="data-table-header-text">Easy to setup</span></th>
			        				            <th class="" id="" colspan="">
														<span class="data-table-header-text">Easy to maintain</span></th>
			        				        </tr>
			    </thead>
			  	<tbody>
											<tr>
																   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">Default Hub Navigation</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">No</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">No</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">Yes</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">Yes</div></div>
											</td>
																										</tr>
			        						<tr>
																   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">Hub Navigation with Audience targeting</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">Yes</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">No</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">Yes</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">No</div></div>
											</td>
																										</tr>
			        						<tr>
																   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">Highlighted contents</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">Yes</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">Limited</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">Yes</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">Yes</div></div>
											</td>
																										</tr>
			        						<tr>
																   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">Default Hub Navigation</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">Yes</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">Yes</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">No</div></div>
											</td>
																													   											<td colspan="" rowspan="" class="" id="">
												<div class="td-content-wrapper"><div class="td-content">No</div></div>
											</td>
																										</tr>
			        			    </tbody>
			</table>
		</div>
	  			</div>
				</div>
				<div class="elementor-element elementor-element-2608228 elementor-widget elementor-widget-text-editor" data-id="2608228" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
							<p>Maybe one could argue that it would be better not to use the Hub sites at all, then remember that Microsoft is working hard in bringing new features (such as syntex, site scripting, centralized color schemes) that will require a sound information structure where hub sites will play their part.</p>						</div>
				</div>
				<div class="elementor-element elementor-element-d99fbb2 elementor-share-buttons--skin-framed elementor-share-buttons--shape-circle elementor-grid-3 elementor-share-buttons--view-icon-text elementor-share-buttons--color-official elementor-widget elementor-widget-share-buttons" data-id="d99fbb2" data-element_type="widget" data-widget_type="share-buttons.default">
				<div class="elementor-widget-container">
					<div class="elementor-grid">
								<div class="elementor-grid-item">
						<div class="elementor-share-btn elementor-share-btn_facebook">
															<span class="elementor-share-btn__icon">
								<i class="fab fa-facebook" aria-hidden="true"></i>								<span
									class="elementor-screen-only">Share on facebook</span>
							</span>
																						<div class="elementor-share-btn__text">
																			<span class="elementor-share-btn__title">
										Facebook									</span>
																	</div>
													</div>
					</div>
									<div class="elementor-grid-item">
						<div class="elementor-share-btn elementor-share-btn_twitter">
															<span class="elementor-share-btn__icon">
								<i class="fab fa-twitter" aria-hidden="true"></i>								<span
									class="elementor-screen-only">Share on twitter</span>
							</span>
																						<div class="elementor-share-btn__text">
																			<span class="elementor-share-btn__title">
										Twitter									</span>
																	</div>
													</div>
					</div>
									<div class="elementor-grid-item">
						<div class="elementor-share-btn elementor-share-btn_linkedin">
															<span class="elementor-share-btn__icon">
								<i class="fab fa-linkedin" aria-hidden="true"></i>								<span
									class="elementor-screen-only">Share on linkedin</span>
							</span>
																						<div class="elementor-share-btn__text">
																			<span class="elementor-share-btn__title">
										LinkedIn									</span>
																	</div>
													</div>
					</div>
						</div>
				</div>
				</div>
					</div>
		</div>
				<div class="elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-613123f0" data-id="613123f0" data-element_type="column">
			<div class="elementor-widget-wrap elementor-element-populated">
								<div class="elementor-element elementor-element-723789a4 elementor-author-box--link-yes elementor-author-box--layout-image-above elementor-author-box--align-left elementor-author-box--avatar-yes elementor-author-box--name-yes elementor-author-box--biography-yes elementor-widget elementor-widget-author-box" data-id="723789a4" data-element_type="widget" data-widget_type="author-box.default">
				<div class="elementor-widget-container">
					<div class="elementor-author-box">
							<div  class="elementor-author-box__avatar">
					<img src="https://cresyl.eu/wp-content/uploads/2020/03/DSC_0765-300x300.jpg" alt="Jim Ongena">
				</div>
			
			<div class="elementor-author-box__text">
									<div >
						<h4 class="elementor-author-box__name">
							Jim Ongena						</h4>
					</div>
				
									<div class="elementor-author-box__bio">
						Jim has been an avid trainer, coach and consultant in SharePoint and Office 365 since 2006. He brings alternative insights along in each project he works on, and loves to share his knowledge. As a father of three young kids, you can see him playing taxi to get them from one hobby to the next. He loves reading sci-fi books and binge-watching sci-fi series and movies (damn you Netflix and Disney+ !)					</div>
				
									<a class="elementor-author-box__button elementor-button elementor-size-xs" href="https://cresyl.eu/en/author/jim-ongena/">
						See more posts					</a>
							</div>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-688b0893 elementor-widget elementor-widget-wp-widget-recent-posts" data-id="688b0893" data-element_type="widget" data-widget_type="wp-widget-recent-posts.default">
				<div class="elementor-widget-container">
			
		
		<h5>Most Recent Posts</h5>
		<ul>
											<li>
					<a href="https://cresyl.eu/en/power-automate/power-automate-using-the-list-display-name-out-of-an-item-url/">Power Automate – using the list display name out of an Item Url</a>
									</li>
											<li>
					<a href="https://cresyl.eu/en/sharepoint/using-quick-parts-in-m365-and-word/">Using quick parts in M365 and Word</a>
									</li>
											<li>
					<a href="https://cresyl.eu/en/connected-web-parts/a-modern-approach-on-connected-web-parts-in-o365/">A modern approach on connected web parts in O365</a>
									</li>
											<li>
					<a href="https://cresyl.eu/en/sharepoint/how-to-manage-hub-navigation-security-trimming/">How to manage Hub navigation security trimming</a>
									</li>
											<li>
					<a href="https://cresyl.eu/en/power-apps/some-takeaways-after-working-with-the-on-premise-data-gateway/">Some takeaways after working with the On-Premise data gateway</a>
									</li>
					</ul>

				</div>
				</div>
					</div>
		</div>
							</div>
		</section>
							</div>
		<p>The post <a rel="nofollow" href="https://cresyl.eu/en/sharepoint/how-to-manage-hub-navigation-security-trimming/">How to manage Hub navigation security trimming</a> appeared first on <a rel="nofollow" href="https://cresyl.eu/en/home">cresyl.eu</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cresyl.eu/en/sharepoint/how-to-manage-hub-navigation-security-trimming/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">690</post-id>	</item>
	</channel>
</rss>
