4 Replies Latest reply on Jan 23, 2012 4:43 PM by RedL

    Flag on portal row for multi-user mode

    RedL

      Title

      Flag on portal row for multi-user mode

      Post

      We need a check box with each portal row.  The check box will be the flag for next action.  User can check it and uncheck it independent on each portal row.  It works on the single user mode.  The check box flag is a field of the portal row table now.  With this arrangement, it will be issue on multi-user mode.  Multiple users might use same portal row table's information at the same time while each user need to setup their own flag. How can we have flag for each portal row and it works on multi-user mode also?

        • 1. Re: Flag on portal row for multi-user mode
          philmodjunk

          Use conditional formatting and a global variable or field to list the selected values.

          The "checkbox" is really a button that either inserts or deletes the selected item from the list in the global variable or field.

          You can use layout text for this check box with conditional formatting that hides the text (change font size to 500) when the item is not part of the list of values in the variable or field.

          Here's a demo file: http://www.4shared.com/file/47D2cLni/CheckboxWScrollBar.html

          Note: after posting, I double checked this file and found that it does not use the conditional formatting I described, but instead uses a calcualtion field to show which values are selected. The calculation expression used in this field could be used as a conditional format expression instead.

          • 2. Re: Flag on portal row for multi-user mode
            RedL

            I checked the sample file.  It is excellent.  But the check filed, cSelectionCheckBox, is for each record.  If multiple users work on same record, the cSelectionCheckBox will be unpected for each user, I suppose.  Does the calculate field same as global field wich value can be different for differnt user at same time?

            • 3. Re: Flag on portal row for multi-user mode
              philmodjunk

              The calculation field is unstored. It evaluates differently for every user as it refers to the global field that lists the selected values. Thus, each user can build their own list of selected values.

              And keep in mind that you don't actually need the cSelectionCheckBox field, you can replace it with layout text and a conditional format expression similar to that found in this calculation field to hide/reveal the layout text. (You can make layout text disappear by having a conditional format change the font size to 500.)

              • 4. Re: Flag on portal row for multi-user mode
                RedL

                Thank you.  It is very clear.