Is it possible to get a website content useing FileMaker server?

I am trying to parse the contents of a website from a script run on the server. It works without issues on a client but returns nothing on the server. Am I doing it wrong or is it just not possible?

Script steps

  • New window with a layout that has a webviewer with the name website.
  • set the address for the webviewer
  • Wait 60 seconds
  • Run "GetLayoutObjectAttribute("website";"content")"

Server is running FileMaker 19.3.2.203

Use insertFromUrl(), it will be quicker and cleaner.

3 Likes

Thank you that worked.