Skip to content

Commit 6045dc6

Browse files
thechriskentVesaJuvonen
authored andcommitted
Fixed broken links (SharePoint#2667)
1 parent 82a4e58 commit 6045dc6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/general-development/user-segmentation-in-sharepoint.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ You can create a term set programmatically by using the types exposed via [Micr
8888

8989

9090

91-
Each term you add to your term set receives a unique identifier. This identifier is the key to making the [ContentBySearchWebPart](https://msdn.microsoft.com/library/Microsoft.Office.Server.Search.WebControls.ContentBySearchWebPart.aspx) aware of your user segments.
91+
Each term you add to your term set receives a unique identifier. This identifier is the key to making the [ContentBySearchWebPart](https://docs.microsoft.com/en-us/sharepoint/dev/general-development/content-search-web-part-in-sharepoint) aware of your user segments.
9292

9393

9494

@@ -135,7 +135,7 @@ static void CreateNavigationTermSet(string siteUrl)
135135
## Create a custom web part for user segmentation
136136
<a name="SP15_Create_a_custom_web_part_user_segmentation"> </a>
137137

138-
In Visual Studio 2012, create a custom web part by using the Visual web parts template from the SharePoint category. Your custom web part must inherit from the  [ContentBySearchWebPart](https://msdn.microsoft.com/en-us/library/office/microsoft.office.server.search.webcontrols.contentbysearchwebpart.aspx) object.
138+
In Visual Studio 2012, create a custom web part by using the Visual web parts template from the SharePoint category. Your custom web part must inherit from the  [ContentBySearchWebPart](https://docs.microsoft.com/en-us/sharepoint/dev/general-development/content-search-web-part-in-sharepoint) object.
139139

140140
> [!NOTE]
141141
> This article assumes that you have experience with developing web parts in SharePoint. For more information on developing web parts, refer to [Building Block: web parts](http://msdn.microsoft.com/en-us/library/ee535520%28v=office.14%29.aspx)
@@ -147,14 +147,14 @@ In Visual Studio 2012, create a custom web part by using the Visual web parts te
147147
## Configure a custom web part with user segmentation logic
148148
<a name="SP15_Configure_custom_web_part_user_segmentation_logic"> </a>
149149

150-
In your custom web part, you can re-implement either the  [OnLoad()](https://msdn.microsoft.com/library/Microsoft.Office.Server.Search.WebControls.ContentBySearchWebPart.OnLoad.aspx) method or the [OnInit()](https://msdn.microsoft.com/library/Microsoft.Office.Server.Search.WebControls.ContentBySearchWebPart.OnInit.aspx) method to carry out your custom logic. Both these methods are useful to set or customize properties of the [ContentBySearchWebPart](https://msdn.microsoft.com/en-us/library/office/microsoft.office.server.search.webcontrols.contentbysearchwebpart.aspx) object.
150+
In your custom web part, you can re-implement either the  `OnLoad()` method or the `OnInit()` method to carry out your custom logic. Both these methods are useful to set or customize properties of the [ContentBySearchWebPart](https://docs.microsoft.com/en-us/sharepoint/dev/general-development/content-search-web-part-in-sharepoint) object.
151151

152152

153153

154154

155155
### Example 1: Add Male and Female user segments to your SharePoint site
156156

157-
To add **Male** and **Female** user segments, you can re-implement the [OnLoad()](https://msdn.microsoft.com/library/Microsoft.Office.Server.Search.WebControls.ContentBySearchWebPart.OnLoad.aspx) method as shown in the following code.
157+
To add **Male** and **Female** user segments, you can re-implement the `OnLoad()` method as shown in the following code.
158158

159159

160160

@@ -291,7 +291,7 @@ A query rule transforms queries to improve the relevance of search results by re
291291

292292

293293

294-
When implementing user segmentation, you use query rules to define conditions and actions for the defined user segments. When an end-user is part of a particular user segment, the query rule will activate and the [ContentBySearchWebPart](https://msdn.microsoft.com/library/Microsoft.Office.Server.Search.WebConrols.ContentBySearchWebPart.aspx) will display content that is tailored for that particular user segment.
294+
When implementing user segmentation, you use query rules to define conditions and actions for the defined user segments. When an end-user is part of a particular user segment, the query rule will activate and the [ContentBySearchWebPart](https://docs.microsoft.com/en-us/sharepoint/dev/general-development/content-search-web-part-in-sharepoint) will display content that is tailored for that particular user segment.
295295
296296

297297

@@ -324,7 +324,7 @@ When implementing user segmentation, you use query rules to define conditions an
324324

325325
8. Under **Query Conditions**, choose **Remove Condition**.
326326

327-
This specifies that the query configured in the [ContentBySearchWebPart](https://msdn.microsoft.com/library/Microsoft.Office.Server.Search.WebConrols.ContentBySearchWebPart.aspx) will act as the query condition.
327+
This specifies that the query configured in the [ContentBySearchWebPart](https://docs.microsoft.com/en-us/sharepoint/dev/general-development/content-search-web-part-in-sharepoint) will act as the query condition.
328328
329329

330330
9. Set the corresponding actions that your query rule will perform. Under the **Actions** section, select a corresponding action that you want to take as a result of -your query rule. You can select to either **Add Promoted Result** or **Add a Result Block**.

0 commit comments

Comments
 (0)