{"action":"created","issue":{"url":"https://api.github.com/repos/SharePoint/office365-cli/issues/366","repository_url":"https://api.github.com/repos/SharePoint/office365-cli","labels_url":"https://api.github.com/repos/SharePoint/office365-cli/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/SharePoint/office365-cli/issues/366/comments","events_url":"https://api.github.com/repos/SharePoint/office365-cli/issues/366/events","html_url":"https://github.com/SharePoint/office365-cli/issues/366","id":304895077,"number":366,"title":"New command: add client-side web part to modern page","user":{"login":"waldekmastykarz","id":11164679,"avatar_url":"https://avatars2.githubusercontent.com/u/11164679?v=4","gravatar_id":"","url":"https://api.github.com/users/waldekmastykarz","html_url":"https://github.com/waldekmastykarz","followers_url":"https://api.github.com/users/waldekmastykarz/followers","following_url":"https://api.github.com/users/waldekmastykarz/following{/other_user}","gists_url":"https://api.github.com/users/waldekmastykarz/gists{/gist_id}","starred_url":"https://api.github.com/users/waldekmastykarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waldekmastykarz/subscriptions","organizations_url":"https://api.github.com/users/waldekmastykarz/orgs","repos_url":"https://api.github.com/users/waldekmastykarz/repos","events_url":"https://api.github.com/users/waldekmastykarz/events{/privacy}","received_events_url":"https://api.github.com/users/waldekmastykarz/received_events","type":"User","site_admin":false},"labels":[{"id":745747030,"url":"https://api.github.com/repos/SharePoint/office365-cli/labels/feature%20request","name":"feature request","color":"207de5","default":false},{"id":718115093,"url":"https://api.github.com/repos/SharePoint/office365-cli/labels/help%20wanted","name":"help wanted","color":"33aa3f","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-13T19:00:07Z","updated_at":"2018-04-10T08:11:23Z","closed_at":null,"author_association":"MEMBER","body":"Add client-side web part to modern page\r\n\r\n- command: `spo page clientsidewebpart add -n|--pageName <pageName> -u|--webUrl <webUrl> --standardWebPart [standardWebPart] --webPartId [webPartId] --webPartProperties [webPartProperties] --section [section] --column [column] --order [order]`\r\n- pageName: name of the page to add the web part to\r\n- webURL: URL of the site where the page to edit is located\r\n- standardWebPart: set to add one of the standard SharePoint web parts. Available values: `ThirdParty|ContentRollup|BingMap|ContentEmbed|DocumentEmbed|Image|ImageGallery|LinkPreview|NewsFeed|NewsReel|PowerBIReportEmbed|QuickChart|SiteActivity|VideoEmbed|YammerEmbed|Events|GroupCalendar|Hero|List|PageTitle|People|QuickLinks|CustomMessageRegion|Divider|MicrosoftForms|Spacer`\r\n- webPartId: set to add a custom web part\r\n- webPartProperties: JSON string with web part properties to set on the web part\r\n- section: number of section to which the text should be added (1 or higher)\r\n- column: number of column in which the text should be added (1 or higher)\r\n- order: order of the section\r\n- specify standardWebPart or webPartId but not both\r\n\r\nFor more information see the Add-PnPClientSideWebPart cmdlet."},"comment":{"url":"https://api.github.com/repos/SharePoint/office365-cli/issues/comments/380013292","html_url":"https://github.com/SharePoint/office365-cli/issues/366#issuecomment-380013292","issue_url":"https://api.github.com/repos/SharePoint/office365-cli/issues/366","id":380013292,"user":{"login":"dguarneri71","id":36726531,"avatar_url":"https://avatars2.githubusercontent.com/u/36726531?v=4","gravatar_id":"","url":"https://api.github.com/users/dguarneri71","html_url":"https://github.com/dguarneri71","followers_url":"https://api.github.com/users/dguarneri71/followers","following_url":"https://api.github.com/users/dguarneri71/following{/other_user}","gists_url":"https://api.github.com/users/dguarneri71/gists{/gist_id}","starred_url":"https://api.github.com/users/dguarneri71/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dguarneri71/subscriptions","organizations_url":"https://api.github.com/users/dguarneri71/orgs","repos_url":"https://api.github.com/users/dguarneri71/repos","events_url":"https://api.github.com/users/dguarneri71/events{/privacy}","received_events_url":"https://api.github.com/users/dguarneri71/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T08:11:23Z","updated_at":"2018-04-10T08:11:23Z","author_association":"NONE","body":"Hi Waldek how can I find the name of the editable properties of the wbpart ContentRollup?\r\nI must set the properties \"Hide this webpart if there's nothing tio show\".\r\nThanks\r\n\r\nDaniele"}}
{"actor":{"display_login":"dguarneri71"}}