5 Replies Latest reply on Apr 30, 2012 2:02 PM by crispinhodges

    Local file reference from hosted file


      I need to be able to access data on a local FMG file from a hosted file.


      Does anyone know what if anything can be entered in the 'External data source' of the hosted file that can achieve this with Go?


      file: means 'same place the hosted file' in this context so fails as it looks on the server. The normal filemac: seems to fail too. I don't think there is a fileios:


      At the moment I'm having to ask the user to select the file using 'Files on Device' when the error message comes up saying it cannot locate the file. This is far from elegant.


      I'm using FMG11





        • 1. Re: Local file reference from hosted file
          Stephen Huston

          Remember that all GO devices are on WAN connections, so their paths (relative to the server) cannot be set or predicted from the context of the server.


          Also, FM Server cannot serve data from files not on that server.


          However, why would you need to do this when you can push the data from Go to the Server?

          • 2. Re: Local file reference from hosted file

            I have the exact same need.  I have a local db on an Ipad (in FMGo), and a hosted FM file on my server.  From the iPad, when I have the hosted FM db open, I want it to access data from a local FM db on the iPad.

            • 3. Re: Local file reference from hosted file

              I can't think of a way to access a local file from a remote file, but you shouldn't have to. You can create a file reference in the local to the hosted, so both files become one "local" file.



              • 4. Re: Local file reference from hosted file
                Stephen Huston

                ...which works on the iDevice only when there is a connection.


                I suspect people wanting the Server to read their local file is due to the joys of trying to "sync" data updated in the local file on the iDevice while off-line.


                There are many ways to do it, and Go Zync and others have posted stuff about how to do this. Unfortunately, none of them are really simple.

                • 5. Re: Local file reference from hosted file

                  We can do this with FMP just not Go


                  There is no fundermental as after the error message caused by a misformed reference you are asked to point the external data source manually.


                  As to my reasons - I have a syncronised iPad solution that despite lots of checks managed to fail sending an update when used in very poor signal conditions. I needed some data changing to encourage it to send again. Sadly the device is remote so getting the file sent back is very difficult. My solution was to run a hosted file that connected to the iPad file and poke the changes into place. I wanted to make the process idiot proof. Instead I had to talk them through manually selecting the correct file.


                  I intend putting in a timed graphic upload to a container to test connection speed in future so my sync will 'never fail' but I do wish FMG12 had a Get(SignalStrength) function!


                  I'm off to the FMG request page right now.