[Previous Version] Add data viewing control to the header information list sheet

Attention

This document explains how to add data viewing control to the header information list sheet in version 3.6.1 or earlier.

Regarding how to add data viewing control to the header information list sheet in the new version, see Add data viewing control to the header information list sheet.

Add a process to control the data that can be viewed by the user in the app’s header information list sheet that you created.

Allow only administrator users to view administrative items

  1. Login to CELF and click the "Manage" button to open the management screen.
../../../../../_images/img_01.en74.png

Tip

The "Manage" button appears when you are logged in as an administrator .

  1. Double-click the app you want to customize.
../../../../../_images/img_02.en74.png
  1. Double-click the header information list sheet.
../../../../../_images/img_03.en60.png
  1. Click the img_edit_action_button button.
../../../../../_images/img_04.en54.png
  1. Double-click the action set under "List view".
../../../../../_images/img_05.en50.png
  1. Add the "Determine condition" action from the "Control" tab by dragging and dropping it onto the "Get number of records from table" action.
../../../../../_images/img_06.en38.png

Hint

The area where you can add an action will change to orange. Make sure the color of the area you want to add changes and then release the mouse button.
../../../../../_images/img_0042.en2.png
  1. Enter '=USER.INGROUP("[group name]")' as a branch condition for the "Determine condition" action you added.
../../../../../_images/img_07.en35.png

Hint

For [Group name] to be entered in the condition, enter the administrator group.

Hint

The expression in the figure determines if the logged-in user belongs to the group "users1".

Tip

This condition will be used several times later, so it’s useful to copy it into e.g. a notepad.

  1. Drag and drop the "Get number of records from table" action to the "If ___ then" part of the "Determine condition" action that you added.
../../../../../_images/img_08.en29.png
  1. Copy the "Get number of records from table" action you moved by dragging and dropping it into the "otherwise" part of the "Determine condition" action you added.
../../../../../_images/img_09.en23.png

Hint

You can copy an action by dragging and dropping it while holding down Ctrl.

  1. Click the Set Search Condition button in the copied "Get number of records from table" action.
../../../../../_images/img_10.en21.png

Hint

  • Click the search condition button for the copied action in the "otherwise" part of the "Determine condition" action.
  • Be careful not to confuse it with the "If ___ then" part.
  1. In the search condition setting screen, select the author for the "XX" part of "XX matches YY".
../../../../../_images/img_11.en19.png
  1. In the search condition setting screen, enter "=USER.ID" in the "YY" part of "XX matches YY".
../../../../../_images/img_21.en6.png
  1. Click the OK button to close the search condition setting screen.
../../../../../_images/img_13.en12.png

Hint

The search condition you set in the action will be displayed.
../../../../../_images/img_14.en11.png
  1. Add the "Determine condition" action from the "Control" tab by dragging and dropping it on top of the "Get multiple records from table" action.
../../../../../_images/img_15.en11.png
  1. Enter '=USER.INGROUP("[group name]")' as a branch condition for the "Determine condition" action you added.
../../../../../_images/img_16.en11.png

Hint

For [Group name] to be entered in the condition, enter the administrator group.

Hint

The expression in the figure determines if the logged-in user belongs to the group "users1".

  1. Drag and drop the "Get multiple records from table" action to the "If ___ then" part of the "Determine condition" action that you added.
../../../../../_images/img_17.en9.png
  1. Copy the "Get multiple records from table" action you moved by dragging and dropping it into the "otherwise" part of the "Determine condition" action you added.
../../../../../_images/img_18.en9.png

Hint

You can copy an action by dragging and dropping it while holding down Ctrl.

  1. Click the Set Search Condition button on the copied "Get multiple records from table" action.
../../../../../_images/img_19.en9.png

Hint

  • Click the search condition button for the copied action in the "otherwise" part of the "Determine condition" action.
  • Be careful not to confuse it with the "If ___ then" part.
  1. In the search condition setting screen, select the author for the "XX" part of "XX matches YY".
../../../../../_images/img_20.en8.png
  1. In the search condition setting screen, enter "=USER.ID" in the "YY" part of "XX matches YY".
../../../../../_images/img_21.en6.png
  1. Click the "OK" button.
../../../../../_images/img_13.en12.png

Hint

The search condition you set in the action will be displayed.
../../../../../_images/img_22.en5.png
  1. In the copied "Get multiple records from table" action, click the Set button for the columns to be displayed and the destination.
../../../../../_images/img_23.en3.png

Hint

  • Click the search condition button for the copied action in the "otherwise" part of the "Determine condition" action.
  • Be careful not to confuse it with the "If ___ then" part.
  1. In the copied "Get multiple records from table" action, remove the administrative item from the displayed column.
../../../../../_images/img_24.en4.png

Hint

To delete an item, click the Trash button.

Hint

If there is more than one management item, you need to delete all of them.

Hint

Make a note of the columns that show deleted administrative items in Notepad or some other place, as they will be used later for actions.

  1. Click the OK button to close the Settings to Display Column and Destination screen.
../../../../../_images/img_25.en3.png
  1. Add the "Determine condition" action from the "Control" tab by dragging and dropping it on top of the "Set value to cell" action.
../../../../../_images/img_27.en2.png

Hint

Look for the action commented on as "Creating a selection checkbox".

  1. Enter '=USER.INGROUP("[group name]")' as a branch condition for the "Determine condition" action you added.
../../../../../_images/img_28.en2.png

Hint

For [Group name] to be entered in the condition, enter the administrator group.

Hint

The expression in the figure determines if the logged-in user belongs to the group "users1".

  1. Copy the "Set cell format" action by dragging and dropping it onto the "otherwise" part of the "Determine condition" action you added.
../../../../../_images/img_29.en2.png

Hint

Look for the action commented as "Set the format of the search results list".

Hint

You can copy an action by dragging and dropping it while holding down Ctrl.

  1. Change the cell range of the copied "Set cell format" action.
../../../../../_images/img_30.en2.png

Hint

Change the alphabets of the columns to those of the administrative items you deleted in step 23.

  1. Click the "Format" button on the copied "Set cell format" action.
../../../../../_images/img_31.en1.png
  1. On the "Set cell format" dialog, click the "Fill" tab.
../../../../../_images/img_32.en2.png
  1. Select the shading color of the cell to gray.
../../../../../_images/img_33.en2.png

Hint

If you follow the steps, the action will be set up as shown in the figure
../../../../../_images/img_34.en2.png

Hint

If there are more than one management item, you need to set up steps 27. to 31. for each item.

Tip

We have changed the background color of the cells to indicate that they are not viewable, so you can set a color other than gray

  1. Click the "OK" button.
../../../../../_images/img_35.en.png