{"id":14,"date":"2007-06-10T23:38:45","date_gmt":"2007-06-10T23:38:45","guid":{"rendered":"https:\/\/www.wapshere.com\/missmiis\/?p=14"},"modified":"2023-01-16T08:32:56","modified_gmt":"2023-01-16T08:32:56","slug":"extensible-mas-are-fab","status":"publish","type":"post","link":"https:\/\/www.wapshere.com\/missmiis\/extensible-mas-are-fab","title":{"rendered":"Extensible MAs are fab!"},"content":{"rendered":"<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt;\"><span style=\"font-family: Times New Roman;\">Like many people I expect, I approached my first Extensible MA (XMA) with some caution. (On my Advanced MIIS course the other participants didn&#8217;t even want to cover the section on Extensible MAs, preferring to see a demo of the, as yet unreleased, password portal.) But once I got one going I was completely taken with the possibilities of XMAs. Basically, if you can script it, you can make an XMA to do it!<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt;\">\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt;\"><span style=\"font-family: Times New Roman;\">An XMA uses MVExtension and MAExtension code, just like any other MA, but additionally you have the CSExtension, where you write your own Import and Export methods. Here you can cater to any weird and wonderful variations not supported by the standard MAs.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt;\">\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt;\"><span style=\"font-family: Times New Roman;\">The first point to note is that the XMA can only import from a text file, so the Import section of your CSExtension code will be about generating a list of objects and attributes from your Connected Data Source (CDS), and sticking it in the Import file. <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt;\">\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt;\"><span style=\"font-family: Times New Roman;\">The Export section is where you get to have some real fun, writing routines that will effect change in the CDS. You can call scripts, run database commands, execute commands on remotes servers, whatever you need to do. <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt;\">\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt;\"><span style=\"font-family: Times New Roman;\">Some of the XMAs I have created do the following:<\/span><\/p>\n<ul style=\"margin-top: 0cm;\" type=\"disc\">\n<li class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; tab-stops: list 36.0pt;\"><span style=\"font-family: Times New Roman;\">Run dsacls commands to set permissions in AD;<\/span><\/li>\n<li class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; tab-stops: list 36.0pt;\"><span style=\"font-family: Times New Roman;\">Create home directories on Netware servers, and then zip them up and archive them when no longer needed;<\/span><\/li>\n<li class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; tab-stops: list 36.0pt;\"><span style=\"font-family: Times New Roman;\">Create, archive and delete personal websites on Apache\/Linux.<\/span><\/li>\n<\/ul>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt;\"><span style=\"font-family: Times New Roman;\">The possibilities really are endless!<\/span><\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Like many people I expect, I approached my first Extensible MA (XMA) with some caution. (On my Advanced MIIS course the other participants didn&#8217;t even want to cover the section on Extensible MAs, preferring to see a demo of the, as yet unreleased, password portal.) But once I got one going I was completely taken&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","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":[34,28],"tags":[],"class_list":["post-14","post","type-post","status-publish","format-standard","hentry","category-ilm2007","category-miis2003"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pkp1o-e","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/14","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=14"}],"version-history":[{"count":3,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/14\/revisions"}],"predecessor-version":[{"id":3357,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/14\/revisions\/3357"}],"wp:attachment":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/media?parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/categories?post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/tags?post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}