Skip to content

Commit 0042633

Browse files
SeiyasuLinda Caputo
authored andcommitted
Update how-to-include-mentions-tags-and-links-to-sites-and-documents-in-posts-in-sharep.md (SharePoint#2554)
Fix 404 error: redirect the page to valid page.
1 parent 8961050 commit 0042633

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/general-development/how-to-include-mentions-tags-and-links-to-sites-and-documents-in-posts-in-sharep.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The following code example publishes a post that contains links to a website, a
6363
- Add the link objects to the [ContentItems](https://msdn.microsoft.com/library/Microsoft.SharePoint.Client.Social.SocialPostCreationData.ContentItems.aspx) property of the [SocialPostCreationData](https://msdn.microsoft.com/library/Microsoft.SharePoint.Client.Social.SocialPostCreationData.aspx) object that's used to create the post.
6464

6565
> [!NOTE]
66-
> Currently, SharePoint handles links to websites, SharePoint sites, and documents in the same way, but as a best practice, choose the [Site](https://msdn.microsoft.com/library/Microsoft.SharePoint.Client.Social.SocialDataItemType.Site.aspx) type and the [Document](https://msdn.microsoft.com/library/Microsoft.SharePoint.Client.Social.SocialDataItemType.Document.aspx) type for SharePoint sites and documents.
66+
> Currently, SharePoint handles links to websites, SharePoint sites, and documents in the same way, but as a best practice, choose the [Site](https://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.client.social.socialdataitemtype.aspx) type and the [Document](https://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.client.social.socialdataitemtype.aspx) type for SharePoint sites and documents.
6767
6868

6969

@@ -170,7 +170,7 @@ The following code example publishes a post that mentions a user. It shows how t
170170

171171

172172

173-
- Create a [SocialDataItem](https://msdn.microsoft.com/library/Microsoft.SharePoint.Client.Social.SocialDataItem.aspx) object to represent a mention, which is a link to a user. The [SocialDataItem](https://msdn.microsoft.com/library/Microsoft.SharePoint.Client.Social.SocialDataItem.aspx) specifies the [SocialDataItemType.User](https://msdn.microsoft.com/library/Microsoft.SharePoint.Client.Social.SocialDataItemType.User.aspx) field and the mentioned person's account name. You can set the account name by using either the person's login or email address.
173+
- Create a [SocialDataItem](https://msdn.microsoft.com/library/Microsoft.SharePoint.Client.Social.SocialDataItem.aspx) object to represent a mention, which is a link to a user. The [SocialDataItem](https://msdn.microsoft.com/library/Microsoft.SharePoint.Client.Social.SocialDataItem.aspx) specifies the [SocialDataItemType.User](https://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.client.social.socialdataitemtype.aspx) field and the mentioned person's account name. You can set the account name by using either the person's login or email address.
174174

175175

176176
- Add a placeholder to the post text to indicate where the mentioned person's display name should appear.
@@ -259,7 +259,7 @@ The following code example publishes a post that includes a tag. It shows how to
259259

260260

261261

262-
- Create a [SocialDataItem](https://msdn.microsoft.com/library/Microsoft.SharePoint.Client.Social.SocialDataItem.aspx) object to represent the tag. The [SocialDataItem](https://msdn.microsoft.com/library/Microsoft.SharePoint.Client.Social.SocialDataItem.aspx) specifies the [SocialDataItemType.Tag](https://msdn.microsoft.com/library/Microsoft.SharePoint.Client.Social.SocialDataItemType.Tag.aspx) field and the tag name, which must include a **#** character.
262+
- Create a [SocialDataItem](https://msdn.microsoft.com/library/Microsoft.SharePoint.Client.Social.SocialDataItem.aspx) object to represent the tag. The [SocialDataItem](https://msdn.microsoft.com/library/Microsoft.SharePoint.Client.Social.SocialDataItem.aspx) specifies the [SocialDataItemType.Tag](https://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.client.social.socialdataitemtype.aspx) field and the tag name, which must include a **#** character.
263263

264264

265265
- Add a placeholder to the post text to indicate where the tag should appear.

0 commit comments

Comments
 (0)