<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
		<id>https://www.bxpsoftware.com/wixi/index.php?action=history&amp;feed=atom&amp;title=JavaScript_-_Extending_SAM_Account_Administration</id>
		<title>JavaScript - Extending SAM Account Administration - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.bxpsoftware.com/wixi/index.php?action=history&amp;feed=atom&amp;title=JavaScript_-_Extending_SAM_Account_Administration"/>
		<link rel="alternate" type="text/html" href="https://www.bxpsoftware.com/wixi/index.php?title=JavaScript_-_Extending_SAM_Account_Administration&amp;action=history"/>
		<updated>2026-05-25T13:37:50Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.2</generator>

	<entry>
		<id>https://www.bxpsoftware.com/wixi/index.php?title=JavaScript_-_Extending_SAM_Account_Administration&amp;diff=2885&amp;oldid=prev</id>
		<title>Philip Lacey: Philip Lacey moved page Extending SAM Account Administration to JavaScript - Extending SAM Account Administration</title>
		<link rel="alternate" type="text/html" href="https://www.bxpsoftware.com/wixi/index.php?title=JavaScript_-_Extending_SAM_Account_Administration&amp;diff=2885&amp;oldid=prev"/>
				<updated>2014-12-18T13:45:14Z</updated>
		
		<summary type="html">&lt;p&gt;Philip Lacey moved page &lt;a href=&quot;/wixi/index.php?title=Extending_SAM_Account_Administration&amp;amp;action=view&quot; class=&quot;new&quot; title=&quot;Extending SAM Account Administration (page does not exist)&quot; data-bs-title=&quot;Extending SAM Account Administration&quot; data-bs-is-contentpage=&quot;1&quot;&gt;Extending SAM Account Administration&lt;/a&gt; to &lt;a href=&quot;/wixi/index.php/JavaScript_-_Extending_SAM_Account_Administration&quot; title=&quot;JavaScript - Extending SAM Account Administration&quot; data-bs-title=&quot;JavaScript - Extending SAM Account Administration&quot; data-bs-is-contentpage=&quot;1&quot;&gt;JavaScript - Extending SAM Account Administration&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en-GB'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 13:45, 18 December 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en-GB'&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>Philip Lacey</name></author>	</entry>

	<entry>
		<id>https://www.bxpsoftware.com/wixi/index.php?title=JavaScript_-_Extending_SAM_Account_Administration&amp;diff=2884&amp;oldid=prev</id>
		<title>Philip Lacey: Created page with &quot;= Overview =  Within Business Express (BeX) in the System Access Management module it is possible to add, edit, copy and retire users.  This process provides very strong acces...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.bxpsoftware.com/wixi/index.php?title=JavaScript_-_Extending_SAM_Account_Administration&amp;diff=2884&amp;oldid=prev"/>
				<updated>2014-12-18T13:41:59Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Overview =  Within Business Express (BeX) in the System Access Management module it is possible to add, edit, copy and retire users.  This process provides very strong acces...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Overview =&lt;br /&gt;
&lt;br /&gt;
Within bxp software (bxp) in the System Access Management module it is possible to add, edit, copy and retire users.  This process provides very strong access controls for security and system management.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As every bxp client can have their own custom requirements for the user management process, we have provided a mechanism for extending the user interface to provide further validation and customisation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are three primary interface areas:&lt;br /&gt;
* Request  ''Main Menu &amp;gt; System Access Management &amp;gt; User Setup Requests &amp;gt; Request New User &amp;gt; ''&lt;br /&gt;
* Add  ''Main Menu &amp;gt; System Access Management &amp;gt; User Administration &amp;gt; Add User - Security Details Only &amp;gt; ''&lt;br /&gt;
* Edit ''Main Menu &amp;gt; System Access Management &amp;gt; Edit User - Security Details &amp;gt; Lookup the user &amp;gt; Select the user &amp;gt; ''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The copy function is considered part of the &amp;quot;Add&amp;quot; process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The engine allows custom JavaScript code to be appended directly into the page through&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Main Menu &amp;gt; System Access Management &amp;gt; System Management &amp;gt; System Settings &amp;gt; Security JavaScript &amp;gt; ''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
JavaScript custom to the type of function can be added in the relevant box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use of the &amp;quot;General Security Library&amp;quot; box allows JavaScript common to all three to be added.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Worked Example 1 - Default settings =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may wish to set a number of defaults to speed up entry, or even build these defaults into buttons.  This example creates two buttons at the top of the page and sets some defaults.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Main Menu &amp;gt; System Access Management &amp;gt; System Management &amp;gt; System Settings &amp;gt; Security JavaScript &amp;gt; Add User JavaScript &amp;gt; ''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
function fn_CustomSecurity1(){&lt;br /&gt;
&lt;br /&gt;
	//Setting default values&lt;br /&gt;
	var objStaffId = document.getElementById('strClient_CompanyStaffIdNumber');&lt;br /&gt;
	objStaffId.value = 'XXX123';&lt;br /&gt;
&lt;br /&gt;
	//Turning on modules&lt;br /&gt;
	if (document.getElementById('27')){&lt;br /&gt;
		document.getElementById('27').checked=true;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
	//Turning on functions&lt;br /&gt;
	if (document.getElementById('2710')){&lt;br /&gt;
		document.getElementById('2710').checked=true;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
}&lt;br /&gt;
function fn_CustomSecurity2(){&lt;br /&gt;
	alert('Function 2');&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var objHeader = document.getElementById('lblUser_UserDetails');&lt;br /&gt;
&lt;br /&gt;
objHeader.innerHTML = objHeader.innerHTML + '&amp;lt;br /&amp;gt;';&lt;br /&gt;
objHeader.innerHTML = objHeader.innerHTML + '&amp;lt;input type=&amp;quot;button&amp;quot; name=&amp;quot;btnCustom1&amp;quot; id=&amp;quot;btnCustom1&amp;quot; class=&amp;quot;cssMaster_Button&amp;quot; style=&amp;quot;width:200px;&amp;quot; value=&amp;quot;Custom 1&amp;quot; onclick=&amp;quot;fn_CustomSecurity1();&amp;quot; /&amp;gt;';&lt;br /&gt;
objHeader.innerHTML = objHeader.innerHTML + '&amp;lt;input type=&amp;quot;button&amp;quot; name=&amp;quot;btnCustom2&amp;quot; id=&amp;quot;btnCustom2&amp;quot; class=&amp;quot;cssMaster_Button&amp;quot; style=&amp;quot;width:200px;&amp;quot; value=&amp;quot;Custom 2&amp;quot; onclick=&amp;quot;fn_CustomSecurity2();&amp;quot; /&amp;gt;';&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Worked Example 2 - Reminders =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A very simple reminder when the user logs into the page can be presented&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
alert('Please ensure that the Staff Id is set correctly.');&lt;br /&gt;
&lt;br /&gt;
if (document.getElementById('strClient_CompanyStaffIdNumber')){&lt;br /&gt;
	document.getElementById('strClient_CompanyStaffIdNumber').focus();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Topic:JavaScript]]&lt;br /&gt;
[[Category:Module Specific:System Access Management]]&lt;/div&gt;</summary>
		<author><name>Philip Lacey</name></author>	</entry>

	</feed>