Create a list

Completed

The Power Pages site needs a way for the suppliers to navigate to their order details. To help meet the requirement, you create a list.

  1. Create a new webpage named Machine Orders that uses the blank layout, and make sure that the Add page to main navigation checkbox is selected.

    Screenshot of the Add page to main navigation checkbox selected.

  2. Within the prompt to Choose a component to add to this section, select Text.

    Screenshot of the Text component being added in with the component highlighted.

  3. Enter Machine Orders in the text box and then change Paragraph to Heading 1.

    Screenshot of Machine Orders entered in the textbox and Paragraph changed to Heading 1.

  4. Select the plus (+) icon beneath the heading you created and select List from the options.

    Screenshot of the component options, with the list option highlighted.

  5. In the Set up tab, select the Machine Order table, set the data view to Active Machine Orders, and then name the list Active Machine Orders. You can select multiple views, but you only use one for this lab.

    Screenshot of the Set up tab with details filled in.

  6. Select Actions and then scroll down to Row actions.

  7. Turn on the Edit record toggle. Set the Target type to Webpage, the Webpage to Machine Order Details, and then change the Display label to Update. Select Done.

    Screenshot of the list details filled in.

Bug workaround

For this scenario, a bug was found in websites that use the enhanced data model, and the Edit record configuration wasn't saved from the design studio. To fix this bug, follow these steps:

Note

If you are not using the enhanced data model, skip to Step 4 of this lab.

  1. In the List settings window, select More options and then select Open the Portal Management App.

    Screenshot of the More options view.

    The Power Pages Management app opens, where you can edit the website configuration data directly.

  2. Select the Options tab and then scroll down to the Grid Configuration section. In the Item Actions area, select Edit and then fill in the following values:

    Target Type - Basic Form

    Basic Form - Supplier Form

    Button Label - Update

    Screenshot of the Options tab, showing information added in the Edit section.

  3. Select Save & Close.

    Screenshot of the save and close option in the portal management app.

  4. Return to the design studio, and then select Sync.

    Screenshot of the sync button at the top right of the power page editor screen.

    The preview in the studio should resemble the following screenshot.

    Screenshot of the preview of Machine orders.

    Note

    If you did not need to perform the bug workaround, continue from this step.

  5. In the upper-right corner of the screen, select Preview > Desktop.

    Screenshot of the desktop preview.

  6. The website loads in a new tab. Within the list on the page, an error message appears, stating that you don't have permission to view the records. The next task will address this issue.

    Screenshot of the permissions message stating that you don't have permissions to view the records.