Working with elements 

To work with specific elements in application explorer, find or search the specific element and then right click on the selection to see the action you can perform. The following screenshot shows the action 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 designer, objects must be added in the project first.

View code

Open the element in code editor, where you can view edit the code. 

Add to project

Add the element to current project. You can only add element to project if the project belong to same model as the element. 

Add to 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 to current project.

Customize

When you click Customize, a new customization model element file is created and is added to your project. This uses overlayering method of customization. The model that you're using for your current project must be in the same package as the selected element, and it must belong to a higher layer than the element that you want to customize. 

Create 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 extension in 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.

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 application element selected. 

Properties

Open the property sheet for selected element.

Compare

Compare the element with the different version of the same element from a source code control repository or file on the disk.

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 hierarchy tool that generate a diagram to display the class or table hierarchy. Table also has command Open table browser, which can be used to display data in table as a list in the program.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset