Salesforce

How Do I Organize the Project Objects? (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Organize the Project Objects? (Magic xpa 2.x)

Magic xpa projects are often very large, mission-critical applications, so it’s important to keep your work organized. The Studio itself helps you in this, dividing your work into repositories -- the Model, Data, Program, Help, Rights, Menu, and CRR repositories. Some of these repositories are shown in the figure below.

Within each of these repositories, you can further categorize your entries into folders. In this example we have created seven folders for the Model repository, each containing a different type of model.

To create a folder

  1. Position the cursor on the line above the desired folder position (“ScreenSetup” in this example).

  2. Press F4 (or right-click and select Create Line, or from the overhead menu Edit->Create Line).

  3. Type in the name for your folder.

Hint: The number to the right of each entry indicates the number of items in each section. For example, in the section we have 129 total lines. 13 of those lines are in the CommonDataFields folder.

When you add a new folder, however, a number will appear to the right of the New folder placeholder. This just indicates the sequence of this folder. In this example, our New folder is the 8th folder to be added.

To delete a folder

Prerequisite: Before you delete a folder, it needs to be empty. Move the items in the folder to another folder. Also, when you are using version control, be sure you have the repository checked out first.

  1. Position the cursor on the folder you wish to delete.

  2. Press F3 (or right-click and select Delete Line, or from the overhead menu Edit->Delete Line).

  3. Answer Yes to the Are you sure? prompt.

To move a folder

  1. Click on the folder you wish to move, so its items are open in the Workspace.

  2. Drag the folder to the desired position.

  3. Answer Yes to the Are you sure? prompt.

Moving Objects into a Folder

There are several ways to move existing objects into a folder. These are listed below.

Prerequisite: When you are using version control, be sure you have the repository checked out first.

Moving objects into a folder using the Folder column

  1. Select the object you wish to use.

  2. In the Folder column, click the combo box.

  3. Select the desired folder.

The object will disappear from the current folder and reappear in the chosen folder.

Moving objects into a folder using the Move command

  1. Go to the folder you want to move the objects into.

  2. Press Ctrl+Shift+M. The Move Entries dialog box will appear.

  3. Select the first item in the group of entries you would like to move (you can zoom to select from a list).

  4. Press Enter to just move that one item.

  5. Or, enter the last item in the group of entries you would like to move, and press Enter.

The objects will appear below the current cursor position, and disappear from their old location.

Hint: This is the easiest way to move large blocks of items into folders.

See also

Reference
Attachment 
Attachment