11/25/2024 9:23:36 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss general SalesLogix import and data migration topics. View the code of conduct for posting guidelines.
|
|
|
|
7.2 Import Wizard - using cross reference files
Posted: 30 Aug 07 9:32 PM
|
OK - another strange area for me. The documentation is not exactly bountiful either! Maybe I'm just having an off day, but I can't get this to work - even though it looks very promising while I am working through the wizard.
In my source data, I have usernames (Bob The Builder, John Smith, Geoff Hurst and all the old favourites).
What I want to do as part of the import is retrieve the associated UserID and populate Account.AccountManagerID with it.
So I created a Cross Reference file, created a 'UserIDFromUsername' cross reference (of type 'Users').
Then in my field mapping to Account.AccountManagerID, I created an XReference, using the source AccountManager field (which is actually username, as mentioned above).
Resulting value is
XReference(ACCOUNTMANAGER, UserIDFromUsername)
Proceeding through the wizard, I am presented with a screen asking me to map 'Import Users' to 'SalesLogix Users', which I complete (and Save).
Everything is looking very promising - but when I do the import, the mappings have not worked at all - none of them. The AccountManagerID is blank (I did not set a default user during the import).
To add insult to injury, even though I have saved the mappings, the next time I run the import they have disappeared and I have to do them again. 'Load User Mapping' seems to do precisely nothing.
I obviously have some conceptual problems here, because I am sure that this stuff must work if you know how to use it. Can anyone suggest where I might be going wrong??
Thanks.
|
|
|
|
Re: 7.2 Import Wizard - using cross reference files
Posted: 31 Aug 07 3:08 AM
|
Hi Phil, I think you are overcomplicating it - just drop your field from your source table onto account.accountmanagerid. Then, everything will work fine - you will still get the abilty to xref the users from the source (Bob Smith to Robert Smith of example). And you can save that mapping (which, as you say, you reload via the Load User Mapping).
But, afaics, you've no need to do this via code/script. |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|