To work with specific elements in the Application Explorer, find or search for the specific element and then right-click on the selection to see the action you can perform. The following screenshot shows the action, that the available on the CustTable form element:
The actions that are available to perform on an element depend on the elements that you've selected. The following are some of the common actions that you can perform for elements in the Application Explorer:
Actions |
Description |
Open in designer |
Open the element designer to view the object in element type designer. To be able to edit the object in the designer, objects must be added to the project first. |
View code |
Open the element in the code editor, where you can view the code. |
Add to project |
Add the element to the current project. You can only add an element to a project if the project belongs to the same model as the element. |
Add to a new project |
Create a new project and add the element to the project. |
Duplicate in the project |
Create a copy of the selected element and add it to the current project. |
Create an extension |
Create an extension for the element. A new extension model element (.extension) is added to the current project in Solution Explorer. This is the preferred way to work with existing elements. |
Create an extension in a new project |
Create an extension for the element as part of a new project. You define the new project when the New Project dialog box opens. |
Advanced Compare |
Compare the element with the different versions of the same element from a source code control repository or file on the disk. |
Find references |
Find all of the X++ code and other elements that reference the selected element. |
View references |
Create a diagram that shows the other elements that reference the selected element. |
Refresh |
Update the metadata of the application element that's selected. |
Properties |
Open the property sheet for the selected element. |
Apart from these common actions, some elements have unique commands that let you perform actions for that type of element. For example, table and classes elements have a hierarchy tool that generates a diagram to display the class or table hierarchy. Table also has the Open table browser command, which can be used to display data in the table as a list in the program.