This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Access Foreign Key Value from inside Mapping Editor script

Hello,

 

Can anybody tell me how I can access foreign key properties from inside mapping editor inside database connector (scripting c#)?

  

Please see screen.

 

I have access to $UID_Department$ and now I would like to create the object to get the CustomProperty09 from it.

I already tried three different things (see first two commented out from screen) and also like this:

$FK(UID_Department).CustomProperty09$

Every time I get a different error message.

Can anybody provide me an answer for this?

 

  •  

    I am on the Person Table.

  • You do not need a script property to access values from foreign key references. Just a virtual property of type "Key resolution by reference".

    See the following post as well: https://www.quest.com/community/products/one-identity/f/identity-manager/21772/importing-references-in-one-identity

    There also posts that talk about scripted property like this one here https://www.quest.com/community/products/one-identity/f/identity-manager/21101/synch-mapping-fk-relation-adsaccount-ex0mailbox/58733#58733