无法检索新闻源中每个帖子的链接(URI) [英] Cannot retrieve link (URI) to each post in newsfeed
问题描述
您好。任务是创建一个简单的电子邮件通知,其中包含给定周的新闻源帖子,能够点击每个""SocialThread.RootPost.Text"。作为返回特定sharepoint帖子的链接。我能够根据这个检索并显示
Newsfeed:
https://msdn.microsoft.com/en-us/library/office/jj163977.aspx?f=255&MSPPError=-2147217396 具体位于"使用SharePoint检索社交订阅源"下2013 .NET客户端对象模型"。问题是每个新闻源必须通过超链接
(回到帖子本身)。我尝试使用SocialLink类,但到目前为止,"Source"类似于和/或"Uri"。属性回来了。有没有一种简单的方法来实现这个基于前面提到的MSDN解决方案?谢谢你的帮助!
SocialThread具有属性Permalink(获取一个稳定的URI,用于直接导航到该线程),您可以查看MSDN上的更多详细信息。
如果这些没有用,你能提供吗?更多细节?
最好的问候,
利跨度>
Hello. The task was to create a simple email notification that contains newsfeed posts for a given week, be able to click on each "SocialThread.RootPost.Text" as a link back to the specific sharepoint post. I was able to retrieve and display Newsfeed based on this: https://msdn.microsoft.com/en-us/library/office/jj163977.aspx?f=255&MSPPError=-2147217396 specifically under "Retrieve social feeds by using the SharePoint 2013 .NET client object model". The issue is that each newsfeed must by a hyperlink (back to the post itself). I tried using SocialLink class but so far the "Source" and/or "Uri" properties come back empty. Is there a simple way to achieve this based on the preceding MSDN solution referenced? Thank you for your help!
Hi,
SocialThread has property Permalink(Gets a stable URI for navigating directly to the thread), you could check more details on MSDN.
If these doesn’t help, could you provide more details?
Best Regards,
Lee
这篇关于无法检索新闻源中每个帖子的链接(URI)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!