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.

Server Side write PostXML / write to temp & import

Featured Replies

Ok I have a script that is working fine normally on a hosted solution -

to automate the process i wanted to have fm server do this task in the wee hours of the morning but its not working...

I am using ScriptMaster to perform the tasks.

1. Write out the XSL file to the Temp or Docs

2. Perform an PostXML request from 3rd party URL

3. Write XML data to Temp or Docs folder (server)

4. Import data to FMP using XSL from previous path.

I have to process this in a loop and each of the files normally are several MB in size

however it seems that the PostXML is timing out or the script on server is running too fast and not allowing

the XML data to download and write the file.

I'd suggest placing the post into a try... catch construct, and catch Throwable (since the exception type is unknown). The exception, can then either be logged (preferrably appended) to a file or returned to FM and logged to an event table. I'd also suggest logging the URL, headers, and post content along with the error. Any chance the file is not readable/writeable due to file system/network permissions issues? Does a simple script that opens/closes a file on the same path work without the post when run in FMS?

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.