0 votes

I have followed the tutorial on how to set an addresses based on the Office field. http://www.adaxes.com/tutorials_Simplif ... Office.htm

The scenario is that for employees I create a "Create Employee Account" Home Page action and use a User Pattern to force certain Office field values. I also remove the address, zip code, City, etc fields from the web form since they are superfluous because we are setting them with a Business Rule based on the Office field. Otherwise people might fill those in even through the Business Rule takes care of that.

The problem is I may have a contractor that we would like to put an office address for but A) I've removed those fields from the web form for my employees and b) I'm using a User Pattern to force drop-down choices which I don't want for the contractor.

I tried creating a new Home Page Action for "Create Contractor Account" but the User Pattern is still used for that action forcing me to choose one of the Offices. I've also tried limiting the Activity Scope for that User Pattern to specific OUs for the employee objects that that doesn't work either.

Is there a way to limit this User Pattern from being enforced to a specific Home Page action for creating a user?

Or if that isn't possible is it possible to conditionally allow the Zip/Postal, Street Address, etc fields to be edited based on the value chosen in the Office dropdown list? E.g only let them be edited if there if a values such as "Contractor" is selected?

by (110 points)

Odd, I must have done something wrong initially because after setting the Activity Scope for the User Property Pattern again to the Employee OUs only the drop-down list now only appears for the Create Employee Account action and doesn't appear for the Create Contractor Account action.

So it's doing exactly what I want now.

Please log in or register to answer this question.

Related questions

0 votes
1 answer

Is it possible to configure a home page action to change the Picture attribute? Currently, if you put the property in a form, a text box is displayed. Is there a way to duplicate the UI of the set photo dropdown?

asked Feb 23, 2015 by polley (1.2k points)
0 votes
1 answer

Due to some of the systems we have, we must limit our logon names to 8 characters. When I set the Value Length to Maximum 8, the result when creating a new account ... get a popup "Invalid Value Length". Is there a way to autopopulate with only 8 characters?

asked Mar 18, 2013 by Kikaida (1.1k points)
0 votes
1 answer

Hello We have the need to create a home page action for creating groups, security and distribution. We would like to see if this script https://www.adaxes.com/script-repositor . ... 3 (whatever is typed) Thank you for taking the time to look at this. Jay

asked Mar 12, 2018 by willy-wally (3.2k points)
0 votes
1 answer

Hi I have a colleague who claims, that objectCategory and/or objectClass should be included in LDAP searches, to reduce load on the domain controller. It sound reasonable, but ... build into the code behind the Home Page Action ? View Group example: - Thanks

asked Jan 4, 2018 by Boxx.dk (2.6k points)
0 votes
1 answer

Hi, I am trying to setup a Home Page action in the Help Desk portal to modify a User account, for this i want to specify the default value of a property to be the ... the user account i am modifying to get the default value? Thanks in advance for any help!

asked Dec 1, 2016 by sam.webster (320 points)
2,993 questions
2,712 answers
203,603 users