Skip 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.

Export each record to seperate xml files

Featured Replies

  • Newbies

I am not even sure if this is possible

(a: being a novice, b:being new to 8)

but I figured since I can get it to do this as script for a current record - there should be a way to loop and get all of them exported at once

I figured out how to do the current record with a script with lots of help from various posts here in the forum

xmlexport.png

now i am trying to put this function into a loop to export all records - and I cannot get my head around setting the script up

-it loops but the variables stay the same

any help is greatly appreciated

and just a ponder of mine, but why, when they did fm8 didn't they include a simple "export current record" option like they did with the pdf export?

There is a contradiction here. If you want to export all the records, then don't do the Show All, Omit, Show Omitted steps. XML Export will wrap each record within its ROW elements. Your XSL should be written to deal with that; it's the normal situation. If you only want the "yes" people, then do a Find for them first; no need to do a loop.

Well, he said (in the thread topic) he wants a separate file for each record.

I think the simplest way to do this would be to find the eligible records first, then loop between them. In each cycle of the loop, open a new window, isolate the current record, export and close the window.

Oops. Maybe so.

  • Author
  • Newbies

[color:black]Thanks for the window idea - but I ran into a snag with that since I have records that are not ready to be exported - I am sure that you could find a way around that but I am lucky to beable to find my coffee cup this morning.

so this is what i came up with

xmlexport2.png

I am sure that someone can come up with a cleaner way to do this but it works

again thanks for the help

p

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.