XrmToolBox icon indicating copy to clipboard operation
XrmToolBox copied to clipboard

Is the Import/Export N:N Relationship Tool Compatible w/ CRM Online 2015?

Open retsik opened this issue 11 years ago • 14 comments

I haven't had the ability to test it in 2013, but I'm able to load the metadata, identify my assets and the input file (two values separated by ;). When I click the Import NN Relationships button, a small yellow pops up for about a quarter of a second and disappears. No entry is made on the log window and no data appears to have been imported.

I've tried switching the entities around, a single row input file, but the results are the same.

Additionally, when I select the Export N:N button, I get the file dialog, but no file is ever saved.

retsik avatar Aug 07 '15 00:08 retsik

The tool has been changed to use comma instead of semicolon as the separator. Can you test again with this separator?

MscrmTools avatar Aug 07 '15 12:08 MscrmTools

No change... :-(

Here's some sample records from my import file:

DH0021576LT,1049700000-6756201000-6372005 DH0021578LT,1047100000-6727101000-6372005

The first value is the unique key for my custom Asset entity, and the second is the unique key for my custom Account Code entity.

Here's a snapshot of my tool settings:

image

retsik avatar Aug 07 '15 13:08 retsik

I'm having this same issue. The N:N import tool doesn't appear to do...anything. I am trying to use it with CRM 2011 on-premise.

lykebank avatar Aug 07 '15 16:08 lykebank

Same issue with 2015 On Prem and version of toolbox 2015.7.31

gabeworden avatar Aug 07 '15 18:08 gabeworden

I'm getting ready to port data from an old MS Access system into a new CRMOL 2015 solution. I've managed to develop the necessary extracts and CRM imports, with the exception of the one N:N relationship. Unless I can get the N:N import tool working soon, I guess my only option will be to develop a junction entity and modify the associated forms.

retsik avatar Aug 07 '15 21:08 retsik

Sorry but I'm in vacation and I'm not able to fix this problem until I'm back in two weeks. If someone who forked the project can fix it, I should be able to merge the fix

MscrmTools avatar Aug 10 '15 07:08 MscrmTools

Guys, we need to setup automatic builds for XTB just for cases like this, so we can fire development builds without @MscrmTools being so much involved.

I have small fix for the issue. I have found that service instance used in the plugin was never assigned, so I just reused service instance supplied with PluginBase.

@retsik, @lykebank can you build code? Or it's better to provide you binaries for testing?

shytikov avatar Aug 10 '15 08:08 shytikov

@MscrmTools pull request #203 was created.

shytikov avatar Aug 10 '15 09:08 shytikov

Binaries would be better for me, for testing.

lykebank avatar Aug 10 '15 13:08 lykebank

I can't build the code, so the binaries would be great -

retsik avatar Aug 10 '15 13:08 retsik

@retsik, @lykebank can you please check this binary: https://github.com/Cinteros/XrmToolBox/releases/download/issue-198/Javista.XrmToolBox.ImportNN.zip ?

Just extract this file to your Plugins folder. It should overwrite old plugin.

N.B. This is temporary location for the binary, I will remove files as soon as issue will be confirmed fixed and solution will be merged to XTB trunk.

shytikov avatar Aug 10 '15 13:08 shytikov

@shytikov The new .dll works as expected. Thanks for the troubleshooting!

lykebank avatar Aug 10 '15 17:08 lykebank

Working for me as well.  Thanks!! 

-------- Original message -------- From: lykebank [email protected] Date: 08/10/2015 1:18 PM (GMT-05:00) To: MscrmTools/XrmToolBox [email protected] Cc: retsik [email protected] Subject: Re: [XrmToolBox] Is the Import/Export N:N Relationship Tool Compatible w/ CRM Online 2015? (#198)

@shytikov The new .dll works as expected. Thanks for the troubleshooting!

— Reply to this email directly or view it on GitHub.

retsik avatar Aug 10 '15 18:08 retsik

Glad to hear! :100:

shytikov avatar Aug 10 '15 19:08 shytikov