Export (0) Print
Expand All

How to: Create a Page

Microsoft Dynamics Nav 2009

Similar to forms in the Classic client, pages are objects in the RoleTailored client for viewing and editing data. When you create a new page for the RoleTailored client, consider the page's business purpose, including which user uses it and what tasks the user needs to perform. There are ten page types from which you can choose, including:

  • Role Center pages, which are home pages for a specific user role such as account manager or sales order processor.

  • List pages, which display multiple records on a page.

  • Card pages, which are used to edit individual customer or item records.

The page type determines which controls, parts, and properties are valid for the page. For example, FactBoxes are not allowed on all page types. For more information about page types, see Touring the RoleTailored Client Pages.

You can choose to create a blank page and build a page from scratch, or if you are running Microsoft Dynamics NAV 2009 SP1, you can use the page wizard to create a specific type of page.

To create a blank page

  1. In the Classic client, on the Tools menu, click Object Designer.

  2. In Object Designer, click Page, and then click New. The New Page dialog box appears.

  3. If your page is associated with a table, in the Table text box, click the AssistButton, select a table, and then click OK.

  4. Click Create blank page, and then click OK.

    The new page appears in Page Designer.

    NoteNote

    If you are running Microsoft Dynamics NAV 2009, you can select Create blank page of type, select the page type, and then continue to step 9.

  5. In the Caption field of the first row, which has the type Container and the subtype ContentArea, type some descriptive text, such as contentcontainer.

    NoteNote

    This text is used internally for identification purposes and does not appear in the RoleTailored client.

  6. Click on another row to automatically complete the Name field.

  7. By default, the page is a Card page type. To change to another page type, select a blank row, and on the View menu, click Properties.

  8. Locate the PageType property, and then set the Value field to the page type you want. For more information on the different page types, see Touring the RoleTailored Client Pages.

  9. Save your page. On the File menu, click Save As. The Save As dialog box appears.

  10. Under ID, enter the page ID. Pages use the same ID range as forms.

  11. Under Name, enter a name.

  12. Click OK. Your page is saved.

  13. Complete the page design by adding additional controls, parts, and actions as necessary. For more information, see:

Creating a Page Using the Wizard

NoteNote

The page wizard is only available in Microsoft Dynamics NAV 2009 SP1.

The Classic client includes a wizard that creates specific page types. In the page wizard, you choose a page type, and the page wizard automatically adds some content and controls to the page for you.

The page wizard is designed to help you get started on creating page by adding the basic content and controls. The wizard has limitations and may not add all content that you want on a page, as outlined in the following table:

What the wizard does do What the wizard does not do
  • Sets the page type.

  • Associates a selected table with the page.

  • Adds FastTabs and selected fields.

  • Adds single lists with selected fields as columns.

  • Add page controls and parts that include Cues, FactBoxes, Outlook parts, Notes, My Notes, RecordLinks, and FixedLayouts.

  • Add actions.

Depending on the page's type and complexity, you typically need to manually make changes to a page after you use the wizard.

To create a page using the wizard

  1. In the Classic client, on the Tools menu, click Object Designer.

  2. In Object Designer, click Page, and then click New. The New Page dialog box appears.

  3. Click Create page using wizard, and then click the page type from the list.

  4. To specify the table with which your page is associated, in the Table text box, click the AssistButton, select a table, and then click OK.

    NoteNote

    RoleCenter page types are not associated with a table. To complete the wizard, select any table.

  5. Click Finish.

    The new page appears in Page Designer.

  6. Save the page. On the File menu, click Save As. The Save As dialog box appears.

  7. Under ID, enter the page ID. Pages use the same ID range as forms.

  8. Under Name, enter a name.

  9. Click OK. Your page is saved.

  10. Complete the page design by adding additional controls, parts, and actions as necessary. For more information, see:

See Also

Community Additions

ADD
Show:
© 2014 Microsoft