{"id":1268,"date":"2011-01-21T09:59:57","date_gmt":"2011-01-21T09:59:57","guid":{"rendered":"https:\/\/www.wapshere.com\/missmiis\/?p=1268"},"modified":"2011-01-21T14:05:12","modified_gmt":"2011-01-21T14:05:12","slug":"modifying-the-fim-portal-schema-from-a-csv","status":"publish","type":"post","link":"https:\/\/www.wapshere.com\/missmiis\/modifying-the-fim-portal-schema-from-a-csv","title":{"rendered":"Modifying the FIM Portal Schema from a CSV"},"content":{"rendered":"<p>I recently had a lot\u00c2\u00a0of attributes to add to the FIM Portal. In an effort to meet a demonstration deadline I broke the normal rules of play and added them simultaneously to the Dev and Prod Portals. I still don&#8217;t understand why, but the next day when I came back <a href=\"http:\/\/social.technet.microsoft.com\/Forums\/en-US\/ilm2\/thread\/9ca80dfe-4eed-4863-ae96-19fb2f961fae\">both portals were broken<\/a>. I was adding attributes through the GUI so really there shouldn&#8217;t have been any problems. The only unusual thing I could think of was I hadn&#8217;t completed binding all the attributes &#8211; though why this should break things I don&#8217;t know.<!--more--><\/p>\n<p>Some time ago I had started working on a script to replicate schema changes from the Sync Metaverse to the Portal. I abandonned the script because I found I had to export the portal schema so many times that the process was too slow. But after this experience I decided to dig it out again and see if I could modify it to work from a CSV file.<\/p>\n<p>I&#8217;m pleased to report that the script worked very well. I added 24 attributes, and then the 24 bindings, and a couple of days later everything is still fine.<\/p>\n<p>I&#8217;ve uploaded the script to the FIM Scriptbox and you can get it <a href=\"http:\/\/social.technet.microsoft.com\/wiki\/contents\/articles\/how-to-use-powershell-to-import-schema-objects-from-a-csv-file.aspx\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently had a lot\u00c2\u00a0of attributes to add to the FIM Portal. In an effort to meet a demonstration deadline I broke the normal rules of play and added them simultaneously to the Dev and Prod Portals. I still don&#8217;t understand why, but the next day when I came back both portals were broken. I&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[42,23],"tags":[],"class_list":["post-1268","post","type-post","status-publish","format-standard","hentry","category-fim-2010","category-powershell"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pkp1o-ks","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/1268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/comments?post=1268"}],"version-history":[{"count":6,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/1268\/revisions"}],"predecessor-version":[{"id":1283,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/1268\/revisions\/1283"}],"wp:attachment":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/media?parent=1268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/categories?post=1268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/tags?post=1268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}