john renfrew Posted October 2, 2010 Posted October 2, 2010 Not far off deploying a solution which uses a lot of Groovy Scripts, so thought the best thing to do would be to create a custom plugin with everything they need.... you know the score by now. Only thing is, and I asked ESPECIALLY about this at Devcon, it is true that all your functions keep the names that are the same as the script steps where you created them BUT BUT BUT Now I have 487 script steps that have missing functions BECAUSE even though the names are the same it doesn't think it is the same function AT ALL. This is not made clear in the documentation, nor was the answer I was given in person wholly correct either. That's a disappointing waste of an evening.
andries Posted October 2, 2010 Posted October 2, 2010 (edited) John a way to prevent this (I mean a waste of an evening, not the functions being not recognized) is to wrap each external function in a custom function. In that way if I want to change the external function to let's say another plugin, I only have to change it once: inside my custom function. Another advantage is that your functions are immediately accessible in the list of functions in the calculation editor and that you don't have to go to the external functions list (I hate using my mouse when developing :-) ). Edited October 2, 2010 by Guest
john renfrew Posted October 3, 2010 Author Posted October 3, 2010 Andries I get the benefit of your second point, and can see the speed advantages... and Problem still exists with the overall method though. As soon as a solution gets more than one file, need to update a custom function in one file and then remember to copy it over the others, and while this is made easier now I am still managing 57 separate functions rather than just have them genuinely managed only in one place and deployed on all client machines. OK there is work in making sure each client has updated, but this can be pretty much automated.
Smef Posted October 4, 2010 Posted October 4, 2010 (edited) The function names will remain the same, but there is a different ID number which FileMaker assigns to the function because it is coming from a plugin. I'm sorry if this was not clarified for you when you spoke to your contact. Edited October 4, 2010 by Guest
Recommended Posts
This topic is 5175 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 accountSign in
Already have an account? Sign in here.
Sign In Now