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.

get last filename?

Featured Replies

is there a script step or calculation that can be used to get the filename of an imported file (assuming the import is done using a script)?

See my Reply to your other question in Importing & Exporting.

  • Author

Sorry, I just re-read my question and it's ambiguous. What I actually mean here, is if a user browses and selects a file to import, is there any way to get the "result" of this, e.g. so the original file's filename can be stored automatically in a field somewhere?

I'm not sure I'm understanding your question.

Are you using the Script Step "Import Records"

Lee

  • Author

yes. "Import records.." user then selects a file to import, script takes care of the rest.

but... I want to capture the name of the file ("importedfile.doc") and store that in a field (if possible)

Okay, I see what you mean now.

I don't have an answer on this, maybe someone else does. In the mean time, I'll fool around with it and see what I can come up with.

Lee

After playing around with this for awhile, I came up with a cheezy workaround. BTW, I did a search for your keywords, and it didn't turn anything useful up. However, it was very similar, if not identical to to this thread Here that comment pointed to in another Thread just a few minutes ago (also in the Import and Export Topic).

What I came up with was to use the Insert File Script Step and inserted the file (by reference) into a new container field in each record via a loop script, and then capture the file name from the file path from it.

HTH

Lee

Edited by Guest
add some things

  • Author

Very interesting. Thanks, I will experiment with this, but it looks like it will fit my needs perfectly.

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.