Thank you for your post.
The Web Viewer is not a browser. Still, as long as another window isn't imposed on the web site, the web page should load. For example, in FileMaker Pro, I created a Web Viewer with the Web Address:
This appears in FileMaker Pro, and also appears in FileMaker Go.
Let me know what web address you are using so I can try it here.
Here is the situation in a nutshell:
Since FileMaker via iOS doesn't actually allow the import script step, even though it doesn't grey it out, it does not work, so
in order to call an https URL that runs PHP to query an API and return an XML result, I am trying to use the FileMaker web viewer.
Since we are passing credit card info, we need it to be HTTPS. Normally via a FileMaker app, this import script step will allow the
transfer of XML via the URL call, and in iOS it will work with HTTP. On a browser, it will not work until the certificate is accepted,
but in the web viewer there is no option to accept the certificate. Running the same URL through the iOS Safari app returns
a successful result after the certificate is accepted. The web viewer consistently refuses to load the URL despite the certificate
being registered, etc. ( whatever certs need to be valid, it's all been done ). I'm not wanting to come to the realization that this
one piece is going to stall a 9 month project into not being deliverable.
FileMaker Go does allow the Import script step, as it will import data from another FileMaker Pro file.
Again, the Web Viewer is not a browser as it makes calls to the OS WebKit. Instead of using the Web Viewer, try using "Open URL" step and specifying the URL. When it loads the web page information, there is an option in the upper right corner to "Open in Safari".
I don't think you understand, as I cannot use the data loaded into Safari. I am trying to replace an import script step that calls a URL to get an
XML response. Works great on the app, but in iOS I can't do that. If I open a URL in Safari, there would be no way for me to get the result from the
browser back into FileMaker. Using HTTP I can do that by getting the web viewer contents and parsing the data, but with HTTPS it is
not loading the resulting XML due to what is says is an invalid certificate.
There's a known issue about WV stopping rendering on iOS after 2 seconds anyway. Could your issue be related with this fact (not completely loading website at all)?
I'm sorry I don't find that thread since this forum's structure and performance still sucks despite all the promises FMI gave more than 1 Year ago.
No, the web viewer returns the error that the certificate is not valid and something about someone trying to copy the website and
that it would not be safe. ( Sorry, I don't remember the exact wording of the message ). So my assumption is that it is attempting to load
the XML result, but the certificate acceptance stops the process. As I said, if I attempt the same process via HTTP, the XML loads into
the web viewer and I am able to use the GetLayoutObjectAttribute() function to access the XML data and parse it into the fields.
Thanks for the clarification. In order to reproduce this, I'll need the URL being used so I can have Development and Testing narrow down the issue. If you don't want to post publicly, then send me a private message (click my name followed by Send me a message) with the URL.