Salesforce

How Do I Automatically Generate a Default Form Layout? (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

How Do I Automatically Generate a Default Form Layout? (Magic xpa 4.x)

When you have your data view all selected, and the next step is to put the variables on the screen, there is a quick shortcut you can use to get started. It’s called the Form Generator, and it will put all the variables in your data view on the main form for you.

Using the Form Generator

  1. Open the task for which you need the form built.

  2. Click on the Forms tab.

  3. Press Ctrl+G (Options->Generate Form).

  4. You will get a dialog box that says “Overwrite Current Display”. Click Yes.

  5. The Form Generation dialog box will appear. Fill out the options according to what you want.

    • Display Mode: Select Line Mode if you want the data in a Table control, Screen Mode otherwise.

    • Style: 3D or 2D controls.

    • Use Model: If you select your model here, this will be used as the form model.

    • Form Size: to fit the content, to fit the whole screen (MDI), or to fit the model.

  6. Click OK. Your form will be populated with all the items in your data view.

Hint: Be sure you press Ctrl+G from the forms list. If you press it while in the Data View Editor or Logic Editor, you will start the Program Generator rather than the Form Generator, and then you will overwrite your entire program.

Reference
Attachment 
Attachment