1 Reply Latest reply on Jun 11, 2015 1:14 PM by philmodjunk

    Hide Active Portal Row



      Hide Active Portal Row


      Good Day Everyone.

      I have a portal that shows rates for a bunch of companies. I would like the user to have the ability to hide a particular row by clicking on a pic/button etc on that row. Is there a function to allow you to do this with ease or do I need to create a field within the rateTable to toggle between 0 and 1 and allow the portal to sort it accordingly? Not opposed to the latter, just hate having to covert those rows back to 0 again once that user is done.


      Thank you for all your suggestions.



        • 1. Re: Hide Active Portal Row

          You could set up a text field in the layout's current record that is referenced in the portal's portal filter. Clicking a portal row button could append the portal record's primary key to a list of the same in that field and then commit records.

          Set Field [LayoutTable::ListField ; List ( LayoutTable::LIstField ; PortalTable::PrimaryKey ) ) ]

          would append the PK to the list.

          IsEmpty ( FilterValues ( LayoutTable::ListField ; PortalTable::PrimaryKey ) )

           would work as the portal filter.

          To return the portal records to view, just clear the ListField.