0 votes

Hello,

is there a chance to "pre" populate address fields based on department.
So for example if I have a list of departments where the user can choose from, based on the department he had chosen, the address fields should be automatically filled in.

And yes I know there's away to do that be using patterns, custom commands and business rules but thats not what I want to do.

Background:
The user should have a chance to see the address which is linked to the department and in case he's a home office worker, he should be able to change the address to his own.

Thanks in advance
Ingemar

by (960 points)

1 Answer

0 votes
by (216k points)

Hello,

We have a similar request in our TODO list, but currently this is impossible. However, you can use a workaround. You can create two separate Home Page Actions with customized forms. One of the Home Page Actions will allow users to specify their address, and the other one will not contain the field to specify an address. Then, you can create a Business Rule that will automatically set an address for a user based on the user's department, but only if address if not specified. To implement such a solution:

  1. Create Home Page Actions with customized forms. For information on how to accomplish the task, see the Configure Home Page Actions Tutorial.

    • For information on how to configure such Home Page Actions for creating new users, see the Create New Object section. For information on how to configure such Home Page Actions for modifying users, see the Modify Object section.
    • On the 4th step of each section you will find information on how to customize the form used for the Home Page Action and add/remove the fields you need. For the Home Page Action that is used for in-house workers, you will need to remove the Street Address field and other fields that you may use to specify the address (State/Province**Zip/Postal Code** etc).
  2. Create a Business Rule to set address automatically. For information on how to create a Business Rule that will set the user's address automatically based on department, see the Automatically Set Users' Address Based on Their Office Tutorial that describes a very similar task. Use it as a guide. In the Create a Custom Command to Update User Addresses section of the Tutorial you will find information on how to create a Custom Command that updates user addresses, and in the final section of the Tutorial you will find information on how to execute the Custom Command on user creation and modification. To update user addresses based on their department:

    • On the 5th step of the Create a Custom Command to Update User Addresses Section, select the Department property and specify the department name you need.

    • After performing the 5th step, you need to add one more condition to check if the address is empty. To do this:

      • Right-click the action/condition set.
      • Select Add Condition in the context menu.
      • Select the If <property><relation><value> condition type.
      • In the Condition Parameters section, specify *Street Address* is empty and click OK**.

Related questions

0 votes
1 answer

Is it possible to create a business unit and have it auto populate with group owners in a specific OU. I've tried a few scripts to get propertie adm-managedbylist but none have worked so far.

asked 5 days ago by C27 (20 points)
0 votes
1 answer

The Advanced Search in the Domain Find(CTRL-F3) function allows you to select a custom Active Directory field(added by IT, not a windows default AD field). When you ... helpful to have a Contains, Does not Contain logical operator in the Find function. Thanks!

asked Oct 11, 2012 by mpaul (360 points)
0 votes
1 answer

Hello, I think I might have found a regression. Starting 2014.1 it is impossible to change the reply address for a user having an Exchange 2003 mailbox. The button "Set ... related to my authorizations; I did test various configuration (admin, ...). Regards,

asked May 2, 2014 by Pierre (750 points)
0 votes
1 answer

I have people stating they never received the approval notifications. I know how to add multiple approvers to a Send for Approval command, but that sends a email to a second " ... do I send a duplicate email or CC another user on ALL outbound emails? Thanks!

asked Oct 24, 2012 by mpaul (360 points)
0 votes
1 answer

Hi team, I have a business rule which is triggered, after an approval request was updated. Is it possible to read the reason somehow (if entered by the ... possible to run these actions only against specific approval or commands which create approvals?

asked Oct 1 by wintec01 (1.5k points)
3,548 questions
3,239 answers
8,232 comments
547,814 users