Jump to content

Michael Gaslowitz

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Michael Gaslowitz

  1. Brent, I'm able to create subfolders without any trouble. Can you check for script result errors after call to DocuBin - Add Folder and let me know what happens? Michael
  2. The functions aren't actually getting registered with ScriptMaster v5. Always test for errors kids. http://s3-external-1.amazonaws.com/com.prosc.support.uploads/Outbound/ScriptMasterGuiTest.fmp12.zip?AWSAccessKeyId=AKIAIDQUCQL7APZLJCDA&Expires=1497112821&Signature=O%2B%2B3nWn%2BmTE6N6GkZh5YICZN2KM%3D
  3. John, Again, there's a bug in ScriptMaster v5 which is causing an error if the third parameter is empty. Once that is fixed your functions should resume working as they have before. However, adding "isGui=false" to the end of your script (as the second parameter) doesn't do anything except make your function run a little slower than if you were to leave it out completely: ## how "isGui=false" is passed to RegisterGroovy RegisterGroovy ( "Test1" ; "return true;" ) RegisterGroovy ( "Test2" ; "return true; isGui=false" ) ## your script RegisterGroovy ( "Test3" ; "return true;" ; "isGui=true" ) RegisterGroovy ( "Test4" ; "return true;" ; "isGui=false" ) ## recommended ## Total time is takes to call each registered function 1000 times: Test1: 4588 ms Test2: 4864 ms ## your script Test3: 5223 ms Test4: 93 ms ## recommended You can test this with ScriptMaster v4 for now: http://s3-external-1.amazonaws.com/com.prosc.support.uploads/Outbound/ScriptMasterGuiTest.fmp12.zip?AWSAccessKeyId=AKIAIDQUCQL7APZLJCDA&Expires=1497109423&Signature=f7C5P0zEz193czErKG83a8VRNhM%3D Michael
  4. John, The main issue is that the RegisterGroovy function in ScriptMaster v5 isn't treating the third parameter optionally, even though it's inside curly braces: ## ScriptMaster v5 ## RegisterGroovy( signature ; script {; isGui ; key1=value2 ; ... } ) ## omitting third parameter in RegisterGroovy function returns ## "java.lang.ArrayIndexOutOfBoundsException: 0" instead of 1 Let ( ~result = RegisterGroovy( "SMisLoaded" ; "return true;" ) ; Case ( ~result = "ERROR" ; SMLastError ; ~result ) ) The secondary issue is that the RegisterGroovy function in ScriptMaster v4 looked for “isGui=false” an optional “key=value” pair. I don’t think including it at the end of the groovy script actually did anything, especially after "return true" processed. ## ScriptMaster v4 ## RegisterGroovy( signature; script{; key1=value1; key2=value2; …} ) ## best practice if you don't need a GUI RegisterGroovy( "SMisLoaded" ; "return true;" ; "isGui=false" ) ; ## not wrong, just doesn't affect the GUI RegisterGroovy( "SMisLoaded" ; "return true; isGui=false" ) ; We'll let you know when we have an update. Michael
  5. Brent, Could you please save a PDF of your script and either upload it here, or email it to me at michael@360works.com? Thanks, Michael
  6. Brent, Try adding a Pause/Resume Script steps to these developer scripts: DocuBin - Add File ( Path ; File ) DocuBin - Add Folder ( Path ) There's a bug somewhere related to selecting windows and external files on Mac OS Sierra. Michael
  7. Please try this build of DocuBin: http://s3-external-1.amazonaws.com/com.prosc.support.uploads/Outbound/DocuBin+1.0058.zip?AWSAccessKeyId=AKIAIDQUCQL7APZLJCDA&Expires=1489251199&Signature=r%2FDUKh%2BvgfbKrvPi%2Fe8MQoW51s0%3D
  8. Jos, Try replacing the DocuBinUtility.fmp12 file with the one from this link: http://s3-external-1.amazonaws.com/com.prosc.support.uploads/Outbound/DocuBinUtility.zip?AWSAccessKeyId=AKIAIDQUCQL7APZLJCDA&Expires=1488406195&Signature=cq9zr29qTpwnqrpe3SRrq5gEb7c%3D Michael
  9. Brent, The DocuBin companion plugin has been deprecated; you can remove it. Michael
  10. Hello Nico, We were able to get David squared away. Please feel free to call our office as well if you're having any trouble. Michael
  11. David, Feel free to give our office a call at (866) 662-9185, and I would be happy to help you get DocuBin working. Michael
  12. Hi Albert, Let me know if you still have an opening for Tuesday; I'd be happy to contribute! Michael
  13. Thank you for your patience. DocuBin v1.0057 should fix this issue. Please let us know if you are still having trouble or are interested in a demo.
  14. Thanks, we were able to reproduce the error, and should have a fix available soon.
  15. Can you please let me know a little more information:     What version of DocuBin are you using? Mac: FileMaker Pro » About DocuBin Win: Help » About DocuBin  What version of the DocuBin Companion Plugin are you using? Mac: FileMaker Pro » Preferences » Plug-Ins Win: Edit » Preferences » Plug-Ins
  16. You will need to stop/start the FMS Web Publishing engine.
  17. I was able to track the issue to one of the subscripts, and we'll have it fixed in the next official release. In the meantime, you can download a pre-release copy of DocuBin (FileMaker 12):   http://static.360works.com/docubin/FileMaker%2012.zip
  18. Have you made any modifications to the Sample file? If so, be sure to properly pass in any script parameters.      The Sample file script: Add File to DocuBin Calls the following DocuBin developer script: DocuBin - Add File ( Path ; File ) And requires the script parameter to be formatted as follows: "<Path>" & $Path & "</Path>" & "<File>" & $File & "</File>"   Where: $Path is the location of the file in DocuBin $File is the location of the file you want to upload to DocuBin Also, by default, the Sample file will upload a file to /Projects/{Project Code}/, so if the Project Code is 1000, it will upload the file to /Projects/1000/. If the folder is not there, you should get an error that says the parent directory does not exist. 
  19. Migrating DocuBin   If you're using FileMaker Server, close the three DocuBin files from the FileMaker Admin Console. You can now safely remove and upload them to your new FileMaker Server.    When you open DocuBin for the first time from the new server you will need to point it to the location of your new SuperContainer deployment. You will be prompted to do this if you stopped SuperContainer on the old server. If you left SuperContainer running on the old server you will need to go to File » DocuBin Settings » SuperContainer to change the address.   Migrating SuperContainer Files   Before you copy any files over, stop SuperContainer on the old server, then deploy and register SuperContainer on the new server. This allows SuperContainer to create its directory with the appropriate permissions on the new server. Then copy the Files directory (/Users/Shared/SuperContainer/Files/) from the old server to the new server.   Please not that you don't have to have SuperContainer and DocuBin (FileMaker Server) running on the same machine.
  20. Hey Ben,   Try the link below, and please let me know if you are successful.   http://static.360works.com/remove-plugins/   Michael
  21. DocuBin can be hosted on the same FileMaker server as your main FileMaker database. We recommend you take advantage of our developer scripts to integrate them together:   http://docs.360works.com/index.php/DocuBin_Developer
  22. That sounds great Reid. We'll keep your original request on our list, and would be more than happy to revisit it if your needs change.
  23. Reid,   DocuBin isn't currently keeping track of version numbers this way. I have added this to our list of feature requests.   Thanks,   Michael
  24.     It looks like the SuperContainer Companion Plugin doesn't return the path of any Windows drives (, or the Mac boot volume. I've filed a bug report for SuperContainer.        I think the plugin crash is causing the error. Is the large file coming from the Mac? How large is large?
  • Create New...

Important Information

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