Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

XML importing trouble


This topic is 7016 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi, ciklopo, and welcome to FM Forums. Can you post some examples of files that go quickly and files that take forever? The problem may be in the data itself, rather than in FM.

Jerry

Posted

Jerry, Thanks for reply. The problem is that the behaivor is related to the same file. For example in the ScriptMaker Script:

Set Error Capture[On]

Set Field ["Aux01" , "http://www.someserver.com/document.xml"]

Import Records ["Restore" , "No Dialog", "Aux01"]

if [status(CurrentError) ≠ 0 ]

....Some Steps if error

else

....Some Steps if true

end if

What's wrong?

:?

Posted

And you've isolated the time drag to the import step? If not, i would make sure the import is the issue by putting a halt script right after the import and seeing if you still get the long wait.

If the import is definitely the problem, can you rule out web latency as the culprit? Maybe the server you're connecting to is busier at certain times than at others. If you can, try to download the file onto your local machine and give it a few test runs. If the delay persists even when importing locally, i'd have to call that very weird. In my limited experience, if you have improperly formed XML you can't do an import at all, much less do several imports of different lengths.

J

  • 9 months later...

This topic is 7016 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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