Jump to content

Recommended Posts

made solution made scripts to export data and import automatically into customised folder but i dont want the export file to be in that folder i want it to be deleted  through script is it possible if yes someone please guide me to script please

Share this post


Link to post
Share on other sites
Wim Decorte    446

A couple of ways:

- an easy - but unintuitive - FM way is to export an empty field to the same file name; FM will delete the target file

- or use Send Event and use the OS CLI to delete the file

- (if you are already using a plugin with file manipulation functions, then it can be done that way too)

  • Like 1

Share this post


Link to post
Share on other sites
LaRetta    477

You can also use Export Field Contents and skip specifying the field.  There are a few more ways as well, such as exporting 0 records using same path file name.  All similar principle so it's which you like best.  I like Export Field Contents; picked up from Comment, I suspect.

  • Like 2

Share this post


Link to post
Share on other sites
21 hours ago, LaRetta said:

You can also use Export Field Contents and skip specifying the field.  There are a few more ways as well, such as exporting 0 records using same path file name.  All similar principle so it's which you like best.  I like Export Field Contents; picked up from Comment, I suspect.

mind blowing got what i want :beer:

Share this post


Link to post
Share on other sites

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


×

Important Information

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