Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About naio

  • Rank
    always learning

FileMaker Experience

  • Skill Level
  • FM Application
    16 Advanced

Platform Environment

  • OS Platform
  • OS Version
    High Sierra

FileMaker Partner

  • Certification
    Not Certified

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Finally, after many turns, I've found what's going on: /bin/bash needs to have Full Disk Access privileges. In order to do so I went to Apple Menu > System Preferences > Security & Privacy, selected Privacy tab, unlocked the settings and added /bin/bash to the list. Now I can read and write the mounted share, but even after doing this the script doesn't work when called from FMS17 but that's a different story: first I should upgrade to FMS 18.0.3 or downgrade Catalina to Mojave, as @Wim Decorte suggested
  2. Thanks for your reply. I decided to run the script from launchd. I'm not an expert on bash but a tool called LaunchControl has helped me to debug. So right now I run this at start up: /bin/mkdir -p /Volumes/share /sbin/mount -o nosuid,-d=777 -t smbfs //user:pwd@host.local/share /Volumes/share This works normally: the share is mounted. From Terminal –only with root privileges– I can see the share properties: drwxrwxrwx 1 root wheel 16384 2 jan 21:19 share I can also see subfolders and its files properties and it all seems fully open, but it's not, because if at the end of the script I add /bin/ls -l /Volumes/share I get an 'Operation not permitted' error. It makes no sense to me: the same running script that allows for a share mount, denies an ls. I'm totally lost and I'm afraid that this is about MacOS, not FMS.
  3. I have FMS17 running a system shell script that does the following: Tar the latest backup folder and leave it into a specific 'tar' folder Mount an external volume share rsync external share and tar folder The script was running twice a day without any problem until last week when I upgraded the server OS from High Sierra to Catalina. FMS event log just shows the following: Schedule "schedule-name" aborted; aborted by user. Possibly it's a problem with permissions but how to fix it?
  4. I designed a FM Go app that uses a bluetooth scanner (Socket CHS 7). I can't find the way to control the active keyboard (scanner or ios). I tried the "Enable touch keyboard" script step but if I hide the keyboard, I loose the focus on the field that must get the scanned code, so it's like having no keyboard. That seems to be the problem: https://community.filemaker.com/thread/136708 a bug not fixed yet? So far the only way to hide the ios keyboard without loosing field focus is to turn off the ios keyboard is from the scanner itself, clicking twice the power button. Once the active keyboard is the scanner, I still have the edit bar that shows on the top of the ios keyboard covering the bottom of my FM Go app: Do you know if there's a way to hide this bar?
  5. I've found the solution besides the privilege set: the problem was the custom menu set, I had disabled the whole 'Insert' menu, so the command 'Insert file' wasn't available neither in the contextual menu. So it wasn't about permissions
  6. I use a local solution database with layouts and scripts only and data files are hosted in FMS16 under OSX. I've created a container field on one of the hosted database tables, the storage settings are set to "Store container data externally" and "Open storage". From the solution file, with my full privileged admin account, I can right-click on the container field, select "Import file" and select the file to be imported. Everything works as expected, when I'm done I can see on the server folder that the file I've uploaded is there. However under a user privilege set, it is not possible to "Import file", when right clicking I just get Cut, Copy and Paste. How can I allow my users to import files? On the hosted database file, the 'user' privilege set allows them to create, edit and delete records in all the tables but they have no access to layouts (because these are hosted layouts they do not need to access).
  7. I'm about to start a solution that needs quite an amount of layout forms and I would like to create a consistent design based on my own custom theme that has already been developed in a separate file. I use Material Design specs as style guideline and the solution is build under the separation model, so all the data is in a hosted file. I'm considering one of these two strategies: Create a repository of interface elements (text fields, tab controls, combos, portals, etc.) in a separate file (that's mostly done) and copy generic elements into my solution as I build the needed layouts or Create layouts quickly, overlooking style and apply my theme when all of them are functional I see a drawback on the first option: if I want my element repository to continue useful I will need to keep the theme updates simultaneously in both files The second option looks more practical because it will allow me to focus on the data and just worry about the look at the end of the process. What do you think is the most productive strategy?
  8. My solution is build according to the 'separation model', so I would like to keep control of the local file containing the layout and presentation of the data hosted in the server. I wonder if I could have a script to control wether the local file gets its structure, layout or scripting modified, so I need a function to control when a change to the file has been made before giving it a version number. When the file gets open only to work with the hosted data it's not a new version.
  9. Got it, this video has helped me a lot: https://www.filemakermagazine.com/videos/filemaker-rest-using-baseelements-plugin
  10. I'm trying to integrate my FM solution with Freshdesk, a helpdesk web app that uses GET and PUT commands over HTTP. My first challenge is to retrieve a ticket from Freshdesk. According to the API documentation, all I need to do is (for ticket ID 200): curl -v -u user@yourcompany.com:test -H "Content-Type: application/json" -X GET 'https://domain.freshdesk.com/api/v2/tickets/200' I'm happy I made it work in Mac OS Terminal! but now I would like to use it within FM and the Base Elements plugin seems a good option, so I made the following script: Set Variable [ $header; Value: BE_HTTP_Set_Custom_Header ( "Content-Type" ; "application/json" ) ] Set Variable [ $get; Value: BE_HTTP_GET ( "https://domain.freshdesk.com/api/v2/tickets/200"; "user@yourcompany.com"; "test" ) ] I expect to get the json data into the $get variable but I just get user@yourcompany.com in it. The documentation for BE plug-in is not for newbies like me and there's something I don't do right. Can you help me with this or at least point me to a place where I can learn a little about it? Thanks,
  11. I need to update a solution designed for FM9 to FM15, the whole solution has 68 value lists (VL) all of them based on tables but only a few of these are conditional VLs. All of the tables have a primary key and a value field. The solution is designed according to the separation model. In the user file layout, each of VL data fields is duplicated so one field stores the value id (as dropdown list) and the other -just on top- shows the related value. This design requires a lot of table occurrences just to show related values which makes the graph and layout design more complex and tedious. As most of the lists are static (their component values will never be changed) I wonder if I should transform these lists into the 'Custom value' kind. Given that the design is quite robust like this, it seems unnecessary to change it but the gains on design simplification and clarity are very tempting. I would like to know the best practice using VLs. I would also appreciate your criteria about the use of dropdown vs the use of popup menu in the layouts.
  12. Thanks for your suggestions, I wonder if the applications you mention are able to run completely unattended, I mean launched at startup, not at login. Anyway I've taken the 'hard way' and I am working on a shell script to take my copies off the FMS machine into the NAS and then to somewhere in the cloud, if this way is too hard for my little knowledge of bash then I'll look at the apps you suggest.
  13. Thanks for this valuable script. Shouldn't the rsync command include the option -H? This would preserve hard links, which is important if you are backing up a large amount of files, for example those on a managed container field folder.
  14. Understood: there is no way to have FMS backing up to an external hard drive, period. I'll look for script models that allow copy or sync of the internal drive backed up files, I've seen a couple in the articles you linked. I still have a question: the use of progressive instead of the standard backups would it ease or shorten the task to 'move' the files out of the server? Thanks,
  15. In the linked article is not clear that not even a backup called from FMS CLI can save the files into a non-local folder, is this what you are saying? If so, the only way to take a standard backup off the server is by using a system-level script that copies the files, right? But what about FMS performing a progressive backup? according to FM Support: Does a different hard drive include a NAS? is it safe? Thanks,
  • Create New...

Important Information

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