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

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Who Viewed the Topic

    1 member has viewed this topic:
    Nico Kobes 
×
×
  • Create New...

Important Information

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