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.

Featured Replies

I am running FM Server 12 Advanced. I have a container field with it's images being stored externally in a folder on the same server. I have a text field which contains the new name that I would like to apply to each photo. Can I rename the files from a client running on a different computer?

 

I found this thread from a couple of years ago which explains a way that this can be done with the 30works Scriptmaster plugin.

 

Can some please explain how to create the function that he is referring to in this comment? I do not have any experience with creating custom functions and it's not clear to me how proceed. Thanks.

 

There is an object ScriptMaster creates and has access to (fmpro) that can be used to accomplish this.

You'll use two input parameters ("fully qualified original container field name" and "new filename"). The code is extremely simple:

return fmpro.getAsContainer(fmpro.getContainerStream(fieldName), fileName);

Once you have created the function you'll want to call it using a Set Field step on the output container field. The result of the function is FM Binary and the filename. You can add use the ScriptMaster sample file to test this.

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.