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.

Custom export Scriptmaker

Featured Replies

  • Newbies

Hello,

i'm a newbie and i'm trying to figure out some of the scripts with scriptmaker.

the one i'm interested in right now is export records. I have a button that when pressed, export records.

my question is this. Is there a way to automatically export the fields you want? for instance I want them to be able to export a email.csv file so they can upload it into email management system. the only fields needed for the export are email.

Is there a way to customize this without the user having to delete or add fields with the "specify field order for export" dialog box?

I couldn't find a previous thread on this issue. If I've missed it please forward me that thread.

Thanks for your help

Stephen

Try the Restore option in the Export Records[] script step.

  • Author
  • Newbies

I believe it does.

right now the script says this.

perform find [restore, replace found set]

export records [restore]

still reading the manuel so i'm not sure what restore means or repleace found set. It is exporting correctly but what i'm trying to do is bypass the dialog box that says "specify field order for export". the people that will be using might be confused at this dialog box. I want to see if there is a way export the data as you want it through code.

ex.

when they click the button to export. the only dialog box I want them to see is where to save it and name the file. I don't want them to have to choose which fields they want in the csv file. I want to customize the csv file to only have emails. Is this possible?

Sorry--in FM6, there's also an option to 'Perform without Dialog'. You'll need to select that as well.

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.