LiveCode for FM Guide Ben Lui

Syncing Checklist Step 1. Set the Fmrest Permission and Upload your Solution

Updated on

If you have worked through the previous lesson, Syncing Your Data,  you are now on the Syncing Checklist screen. We'll work through each step of this.

To be able to sync your data, you need to set the DataAPI Fmrest permission on your original solution, and upload it to your FileMaker server. Here's what you need to do.

Open Your Original Solution in FileMaker

Locate and open the original FileMaker file you are compiling using LCFM Native.

Go to Security Settings

Click on Advanced Settings.

Click on Extended Privileges.

Set fmrest

Click on "fmrest".

Click Edit.

Check [Full Access]. Click ok and then ok again. You have now enabled fmrest access.

Upload to Your FM Server

You now need to upload your original solution to your FileMaker Server. Go to File>Sharing>Upload to FileMaker Server.

In Favorite Hosts, select your FileMaker Server. if you don't have a server set up, please see the lesson on Setting Up FileMaker in the "Before you start" section.

I've selected my localhost server, and I get this message. Because I am just testing locally, I just check Always permit connection (1) and connect (2). Obviously, if you are deploying a live solution on a remote server, you need to ensure you have the appropriate SSL certificate set up.

Enter your Console name and password. This is not the same as your solution username and password, it is what you set when you set up your FileMaker Server. In this particular case, I've been keeping things simple by using Admin everywhere but this is NOT best practice and you should certainly not do this in a live situation!

Click Upload.

Congratulations, you've completed step 1. In the next lesson we will address steps 2 and 3, adding the Gateway solution to your server.

Previous Article Syncing Your Data
Next Article Syncing Checklist Steps 2 and 3. Open and Set Password and Permissions for Gateway