<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://ab.edge-technologies.com/docs/index.php?action=history&amp;feed=atom&amp;title=Appboard%2F2.6%2Fadmin%2Fprovisioning%2Fbatch_loading</id>
	<title>Appboard/2.6/admin/provisioning/batch loading - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://ab.edge-technologies.com/docs/index.php?action=history&amp;feed=atom&amp;title=Appboard%2F2.6%2Fadmin%2Fprovisioning%2Fbatch_loading"/>
	<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/admin/provisioning/batch_loading&amp;action=history"/>
	<updated>2026-05-21T10:07:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/admin/provisioning/batch_loading&amp;diff=8328&amp;oldid=prev</id>
		<title>imported&gt;Jason.nicholls: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/admin/provisioning/batch_loading&amp;diff=8328&amp;oldid=prev"/>
		<updated>2015-04-30T10:59:32Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:59, 30 April 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>imported&gt;Jason.nicholls</name></author>
	</entry>
	<entry>
		<id>http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/admin/provisioning/batch_loading&amp;diff=8327&amp;oldid=prev</id>
		<title>imported&gt;Jason.nicholls at 15:21, 16 July 2014</title>
		<link rel="alternate" type="text/html" href="http://ab.edge-technologies.com/docs/index.php?title=Appboard/2.6/admin/provisioning/batch_loading&amp;diff=8327&amp;oldid=prev"/>
		<updated>2014-07-16T15:21:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:Batch Loading via XML}}&lt;br /&gt;
[[Category:AppBoard 2.6]]&lt;br /&gt;
__TOC__&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
Rather than managing users through the AppBoard administration interface, or via LDAP-based authentication integration, it&amp;#039;s also possible to batch load domains, users, roles, and role assignment via XML files.&lt;br /&gt;
&lt;br /&gt;
This document covers the XML format and process to load the file. For a general overview and links to manage users via the AppBoard administration interface, refer to the main [[appboard/2.6/admin/provisioning|Provisioning]] documentation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Warning|Using batch loading via XML files is considered a customization of AppBoard and not directly supported under the standard product maintenance contract. It is recommended this type of solution be implemented as part of a &lt;br /&gt;
consulting engagement to ensure that it is configured and implemented correctly.   }}&lt;br /&gt;
&lt;br /&gt;
== XML Format ==&lt;br /&gt;
&lt;br /&gt;
The XML file format is defined by the AccountDefinitions document type definition (DTD). This can be found at &amp;lt;tt&amp;gt;[INSTALL_HOME]/server/webapps/enportal/WEB-INF/xmlroot/server/dtds&amp;lt;/tt&amp;gt;. Refer to this document for a complete reference, as below is a simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[xml,N]&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE AccountDefinitions SYSTEM &amp;quot;../dtds/AccountDefinitions.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;AccountDefinitions&amp;gt;&lt;br /&gt;
	&amp;lt;Role name=&amp;quot;testing&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;Role name=&amp;quot;training&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;Domain name=&amp;quot;EdgeFairfax&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;User userID=&amp;quot;jsmith&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;RoleLink roleID=&amp;quot;/testing&amp;quot;/&amp;gt;&lt;br /&gt;
			&amp;lt;RoleLink roleID=&amp;quot;/training&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/User&amp;gt;&lt;br /&gt;
		&amp;lt;User userID=&amp;quot;emustermann&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;RoleLink roleID=&amp;quot;/training&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/User&amp;gt;&lt;br /&gt;
	&amp;lt;/Domain&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;Domain name=&amp;quot;EdgeAustralia&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;User userID=&amp;quot;jbloggs&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;RoleLink roleID=&amp;quot;/testing&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;/User&amp;gt;&lt;br /&gt;
	&amp;lt;/Domain&amp;gt;&lt;br /&gt;
&amp;lt;/AccountDefinitions&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When loaded, the above example will:&lt;br /&gt;
&lt;br /&gt;
* create 2 roles: &amp;#039;&amp;#039;testing&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;training&amp;#039;&amp;#039;&lt;br /&gt;
* create 2 domains: &lt;br /&gt;
** &amp;#039;&amp;#039;EdgeFairfax&amp;#039;&amp;#039; with users &amp;#039;&amp;#039;jsmith&amp;#039;&amp;#039; and &amp;#039;&amp;#039;emustermann&amp;#039;&amp;#039;&lt;br /&gt;
** &amp;#039;&amp;#039;EdgeAustralia&amp;#039;&amp;#039; with user &amp;#039;&amp;#039;jbloggs&amp;#039;&amp;#039;&lt;br /&gt;
* assign roles to those users:&lt;br /&gt;
** jsmith: &amp;#039;&amp;#039;testing&amp;#039;&amp;#039; and &amp;#039;&amp;#039;training&amp;#039;&amp;#039;&lt;br /&gt;
** emustermann: &amp;#039;&amp;#039;training&amp;#039;&amp;#039;&lt;br /&gt;
** jbloggs: &amp;#039;&amp;#039;testing&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Loading the XML ==&lt;br /&gt;
&lt;br /&gt;
The AppBoard server must be told to process the XML file. This is done by creating a list of files to process and either restarting the server or using the administration interface to trigger a load.&lt;br /&gt;
&lt;br /&gt;
# Create an XML file with the appropriate user, domain, and role definitions as outlined above. This file needs to be placed onto the AppBoard server into the following directory: &amp;lt;tt&amp;gt;[INSTALL_HOME]/server/webapps/enportal/WEB-INF/xmlroot/server/provisioning/&amp;#039;&amp;#039;yourfile.xml&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; (&amp;#039;&amp;#039;yourfile.xml&amp;#039;&amp;#039; can be anything as long as it ends with &amp;lt;tt&amp;gt;.xml&amp;lt;/tt&amp;gt;).&lt;br /&gt;
# Creating a load list:&lt;br /&gt;
## This is a simple text file with one line per XML file to be loaded.&lt;br /&gt;
## The file path is relative to the server xmlroot, so for the example above it should contain a single line with the following: &amp;lt;tt&amp;gt;provisioning/&amp;#039;&amp;#039;yourfile.xml&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt;&lt;br /&gt;
## Save this file as &amp;lt;tt&amp;gt;load_provisoning.txt&amp;lt;/tt&amp;gt; and place onto the AppBoard server into the following directory: &amp;lt;tt&amp;gt;[INSTALL_HOME]/server/webapps/enportal/WEB-INF/xmlroot/server&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Triggering a load:&lt;br /&gt;
#* Either restart the AppBoard server or&lt;br /&gt;
#* Via the administration interface and manually triggering an XML Import:&lt;br /&gt;
#*# Log into AppBoard as an administrator&lt;br /&gt;
#*# switch to the enPortal interface.&lt;br /&gt;
#*# Browse to &amp;#039;&amp;#039;Advanced -&amp;gt; Utilities -&amp;gt; XMLImport&amp;#039;&amp;#039;.&lt;br /&gt;
#*# Click the &amp;#039;&amp;#039;Start&amp;#039;&amp;#039; button.&lt;br /&gt;
&lt;br /&gt;
After a successful load the changes should be visible in the administration interface for users, domains, and roles. The &amp;lt;tt&amp;gt;load_provisioning.txt&amp;lt;/tt&amp;gt; file on the AppBoard server will be renamed so that this operation is not performed again on restart.&lt;br /&gt;
&lt;br /&gt;
{{Note|Batch loading via XML is an additive operation. i.e. it can only be used to &amp;#039;&amp;#039;&amp;#039;add&amp;#039;&amp;#039;&amp;#039; users, domains, roles, and role assignments, not remove them.}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Jason.nicholls</name></author>
	</entry>
</feed>