2 Replies Latest reply on Jan 10, 2016 10:56 PM by tays01s

    Hiding portal buttons


      I have 2 buttons on a row. When:

      Patient::IO_n = IO::__uuID


      Patient::mod_sum  > IO_n::mod_sum_old


      I'd like the 'top' button to hide so as to reveal the underlying button. What actually happens is that if any record meets the above criteria all the top buttons hide. If none meet the criteria all top buttons are present.


      In this particular case both buttons trigger the same script and I could have used conditional formatting to achieve the desired result except that as well as a difference in 'fill', I need the underlying button to carry a text message.


      Is it the case with 'hiding' objects in a portals that it's 'all or nothing'? Is there an alternative solution?

        • 1. Re: Hiding portal buttons

          Definitely not an al or nothing limitation. You should be able to have portal row button hide on a row by row basis provided:

          1.     The button is actually in the portal row and not hovering above the portal—check this by (a) making sure it is small enough to entirely fit within the portal row, and (b) giving it a nudge up then down to make sure it centres on other portal objects.

          2.     The hiding condition is focussed on the individual portal record—this is perhaps more likely where you are going wrong.

          • 2. Re: Hiding portal buttons

            Thanks Keywords,

            It was one of those; the latter I think since I tweaked both! A tip for people; magnify portals when buttons are 'tight-fitting'. I'd thought I'd been careful to fit everything inside, but the centering advice should be paid attention to.