3 Replies Latest reply on Apr 15, 2016 5:33 AM by stutz

    Missing Container Item


      I've created a container item.  I've added a .tiff file to that container that I want to always show (it will never change).  The problem is every time I close the database and reopen the container item disappears.  I have other containers that are keeping the information intact after the database is closed but this one container is giving me troubles.  This is what I've done so far.


      I've created a brand new container.

      I've duplicated one of the working containers.

      I've checked all the settings and every thing is the same.

      I've tried adding a different file type to the container.


      Running FileMaker 14 on Mac 10.11.3


      Any ideas on what to check?

        • 1. Re: Missing Container Item

          Is the field set as a global field and the the file hosted on a FileMaker server?  If so,  it will always be empty when the file opens.


          If this is the case then try creating a table/field and record to hold the values for the Global field(s).  Have the on open script for the file go to a layout based on the stored values and use set field to fill the global container.


          Other option/simple,  download the file from the server. Open the local file and put the  .tiff into the global container field.  Then put the file back on the server.



          • 2. Re: Missing Container Item

            Adding to what Bruce has said, it does sound like a hosted file/global field issue. Note:

            1.     A global field in a hosted file will default to whatever data it held when it was last closed in an unhosted state. So one option is to take the file off the Server, add your file to the container field, then rehost it. However, this is (1) a major pain as a means of adding new global dat, and (2) unreliable for a host (excuse the pun) of reasons. So …

            2.     What Bruce suggests is the best practice way to deal with this: put all your globals in a single table; create a matching set of regular fields to the global fields you want to use; create a single record and fill each of the regular fields with whatever content you require; create a script that runs whenever the file is opened, to "prime" each global field by filling it with its matching contents from the regular, stored field.

            • 3. Re: Missing Container Item

              Thanks all, that solved the issue.  I took it offline added the picture and re-hosted it on the server and it stayed.