{"id":900,"date":"2012-03-05T19:21:55","date_gmt":"2012-03-05T19:21:55","guid":{"rendered":"http:\/\/www.stuartroberts.net\/?p=900"},"modified":"2012-06-20T00:40:01","modified_gmt":"2012-06-19T23:40:01","slug":"quick-tip-5","status":"publish","type":"post","link":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/","title":{"rendered":"Disable SharePoint PeopleEditor"},"content":{"rendered":"<p><strong>SharePoint Short #5<\/strong><br \/>\nIf you have a requirement to disable the <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/microsoft.sharepoint.webcontrols.peopleeditor.aspx\" title=\"People Editor Control\" target=\"_blank\">PeopleEditor<\/a> in SharePoint through JavaScript, the following script will do this for you:<\/p>\n<pre lang=\"javascript\">\r\nfunction togglePeopleEditor(editor, enable) {\r\n    \/\/ Disables the control but still allows the user to type into it.\r\n    editor.attr('disabled', enable ? '' : 'disabled');\r\n\r\n    \/\/ Previous control is div element, used to control the textarea control\r\n    var editorDiv = editor.find('textarea').prev();\r\n\r\n    \/\/ When not enabling, ensure text shown in people picker has been resolved, otherwise clear it\r\n    if (!enable) {\r\n        var entityData = editorDiv.find('#divEntityData');\r\n        if (entityData != undefined) {\r\n            if (entityData.attr('isresolved') == undefined || entityData.attr('isresolved') == 'False') {\r\n                editorDiv.html('&nbsp;');\r\n            }\r\n        }\r\n        \/\/ Hide any error messages\r\n        editor.find('.ms-error').css('display', 'none');\r\n    }\r\n\r\n    \/\/ Hide any errors from view when the people editor is disabled\r\n    if (!enable) {\r\n        editor.find('.ms-error').css('display', 'none');\r\n    }\r\n\r\n    \/\/ Set text colour to Grey so that the control appears disabled in Firefox\r\n    editorDiv.css('color', enable ? 'windowtext' : 'Grey');\r\n    editorDiv.attr('contentEditable', false);\r\n\r\n    \/\/ Ensure all child span elements display correct text colour and disable or enable content editing\r\n    editorDiv.find('span').each(function () {\r\n        $(this).css('color', enable ? 'windowtext' : 'Grey');\r\n        $(this).attr('contentEditable', enable);\r\n    });\r\n\r\n    \/\/ The following will enable or disable the 'Check Name' and 'Browse' links.\r\n    editor.find('a').attr('disabled', enable ? '' : 'disabled').css('cursor', enable ? 'pointer' : 'default');\r\n    \/\/ Toggle the child anchor element event handlers\r\n    editor.find('a').each(function () {\r\n        if (enable) {\r\n            if ($(this).attr('onclick') == null)\r\n                this.onclick = $(this).data('onclick_data'); \/\/ Restore previously deleted click event\r\n        }\r\n        else {\r\n            if ($(this).data('onclick_data') == undefined)\r\n                $(this).data('onclick_data', this.onclick); \/\/ Store click data before removing the current event\r\n            $(this).removeAttr('onclick');\r\n        }\r\n    });\r\n}<\/pre>\n<p>Important aspects of the script are:<\/p>\n<ul>\n<li>Setting the <em>contenteditable<\/em> attribute of the div (id is postfixed <em>_upLevelDiv<\/em>) that immediately precedes the textarea control to false will disable the control and not allow the user to type directly into it.<\/li>\n<li>Removing un-resolved text from the people picker when disabling &#8211; this stops validation errors<\/li>\n<li>Removing the <em>onclick<\/em> event handlers when disabled and restoring when re-enabling &#8211; this is only required for Firefox as other browsers do not fire the event as the parent control is set to disabled.<\/li>\n<\/ul>\n<p>It should be noted that the people picker control this script assumes only one user or group, if allowing more you&#8217;ll need to update the logic for clearing the content when disabling to handle multiple entities.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SharePoint Short #5 If you have a requirement to disable the PeopleEditor in SharePoint through JavaScript, the following script will do this for you: function togglePeopleEditor(editor, enable) { \/\/ Disables the control but still allows the user to type into &hellip; <a href=\"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[44],"tags":[81,45],"class_list":["post-900","post","type-post","status-publish","format-standard","hentry","category-shorts","tag-sharepoint","tag-sharepoint-short"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"Disable SharePoint PeopleEditor control quick tip\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Stu\"\/>\n\t<meta name=\"keywords\" content=\"sharepoint,sps,sp,tip,tips,quick tip,quick tips,disable peopleeditor,shorts\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Stuart Roberts on all things SharePoint |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Quick Tip #5 - Disable SharePoint PeopleEditor | Stuart Roberts on all things SharePoint\" \/>\n\t\t<meta property=\"og:description\" content=\"Disable SharePoint PeopleEditor control quick tip\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2012-03-05T19:21:55+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2012-06-19T23:40:01+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@SharePointStu\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Quick Tip #5 - Disable SharePoint PeopleEditor | Stuart Roberts on all things SharePoint\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Disable SharePoint PeopleEditor control quick tip\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@SharePointStu\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2012\\\/03\\\/05\\\/quick-tip-5\\\/#article\",\"name\":\"Quick Tip #5 - Disable SharePoint PeopleEditor | Stuart Roberts on all things SharePoint\",\"headline\":\"Disable SharePoint PeopleEditor\",\"author\":{\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2012\\\/03\\\/05\\\/quick-tip-5\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/503cb376bab10c66a6bde71d1514dcab2eab4ec44a2f82ef597ca87af61bf1cd?s=96&d=retro&r=g\",\"width\":96,\"height\":96,\"caption\":\"Stu\"},\"datePublished\":\"2012-03-05T19:21:55+00:00\",\"dateModified\":\"2012-06-20T00:40:01+01:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2012\\\/03\\\/05\\\/quick-tip-5\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2012\\\/03\\\/05\\\/quick-tip-5\\\/#webpage\"},\"articleSection\":\"Shorts, SharePoint, SharePoint Short\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2012\\\/03\\\/05\\\/quick-tip-5\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.stuartroberts.net\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/category\\\/shorts\\\/#listItem\",\"name\":\"Shorts\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/category\\\/shorts\\\/#listItem\",\"position\":2,\"name\":\"Shorts\",\"item\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/category\\\/shorts\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2012\\\/03\\\/05\\\/quick-tip-5\\\/#listItem\",\"name\":\"Disable SharePoint PeopleEditor\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2012\\\/03\\\/05\\\/quick-tip-5\\\/#listItem\",\"position\":3,\"name\":\"Disable SharePoint PeopleEditor\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/category\\\/shorts\\\/#listItem\",\"name\":\"Shorts\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/#person\",\"name\":\"Stu\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2012\\\/03\\\/05\\\/quick-tip-5\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/503cb376bab10c66a6bde71d1514dcab2eab4ec44a2f82ef597ca87af61bf1cd?s=96&d=retro&r=g\",\"width\":96,\"height\":96,\"caption\":\"Stu\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/author\\\/admin\\\/\",\"name\":\"Stu\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2012\\\/03\\\/05\\\/quick-tip-5\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/503cb376bab10c66a6bde71d1514dcab2eab4ec44a2f82ef597ca87af61bf1cd?s=96&d=retro&r=g\",\"width\":96,\"height\":96,\"caption\":\"Stu\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2012\\\/03\\\/05\\\/quick-tip-5\\\/#webpage\",\"url\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2012\\\/03\\\/05\\\/quick-tip-5\\\/\",\"name\":\"Quick Tip #5 - Disable SharePoint PeopleEditor | Stuart Roberts on all things SharePoint\",\"description\":\"Disable SharePoint PeopleEditor control quick tip\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2012\\\/03\\\/05\\\/quick-tip-5\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2012-03-05T19:21:55+00:00\",\"dateModified\":\"2012-06-20T00:40:01+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/#website\",\"url\":\"https:\\\/\\\/www.stuartroberts.net\\\/\",\"name\":\"Stuart Roberts on all things SharePoint\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.stuartroberts.net\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Quick Tip #5 - Disable SharePoint PeopleEditor | Stuart Roberts on all things SharePoint","description":"Disable SharePoint PeopleEditor control quick tip","canonical_url":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/","robots":"max-image-preview:large","keywords":"sharepoint,sps,sp,tip,tips,quick tip,quick tips,disable peopleeditor,shorts","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/#article","name":"Quick Tip #5 - Disable SharePoint PeopleEditor | Stuart Roberts on all things SharePoint","headline":"Disable SharePoint PeopleEditor","author":{"@id":"https:\/\/www.stuartroberts.net\/index.php\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.stuartroberts.net\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/503cb376bab10c66a6bde71d1514dcab2eab4ec44a2f82ef597ca87af61bf1cd?s=96&d=retro&r=g","width":96,"height":96,"caption":"Stu"},"datePublished":"2012-03-05T19:21:55+00:00","dateModified":"2012-06-20T00:40:01+01:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/#webpage"},"isPartOf":{"@id":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/#webpage"},"articleSection":"Shorts, SharePoint, SharePoint Short"},{"@type":"BreadcrumbList","@id":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.stuartroberts.net\/#listItem","position":1,"name":"Home","item":"https:\/\/www.stuartroberts.net\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.stuartroberts.net\/index.php\/category\/shorts\/#listItem","name":"Shorts"}},{"@type":"ListItem","@id":"https:\/\/www.stuartroberts.net\/index.php\/category\/shorts\/#listItem","position":2,"name":"Shorts","item":"https:\/\/www.stuartroberts.net\/index.php\/category\/shorts\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/#listItem","name":"Disable SharePoint PeopleEditor"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.stuartroberts.net\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/#listItem","position":3,"name":"Disable SharePoint PeopleEditor","previousItem":{"@type":"ListItem","@id":"https:\/\/www.stuartroberts.net\/index.php\/category\/shorts\/#listItem","name":"Shorts"}}]},{"@type":"Person","@id":"https:\/\/www.stuartroberts.net\/#person","name":"Stu","image":{"@type":"ImageObject","@id":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/503cb376bab10c66a6bde71d1514dcab2eab4ec44a2f82ef597ca87af61bf1cd?s=96&d=retro&r=g","width":96,"height":96,"caption":"Stu"}},{"@type":"Person","@id":"https:\/\/www.stuartroberts.net\/index.php\/author\/admin\/#author","url":"https:\/\/www.stuartroberts.net\/index.php\/author\/admin\/","name":"Stu","image":{"@type":"ImageObject","@id":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/503cb376bab10c66a6bde71d1514dcab2eab4ec44a2f82ef597ca87af61bf1cd?s=96&d=retro&r=g","width":96,"height":96,"caption":"Stu"}},{"@type":"WebPage","@id":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/#webpage","url":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/","name":"Quick Tip #5 - Disable SharePoint PeopleEditor | Stuart Roberts on all things SharePoint","description":"Disable SharePoint PeopleEditor control quick tip","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/www.stuartroberts.net\/#website"},"breadcrumb":{"@id":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/#breadcrumblist"},"author":{"@id":"https:\/\/www.stuartroberts.net\/index.php\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.stuartroberts.net\/index.php\/author\/admin\/#author"},"datePublished":"2012-03-05T19:21:55+00:00","dateModified":"2012-06-20T00:40:01+01:00"},{"@type":"WebSite","@id":"https:\/\/www.stuartroberts.net\/#website","url":"https:\/\/www.stuartroberts.net\/","name":"Stuart Roberts on all things SharePoint","inLanguage":"en-GB","publisher":{"@id":"https:\/\/www.stuartroberts.net\/#person"}}]},"og:locale":"en_GB","og:site_name":"Stuart Roberts on all things SharePoint |","og:type":"article","og:title":"Quick Tip #5 - Disable SharePoint PeopleEditor | Stuart Roberts on all things SharePoint","og:description":"Disable SharePoint PeopleEditor control quick tip","og:url":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/","article:published_time":"2012-03-05T19:21:55+00:00","article:modified_time":"2012-06-19T23:40:01+00:00","twitter:card":"summary","twitter:site":"@SharePointStu","twitter:title":"Quick Tip #5 - Disable SharePoint PeopleEditor | Stuart Roberts on all things SharePoint","twitter:description":"Disable SharePoint PeopleEditor control quick tip","twitter:creator":"@SharePointStu"},"aioseo_meta_data":{"post_id":"900","title":"Quick Tip #5 - Disable SharePoint PeopleEditor | #site_title","description":"Disable SharePoint PeopleEditor control quick tip","keywords":[{"label":"SharePoint","value":"SharePoint"},{"label":"SPS","value":"SPS"},{"label":"SP","value":"SP"},{"label":"tip","value":"tip"},{"label":"tips","value":"tips"},{"label":"quick tip","value":"quick tip"},{"label":"quick tips","value":"quick tips"},{"label":"disable PeopleEditor","value":"disable PeopleEditor"}],"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-08-03 13:50:56","updated":"2026-10-16 15:53:09","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.stuartroberts.net\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.stuartroberts.net\/index.php\/category\/shorts\/\" title=\"Shorts\">Shorts<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tDisable SharePoint PeopleEditor\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.stuartroberts.net\/"},{"label":"Shorts","link":"https:\/\/www.stuartroberts.net\/index.php\/category\/shorts\/"},{"label":"Disable SharePoint PeopleEditor","link":"https:\/\/www.stuartroberts.net\/index.php\/2012\/03\/05\/quick-tip-5\/"}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts\/900","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/comments?post=900"}],"version-history":[{"count":14,"href":"https:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts\/900\/revisions"}],"predecessor-version":[{"id":1051,"href":"https:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts\/900\/revisions\/1051"}],"wp:attachment":[{"href":"https:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/media?parent=900"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/categories?post=900"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/tags?post=900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}