3 Replies Latest reply on Aug 27, 2015 4:30 PM by keywords

    Portals: Can you have 1 partially on top of another?

    tays01s

      Eg. Main portal: I have field names on the left column and some data columns to the right. I've put a portal from a different table showing the current units as a column between these. It appears to work, but could there be problems?

        • 1. Re: Portals: Can you have 1 partially on top of another?
          erolst

          If the rows in that second portal are in sync with those of the first one, then you can (probably) simply put the field from the second portal into the first. (“Probably” because we don't know anything about your data model, relationships etc.)

           

          A portal can only show records from one table, but it can display fields from any other related table occurrence. It is up to you to define your data model so that the relationship/field returns sensible data in the portal context.

           

          In

           

          Class --< Enrolment >-- Student

           

          a portal on a Class layout can show records from Enrolment, but only contain a name field from Student, since every Enrolment records knows “its” related Student record. (This also works the other way around to show Class names on a Student layout.)

           

          So that usually negates any need to put portals on top of each other.

          • 2. Re: Portals: Can you have 1 partially on top of another?
            tays01s

            V. useful insight.....and yes, because these fields are from related tables, bringing fields from a different portal appears to work in synch.

            • 3. Re: Portals: Can you have 1 partially on top of another?
              keywords

              Yes, as pointed out by erolst, you can use within a portal, fields from any other TO on that same relationships chain. This will be a much more robust approach than trying to overlay separate portals.