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.

Typing a function into script workspace

Featured Replies

  • Newbies

Hello Scribe 2 users,

I am new to Scribe 2. I am having a hard time typing a function into the script workspace. F.e. I do see the Scribe function when I enter them in an IF statement. But If I want to start a script with a Scribe function, the Scribe functions do not appear. See the attachments for a visual.

I hope you can help me so I can start exploring Scribe and convince my colleagues that this is a valuable plug-in.

Are there training movies? Except from FMPug Without Borders | Scribe 2 | Sam Barnum | FileMaker 14 Training Videos which is too fast for me, I was not able to find them..

King Regards,

Baran

Scribe IF statement.PNG

Starting with a Scribe function.png

Edited by BaranD

Hi Baran,

I answered your email to our support system that should answer this question but I want to elaborate here incase someone else is having this issue. The Scribe functions are only going to be available inside a calculation. This is why is it showing up in the IF statement in your first screen shot. In the second screen shot, FileMaker is searching through its list of script steps but the Scribe functions are registered in FileMaker as external functions and thus will not show up in that list. Typically, the way to call a Scribe function in a script is to use a Set Variable script step and then set the value of the variable to a Scribe function like so : Set Variable[$load : Value: ScribeDocLoad(FIELDREFERENCEORFILEPATH)]. This will run the function and set the value of the variable to the return of the function.  In this case it returns a "1" for success or "ERROR' if there was an error.  This is helpful for error checking so you can follow the Set Variable script step with an If/Else statement that checks the value of the variable for "ERROR" and then handles it how you see fit.  It is also common to use a Set Field script step or an IF statement to call function but can be done in any calculation dialog.

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.