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

Unique Path/Filename when exporting

Featured Replies

I've read the Forums and found bits and pieces of what I need but it's just not clear to me.

I have three calculation fields, foldername, path and content.

foldername = "[color:red]unique"

path = "filemac:/Servername/[color:red]unique/filename.txt"

content = "text information about whatever"

What I would like my script to do is to loop through a found set and export the "content" field to the path provided by the "path" field.

Can it be done without a plug-in?

The usual method is to Set a $ variable as the path (using your calculation) and then in the export script step you can specify the $ variable as the path name.

  • Author

Thanks Slim, but I guess I was a bit vague. I believe I have it in theory but what I lack is practice. If you or someone could point me to some reference or to an example, that is what I could really use.

I have constructed an absolutely minimal example. no data, but including a script. I am not able to test this as I don't have a Mac but I can see no reson why it shouldn't work.

export.zip

  • Author

Slim, you're the man! That did it!

I was close but so far away.

my $path was too complicated and did not look at all like this:

"filemac:/Servername/" & export::foldername & "/" & export::filename & ".txt"

(I should post mine in how Not to do things)

Thank you very much, I'd been hitting my head against the keyboard for too long (all those hours of wasted code).

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.