2 Replies Latest reply on May 17, 2016 4:23 AM by selo

    I am failing in updating a record with Insert from URL

    selo

      Hi

       

      I am using php api to add/modify records (I'm using Filemaker pro 14 and FMS 14 in windows enviroment).

      I followed PowerSlave post to add container data >> here:

      You CAN upload files to container fields with CWP and no plugins

       

      His script worked with me (adding container field in a new record). But I need to modify it to update existing records, namely the last record.

      I modified the script as such:

      Go to Layout ["products" (products)]

      Go to Record/Request/Page [Last]

      Open Record/Request

      Set Variable [$url; Value: Get(ScriptParameter)]

      Insert from URL [Select, No Dialog; products::brochure; $url]

      Exit Script []

      But, nothing is added.

      Where did I go wrong?