Best practice suggests keeping common changes, such as deriving a fullname from the first and last name, in the user form. The resource form should contain resource-specific changes, such as disabling the user when their HR status changes. However, you can alternatively place it in an included form after the desired attributes are placed in a common path, such as incoming.
<Form> <Field name=’incoming.lastname’> <ref>activeSync.lastname</ref> </Field> <Field name=’incoming.firstname’> <ref>activeSync.firstname</ref> </Field> </Form> |
Subsequently, in the common form, reference incoming.xxx for the common logic:
<Form> <Field name=’fullname’> <concat> <ref>incoming.firstname</ref> <s> </s> <ref>incoming.lastname</ref> </concat> </Field> </Form> |