Inside Activate
...
Other
How to setup an ex attribute to directly reference HR connector data
3 min
how to setup an "ex" attribute to reference hr connector data a customer may require information that is stored in an hr connector to be referenced on a webform or in an email notification normally you would have the external data stored on an ad attribute or in a "ex" extended attribute, which would be updated by the create and update user tasks however due to the nature of the data it may not be necessary (or appropriate) for it to be stored directly on the user object it is however possible to reference the data directly off the hr connector instead prerequisites the hr user connector must contain the user object guid in the schema this is used to link the ad object with the relevant row in the connector the connector schema must contain the following column \<column name="objectguid" type="uniqueidentifier" default="null" noimport="1" /> steps once the prerequisites have been met, the extended attribute can be setup by following the below steps navigate to \\\resources\activedirectory open the customschema parameter add the following xml to the schema \<property name="exconnectordata" extended="innovation activate library\innovation activate properties connectorproperty"> \<connector>=//resources/connectors/user\</connector> \</property> update the name if a different name is required update the "connector" node with the path to the user connector save and exit the custom schema restart the activate administrator, activate job service, and do an iisreset once the setup has been completed, you can now use the following expression to reference the data =//currentuser/exconnectordata/\<columnname> e g =//currentuser/exconnectordata/terminationdate