{"action":"created","issue":{"url":"https://api.github.com/repos/SharePoint/sp-dev-fx-controls-react/issues/155","repository_url":"https://api.github.com/repos/SharePoint/sp-dev-fx-controls-react","labels_url":"https://api.github.com/repos/SharePoint/sp-dev-fx-controls-react/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/SharePoint/sp-dev-fx-controls-react/issues/155/comments","events_url":"https://api.github.com/repos/SharePoint/sp-dev-fx-controls-react/issues/155/events","html_url":"https://github.com/SharePoint/sp-dev-fx-controls-react/issues/155","id":371882621,"node_id":"MDU6SXNzdWUzNzE4ODI2MjE=","number":155,"title":"Using a control in SharePoint Top Placeholder","user":{"login":"asadullah313","id":44289815,"node_id":"MDQ6VXNlcjQ0Mjg5ODE1","avatar_url":"https://avatars1.githubusercontent.com/u/44289815?v=4","gravatar_id":"","url":"https://api.github.com/users/asadullah313","html_url":"https://github.com/asadullah313","followers_url":"https://api.github.com/users/asadullah313/followers","following_url":"https://api.github.com/users/asadullah313/following{/other_user}","gists_url":"https://api.github.com/users/asadullah313/gists{/gist_id}","starred_url":"https://api.github.com/users/asadullah313/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asadullah313/subscriptions","organizations_url":"https://api.github.com/users/asadullah313/orgs","repos_url":"https://api.github.com/users/asadullah313/repos","events_url":"https://api.github.com/users/asadullah313/events{/privacy}","received_events_url":"https://api.github.com/users/asadullah313/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-19T09:43:26Z","updated_at":"2018-10-19T14:05:30Z","closed_at":null,"author_association":"NONE","body":"#### Category\r\n[ ] Enhancement\r\n\r\n[ ] Bug\r\n\r\n[x] Question\r\n\r\nI am developing a SharePoint SPFx Placeholder. One of the items in the placeholder must be security trimmed. I'm therefore using the SecurityTrimmedControl to achieve that. But in the SPFx documentation the HTML that is rendered into the Top Placeholder is insereted into an innerHTML property like this:\r\n\r\n```\r\nthis._topPlaceholder.domElement.innerHTML = \r\n`\r\n<HTML for Placeholder>\r\n\r\n`\r\n```\r\n\r\nI have tried to insert the following in the innerHTML:\r\n\r\n```\r\n<SecurityTrimmedControl context={this.props.context} level={PermissionLevel.remoteWeb} remoteSiteUrl=\"https://[tenant].sharepoint.com/sites/[site]\" permissions={[SPPermission.viewPages]}>\r\n  <p>I have access</p>\r\n</SecurityTrimmedControl>\r\n```\r\n\r\nBut this does not work. How can I make it work with the innerHTML property?\r\n\r\nThanks in advance!\r\n"},"comment":{"url":"https://api.github.com/repos/SharePoint/sp-dev-fx-controls-react/issues/comments/431374613","html_url":"https://github.com/SharePoint/sp-dev-fx-controls-react/issues/155#issuecomment-431374613","issue_url":"https://api.github.com/repos/SharePoint/sp-dev-fx-controls-react/issues/155","id":431374613,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTM3NDYxMw==","user":{"login":"asadullah313","id":44289815,"node_id":"MDQ6VXNlcjQ0Mjg5ODE1","avatar_url":"https://avatars1.githubusercontent.com/u/44289815?v=4","gravatar_id":"","url":"https://api.github.com/users/asadullah313","html_url":"https://github.com/asadullah313","followers_url":"https://api.github.com/users/asadullah313/followers","following_url":"https://api.github.com/users/asadullah313/following{/other_user}","gists_url":"https://api.github.com/users/asadullah313/gists{/gist_id}","starred_url":"https://api.github.com/users/asadullah313/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asadullah313/subscriptions","organizations_url":"https://api.github.com/users/asadullah313/orgs","repos_url":"https://api.github.com/users/asadullah313/repos","events_url":"https://api.github.com/users/asadullah313/events{/privacy}","received_events_url":"https://api.github.com/users/asadullah313/received_events","type":"User","site_admin":false},"created_at":"2018-10-19T14:05:30Z","updated_at":"2018-10-19T14:05:30Z","author_association":"NONE","body":"Thanks for the help "}}
{"actor":{"display_login":"asadullah313"}}