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.

Export Fine - Delete Doc How

Featured Replies

Hello all:

I know this is probably a simple answer but I am using the "Export Field Contents" script and that all works fine. I export a document to the desktop and all is well. But how do I delete the document on the desktop after I export it there? Do I need a plugin or can I do this natively?

DJ

It depends on why you are exporting the document.

Exporting a zero found set with the same name will delete the doc on the desktop, but that may be disconcerting to a user. They can just trash it when they are done.

You could export to the Get (TemporaryPath) so that the user never sees the doc.

  • Author

Barbara:

I am storing a link to the document. When the user needs to modify it I want to save the old copy in an Archive table but I want to save the whole document in the archive so I'm exporting to the desktop and then I want to delete it after storing it in the Archive table.

DJ

So, you're exporting and then importing into a different table? But as a reference ("link to document")? I'm really not following the workflow, and if you are only doing references, there is no Export Field Contents, that's for embedded docs.

You'd need two documents with unique names, each separately referenced: version 1 and version 2.

  • Author

I have a field where I'm storing a link to the file. When I export the filed contents to the desktop I am getting the file (not the link) on the desktop. I then create a new record in my Archive table and use insert file from the file I just exported to the desktop and save it in my Archive table. I then used your suggestion of exporting field contents with a NO FOUND SET and it deletes the file so I'm good.

Thank you. I did not know you could issue the command export field contents without a found set and have it delete the file.

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.