As you add forms, modules, and other items to your application, you may want to organize related application elements into groups, or copy and move them. You can create application groups for related forms and other elements, then drag and drop forms and elements from one application group to another, or copy individual application element to the Clipboard library.
You can then move application elements to an application group or collection, or export them. You can also save an application group to a collection, or export and import application groups between projects.
In addition to including forms, modules, and related elements in your project, you can make a variety of related resources such as test scripts, specifications, and HTML files available in your project by adding them to the Other Resources folder in Project Explorer.
The following topics provide additional information about using application groups, the Clipboard library, and the Other Resources folder:
Add an Application Group to a Collection
Copy an Application Element to the Clipboard Library
Export and Import an Application Group
Adding Other Resources to Your Project
You can create a new application group for mobile, tablet, desktop or watch channels. Kony Visualizer automatically creates an a group with the same name for the form's associated modules and controllers.
To create an application group in a Kony Reference Architecture project:
For mobile, tablet, and desktop channels, Kony Visualizer also adds a corresponding group to the require folder of the Modules node. For the watch channel, Kony Visualizer adds a corresponding group to the Watch folder of the Modules node.
You can nest application groups and include a variety of elements within the group, including forms and components. You can also move elements between groups by dragging and dropping them from one group to another.
To create an application group in a Free Form JavaScript project:
You can nest application groups and include a variety of elements within the group, including forms and components. You can also move elements between groups by dragging and dropping them from one group to another.
Once you have created an application group, you can make it available to all of your application projects by adding it to a collection.
To add an application group to a collection:
If any elements of the application included bundled services, Kony Visualizer prompts you to select and package the services. When you use the application group in an application, Kony Visualizer adds the services to the application.
You can make an individual application element available to other application projects by copying it to the built-in Clipboard library. You can copy a single form, multiple forms, components, code modules, and masters created in earlier versions of Kony Visualizer. When you copy forms, any associated templates or controller modules are copied with them.
Once you have copied an application element to the Clipboard library, you can insert it into an application group, move it to a collection, or export it to your computer, network, or the cloud.
Note: There are some restrictions on what can be copied to the Clipboard library, depending on the type of application project. When you copy an application element to the Clipboard library from a Kony Reference Architecture project, you cannot insert into or move it to a Free Form JavaScript project. Also, when you copy a form from a Free Form JavaScript project to the Clipboard library, named actions and popups are not included. For more information on types of Kony custom application projects, see Types of Projects.
To copy an application element to the Clipboard library:
To insert an application element in the Clipboard library into an application group:
To move an application element in the Clipboard library to a collection:
To export an application element in the Clipboard library to your computer, network, or the cloud:
You can share application groups between projects without adding them to a collection by exporting and importing them. For example, if you have created an application group in your project and want to use it in a different project, you can export it to your computer, network, or the cloud, and then import it into another project.
To export an application group:
The exported application group includes all forms and corresponding modules associated with the application group, including any nested folders.
To import an application group:
The imported application group includes all forms and corresponding modules associated with the application group, including any nested folders.
In addition to including forms, modules, and related elements in your project, you can add a variety of related resources such as test scripts, specifications, and HTML files. These resources are listed in the Other Resources folder in Project Explorer.
To add resource files to your project:
To view or edit a resource file in Kony Visualizer:
Text (.txt)
Gherkin (.feature)
JSON (.json)
XML (.xml)
Java (.java)
Python (.py, .pw)
HTML (.html, .htm)
Javascript (.js)
CSS (.css)
Swift (.swift)
Plist (.plist)
Kony Visualizer opens files with other file types using the default application associated with the file type.
| Rev | Author | Edits |
| 8.0 | SHS | SHS |
| Copyright © 2013 Kony, Inc. All rights reserved. |