Jump to content

Content of FIELD = the Exported FileName...


This topic is 8023 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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~

Posted

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?

Posted

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.

This topic is 8023 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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