2 Replies Latest reply on Jun 14, 2011 1:38 AM by sbhex

    Portal Activation in IWP/Web Mode



      Portal Activation in IWP/Web Mode


      Hello everyone,

      I operate a FileMaker Pro 10 database which users access across the web in IWP mode. To access a portal row in IWP, you usually have to click on a different field to enter the browse mode mode. I was wondering whether it would be possible using a script-trigger to enable users to simply click on a portal field and be able to enter data straight in browse mode? I've tried adding a script-trigger which aims to go into browse mode upon selection but it didn't work.

      I've attached an image to hopefully aid my explanation (the portal in the middle is what I need to access).


        • 1. Re: Portal Activation in IWP/Web Mode

          Script triggers don't work in IWP and you don't need a trigger for this in regular FileMaker. You can edit any existing record in the portal simply by entering the fields and editing them like any other fields. If "Allow creation of records via this relationship..." is enabled for the portal's table occurrence, you can even add new records to the portal.

          I don't recall off hand, however, whether you can add new records directly in the portal this way in IWP. You may need to add a "new row" button that creates the new record in the portal's table and then refreshes to reveal it in the portal.

          • 2. Re: Portal Activation in IWP/Web Mode

            Thanks Phil. I've added a button for users to activate the portal and that works in IWP mode. A small script was created to achieve this in IWP mode:

            - Enter Browse Mode []

            - Go to Portal Record [Select; First]