Table of contents
TOC
Collapse the table of content
Expand the table of content

YammerUtility.CreateYammerOpenGraphDiscussionPartXml Method

SharePoint Dev Documents|Last Updated: 6/22/2017
|
1 Contributor

Constructs web part definition for Open Graph discussion web part definition

Namespace:OfficeDevPnP.Core.Utilities
Assembly: OfficeDevPnP.Core.dll

Syntax

public static string CreateYammerOpenGraphDiscussionPartXml(String yammerNetworkName, String url, Boolean showHeader, Boolean showFooter, String postTitle = "", String postImageUrl = "", Boolean useSso = True, String groupId = "")

Parameters

yammerNetworkName

  Type: System.String
  Yammer network name

url

  Type: System.String
  Yammer url

showHeader

  Type: System.Boolean
  Shows header based on value

showFooter

  Type: System.Boolean
  Shows footer based on value

(optional) postTitle

  Type: System.String
  creates webpart with given post title

(optional) postImageUrl

  Type: System.String
  creates webpart with given post title

(optional) useSso

  Type: System.Boolean
  uses given Single Sign-on information to create webpart

(optional) groupId

  Type: System.String
  yammer group id

Return Value

Type: string
The constructed Open Graph Discussion Part XML

See also

© 2018 Microsoft