Actually your path would be Get(DocumentsPath)&"index.html" . It would not include the www
Several items have changed between 14 and 15, but this may or may not be intended.
I tested with the above path in FMGo 14 and it displayed and it did not in FMGo 15.
Issues should be reported atReport a Product Issue
Sorry, there was a typo. My URL should read:
"file:" & Get(DocumentsPath) & "www/index.html"
The "www" is the name of the folder inside the documents folder of FileMaker Go where index.html is stored.
You can not have a folder inside the documents folder. There are only two file locations in FMGo and that is The Documents Folder and the Temp Folder. No sub-folders.
1 of 1 people found this helpful
The same problem when index.html is in documents folder
Yes, there is an issue with FMGo 15 and that is why I stated you should Report an Issue.
I was explaining the paths of FMGo because it can create issue too. www. is part of a web address and not part of the filename. FMGo can not have sub folders, this is also true for previous version of FMGo.
In FileMaker Go 15, it seems to do this you need to have the source files you want to display in a Web Viewer to be saved into the 'TemporaryPath' instead of 'DocumentsPath'.... See http://help.filemaker.com/app/answers/detail/a_id/15999/~/filemaker-go-15---web-viewer-fails-to-reference-and-show-specified-image
I've attached a sample file here which has two container fields, one containing a basic html file, and another an image that gets linked to in the html file... There is a button which fires a script that exports both the files to the TemporaryPath and then loads the html file into the Web Viewer... This is working in FMGo 15 here :-)
webtest.fmp12.zip 92.6 K
I will do the Report an Issue.
But just to tell you - it is working in FMGo 14 using the subfolder in documents folder.
Thank for this tip. I had read about before.
But I can't use this trick because my HTML code is a complete interactive app containing more than 400 files with images and interactivity.
There is no way to create a subfolder in FMGo.
what I'm doing with FileMaker Go 15 is just only a quick way to test my databases which will be part of an iOS App created with the SDK.
There I can create subfolders. And with SDK version 14 it is working while with the new SDK 15.0.1 it is working no more. So there seams to be a change in how FileMaker handles the web viewer.
I have made an issue report.
It can't be true that the web viewer in FileMaker Go (or the SDK) 15 has less functionality than FileMaker Go 14. Hope it will be fixed soon since I need to provide an update to my app, which is already available in App Store.
Yes, there is only one iOS WebKit. iOS has an API (application programming interface) for WebKit, but a new API was introduced, and the original API was deprecated, which means it will be removed from a future version of iOS. Therefore, in FileMaker Go 15, the new API into WebKit is used.
OK. I understand.
What we now need is a way to get access using Web Viewer to a folder created by the developer and stored inside of an iOS App. With version 14 this was possible with a folder inside of the Documents folder of the app.
Now it looks that local data for Web Viewer need to be in the temporary folder. Using containers I only can copy a single file into the temporary folder - not a folder.
THERE IS A NEED FOR PLUGINS FOR IOS SDK APPS like the MBS plugin for Mac and Windows!
It may be a security issue. FMI may have over looked that the iosAppSDK allow a folder to be created in the document folder. I know there have been a few changes since the release of FMGo and some changes were required by Apple and or caused by the update of the ios.
FMGo does not support plug-ins.
I seem to remember reading a post that MonkeyBreadSoftware had stated that they may make a plugin / sdk for the iosAppSDk. I believe they made one to create message in ical. I could not find that post this morning, running short on time. If it is a security issue then it would not be possible.
Really there are two issues here : Subfolders and the rendering of html in the webviewer from file in the documents folder. Even in the root of the document folder this has stop in FMGo 15. Many users have wanted folders in FMGo which FMI may consider with a feature request, but still may not fix your issue.
Thanks for replying again.
So, the only thing I can do is wait what is going on with the next updates.
For the moment I will postpone adding the interactive HTML content to my app – too bad.