This isn't how containers work on hosted files.
You need to import the files into your database, host the file, then turn on managed storage. You can't just move documents around and expect them to link up from a local unhosted file to a hosted file.
mikebeargie Can you explain me how to do it, i'm very newbie on FM.
I try setting the container field to "Store container data externally --> [hosted location]/Files/Tasks/"
But i don't know how to continue :S
Thanks in advance
You need to unhost the file, and put it back on your local machine.
Then you need to write a script that will insert all of your container contents into the file instead of storing only a reference link.
From there, you will have all of your container content in your .fmp12 file. You can now host that file.
After hosting, THEN you switch the container field to store container data externally with whatever path you choose, and FileMaker will take care of moving and managing the existing content.
Script looks something like this:
Go To Layout [ records ]
Show All Records
Go To Record/Request/Page [ First ]
If [ not IsEmpty( records::container ) ]
Set Variable [ $path ; "file:" & GetAsText (records::container) ]
Insert File [ records::container ; $path ; NOT AS REFERENCE ]
Exit Loop If [ get(recordnumber) = get(foundcount) ]
Go To Record/Request/Page [ Next ]