cancel
Showing results for 
Search instead for 
Did you mean: 

Domain Assignment through SF user connector

susanaaires0
Discoverer
0 Kudos
444

Hello,

Is there any way to automatically assign Domains based on country through the SF user connector?

I have tried copying the country value to the DMN_ID along with a transformation rule but it didn't work. All this did was create new domains with the country value, and assigning them to employees.

This is what I tried to do:

fuser.field.mapping.data.CNTRY=COUNTRY

sfuser.field.mapping.data.DMN_ID=

sfuser.connector.copy.field.mappings=DMN_ID=CNTRY

sfuser.field.transform.data.DMN_ID.CHE=EMEA Population

Thank you for the help.

Accepted Solutions (1)

Accepted Solutions (1)

ChrisStiles
Product and Topic Expert
Product and Topic Expert

Hi

It is difficult to say without seeing your user data (and specifically what you are feed in CNTRY and what you want for domains versus country), but I think you want to make this change:

sfuser.field.transform.data.DMN_ID.EMEA\ Population=CHE

This should give a user the country ID "CHE" but put them in a domain ID "EMEA Population".

susanaaires0
Discoverer
0 Kudos

Hello Chris,

Thanks a lot for your input.

We are feeding the Country field in the UDF into CNTRY in LMS.

I have made this change 🙂 I will report back tomorrow.

Many thanks once again!

susanaaires0
Discoverer
0 Kudos

Hello, I have tried this and it works! The only thing is it creates extra Domains with the country's code but that's because of the mapping , I guess. 🙂

Many thanks once again.

ChrisStiles
Product and Topic Expert
Product and Topic Expert
0 Kudos

You need to write transformations for every possibly country code, otherwise, yes, a domain will be created that matches the country code. Once everyon is falling into the correct (what appears to be) regional domains, you can go back and delete the country-code domains.

Answers (0)