Scodigo, Inc.

Log In | Register

Cart Items:
0

Function Maker -- <function missing> error

I am really liking using FunctionMaker. Simple, clean, easy.

Do I have to load the functions each time I open FM?

---------

As I have been working away, I typically open up FunctionMaker.fp7 and my solution file. I am constantly building, testing, unloading, loading. All that stuff.

Today, however, I just opened my solution and started to try to use functions that I had previously left loaded. FM couldn't find the functions. It said in saved scripts and there aren't any PHPx functions in my External Functions dialogue.

The PHP Support\PHPx\ folder contained the xml file with the code.

Of course, simply opening FunctionMaker and loading the functions worked.

Should I build a script in my solution to load the functions (much as I call PHP_Register() on open)?

Thanks,
Bill

Yep gotta load 'em each time FileMaker starts

Micah Woods's picture

Hello Bill,

Glad to hear you like working with FunctionMaker, we put a fair amount of effort into it and use it quite a bit ourselves.

The answer is yes, you have to load your functions each time FileMaker starts up. We don't assume that you want functions loaded so you have to make a call to PHP_LoadFunctions. Keep in mind that you can store the XML in a field in your solution as well (PHP_LoadFunctions will take either a file path or an XML string). You can also use PHP_LoadFunctionsFromURL and centrally host your XML files on a web server.

Regards,
Micah