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.

Content of FIELD = the Exported FileName...

Featured Replies

Hi All!

Situation:

I have a web database that I have prgramed to create all HTML & JavaScript Coding. This database is currently setup for the USER to select the "Database", Select the "Layout", then select the "Field(s)" they want to make available on the web.

Once they have done that, they hit a button that say's "Send to WEB" and BAM! it's a done deal.

Problem:

I had to hard code the names of the Layout Names in a script that will export the field with all of the WEB language in it.

It's not that bad, but I would like to make it more dynamic by taking the "Selected Layout" and using THAT as the file name of the exported file.

I haven't found a way to do this... Can anyone offer up any suggestions? Heck I'll even try a plug-in! lol

Thanks a Bunch!

~Addam~

Check on something like: Status(CurrentLayout) to return the name.

This only a guess!

Good Luck.

Garry

  • Author

I'm able to get the name, but it's getting FMP to set the name of the Exported file.

do I need to do some type of VB Scripting?

You may have to use some sort of OLE/ADO stuff. I have done something similar with Applescript for people exporting archives.

All the best.

Garry

Addam,

I use the Troi File plug-in to set the name of an exported file to whatever I want (including variables like the Current Layout name) it can also move files from place to place and delete files. VERY POWERFUL. And with great power comes GREAT RESPONSIBILITY! Check it out. Thay have a downloadable demo.

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.