Adding a Write Action

  1. Open Bookstore's MPT editor, and select Bookstore > Book from the Outline tree. Then select the Actions tab.

  2. Click Add to add another action with the following properties:

    images/download/attachments/144836607/create_publish_action-version-1-modificationdate-1656010921000-api-v2.png

    Click OK, and click OK if a message pops up saying something like "You have not selected an Action Screen for this Action..." Note that this action's type is Write, which means it will be used to modify existing Books in the database.

  3. Set this action's Default Mask to IGNORE, and set the following fields to optional:

    • AvailableOnline

    • Price

    This allows the user to modify only the above fields when using the Publish action.

  4. Click the Action Screen tab, and choose "Define a new View" under List View. Add the fields shown in the following image to this view to allow the user to see them when they execute this action.

    images/download/attachments/144836607/action_list_view-version-1-modificationdate-1656010960000-api-v2.png

  5. Click the Permissions tab, and give ZBKS.SampleRoleType access to the action. Click images/download/attachments/144836607/save_btn-version-1-modificationdate-1656010928000-api-v2.png Save to save the MPT.