Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

XML/XSLT import problem

Featured Replies

Hi,

 

 I can't work out how to modify the attached stylesheet so that it works correctly with the attached XML source file.  Would someone be kind enough to help me correct it?

clients2.xml

XSL_adresses_import stylesheet.xml

What exactly is the problem with the stylesheet? Seems to be working fine.

  • Author

Well I get the attached error message at the end of the import process and I can't figure out where the errors are.  The message says :

 

Total records added / updated: 105

Total records skipped due to errors: 105

post-60113-0-10182100-1401166923_thumb.j

I can't reproduce your issue. The only thing that could pose a problem is the extension of the stylesheet - should really be .xsl rather than .xml. But that would only be a problem if you're trying to select the stylesheet manually. Doesn't seem like that is the case here.

 

Do you have any validations in the target table fields that would prevent the creation of new records (e.g. due to duplicate values)?

  • Author

I changed the extension from .xsl to .xml only because the fmforums site doesn't accept .xsl uploads. I have been using the .xsl version locally.  And no there are no validations in the target tables that would impede the creation of new records.

It seems the error coming at record levels. Can you please record the Error code while execute the - "Import Records" script step. From that error code we can refer the FM error list to catch what the problem is.

 

 

Thanks,

Manjit

  • Author

Hmmm.  Thanks for that but doesn't appear to be much help.  Error code is "729" which means "Errors occurred during import; records could not be imported" which we already knew.

Is this scripted? If yes, can you print the script and post it here? Also, can you reproduce the error in a new file?

 

FWIW, the only way I can reproduce your error is by adding a unique validation to one of the target fields. Perhaps you should recheck your answer to that.

If you have trouble attaching a file, you can always zip them.

 

I changed the extension from .xsl to .xml only because the fmforums site doesn't accept .xsl uploads. I have been using the .xsl version locally.  And no there are no validations in the target tables that would impede the creation of new records.

  • Author

Yes, well I worked out that it was definitely a problem with the file into which I was trying to import as I made a new file and it worked like a charm.  I still don't know why the old file was creating errors with the import, but I have found a workaround and it's OK.  Thanks to all for all the help.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.