The first step in working with a project is creating one! Once you launch the Designer, the Open/Create Project window is displayed. Here you have the option to create a new project or open an existing project. Let's create a new project!
After opening the Designer, click on Create a New Project button. The New Project Setup window is displayed.
Enter the Project Name (required) and any other configuration settings you need for your project. Most settings are optional. Refer to the New Project Setup Properties Table below for a description of each property.
It is not advisable to change the Project Name after it's been created, instead, change the Title property in Config > Projects if you want to change how the project appears later. |
New Project Setup Properties
Property | Description |
---|---|
Project Name | The Project Name can only consist of alphanumeric characters and the '_' (underscore) character. Spaces and other special characters are not supported. Note: It is not advisable to change the Project Name after it's been created, instead, change the Title property in Config > Projects if you want to change how the project appears later. |
Project Title | This is the name that will be displayed on the launch page of the Gateway and in the runtime Client or Session, (optional) There are no restrictions on using special characters or spaces. If you do not specify a title, the project name will be displayed on the Gateway launch page and in the runtime. |
User Source | Controls access to the project. If this field is left blank, the 'default' user source is set. For more information or to add users, see Security. |
Default Database | Select a Default Database (optional). Any queries to the database will use this default database connection unless explicitly specified otherwise. |
Default Tag Provider | Select a default Tag Provider (optional). Most installations will likely only have one provider, but in situations where there are more than one, this is the provider that will be used unless explicitly specified otherwise. |
Parent Project | Each project may have a parent project, and will inherit all of the resources of that parent project, (optional). Click the dropdown list to see all the available options. |
Project Template | Select a Project Template (optional). There are several pre-built project templates focused on navigation that support either Perspective or Vision: Perspective Menu Nav, Perspective Web Nav, Vision 2-Tier Tab Nav, Vision Tab Nav, and Vision Tree Nav. Click the dropdown to see all the available options. |
Description | Enter a description of the project (optional). Note that once a project is created, this description can be viewed on the Open/Create Project screen when you hover over the Information icon. |
To create a new project or open a different project from within the Designer, use the File > Open menu in the top menubar.
The Open/Create Project screen will be displayed. You can choose from existing projects or create a new project.
Project settings such as the title, description, connections, and inheritance are set through the Gateway Webpage Config Tab, under System > Projects. For more information, see Projects.
The Designer workspace is centrally located and organized by panels. Some of the panels include a Project Browser, Tag Browser, Component Palette, and Property Editor. These panels can change depending on the type of resource you are currently editing. For example, if you are editing a Perspective view or Vision window, the Designer workspace has Component Palette and Property Editor panels. If you're editing an Alarm Notification Pipeline, your Designer workspace will be the Pipeline Block Editor. If you're editing a Report, your Designer workspace will be the Report Designer. Each type of workspace has panels that are only valid when that workspace is active.
Here are two images showing the Perspective Designer workspace and Vision Designer workspace, and an example displaying the same components. At a glance, they look very similar, but there are some differences, including each having their own Component Palettes. To learn more, refer to the Perspective Designer Interface and the Vision Designer Interface pages.
The Designer has a host of tools to help you accelerate building, testing, and deploying your project. Let's talk about a few here.
In addition to all the panels available in the Designer workspace, there is also a Tools menu to help you create your projects.
The Designer provides the capability to preview, test, and interact with the screens and functionality before you deploy your project. The Designer workspace operates in two distinct modes: Design mode and Preview mode. Designers can easily switch between these modes to make sure their project is working as expected during the course of development by simply clicking Preview Mode icon from the top menubar, or clicking Project also from the top menubar, and selecting Preview Mode.
The Preview Mode |
The Find and Replace is a handy tool in the Designer workspace. You can search your entire project for specific components, properties, and scripts. You can even use the replace command to make mass changes expeditiously to a project with very little effort.
There are a lot of ways to speed up your development once you are familiar with how Ignition works. There are many keyboard shortcuts in Designer that are listed throughout the Designer interface alongside menu options.
The Ignition Designer uses a lock-free strategy for handling concurrent editing. Multiple people can work together and make changes to a project at the same time. An unlimited number of Designers can be open concurrently, and modifying any resource in the Designer doesn't lock it. The Designer keeps track of the resources that are being edited, and any conflicting edits will be resolved at the time the project is saved. The developer who creates a saving conflict will be prompted to resolve the conflict by choosing whether to use their own changes, accept the other designer's changes, or cancel their save and figure out what to do in another way.
Version 8.0.10 added the Concurrent User Interface that allows users to see which project resources are open in other Designer instances, the names of the users that have them open, and when a project update is available. The new UI is located in the lower right corner of the Designer.
If you open a resource that is already open in another Designer, you will be greeted with a new popup confirming that you want to proceed.
The UI makes use of the color red to denote when there are conflicts with the changes in another Designer instance, or if their users are saving on overlapping resources (multiple users are making changes and saving while the same resource is open).
If the user in the other Designer instance saves their project, the UI will display that a project update is available. Click on Project Update Available to either update or cancel the project update.
When you're ready to save your project, go to the Menubar and select File → Save. When the Save Project dialog pops up, select the items you want to save and click the Save button.
If there are any conflicts, the Designer will ask you to update your project and the conflict resolution screen will open automatically. You will see a thumbnail image of both screens and the .json code showing the conflict. To resolve the conflict, you will be given a choice; accept your changes, accept the other developer's changes, or cancel the save and contact the other developer. Buttons are provided at the top and bottom of the screen for you to enter how you want to resolve the conflict.
The Resource Tree displays the conflicts and the resolutions. The selected conflict will be highlighted in blue. The image below shows changes were made to the Thermometer. The line number and the code are highlighted at the bottom so you can quickly identify the conflict. Once the conflict is resolved, a checkmark will appear in the Resolution column next to the conflict and how it was resolved. You'll notice that there is second conflict. To resolve the conflict, select it in the Resource Tree or click the arrow to navigate to the next conflict.