+

Search Tips   |   Advanced Search

Create application components from MobileFirst projects

We can create an application component based on a MobileFirst project. You define metadata information, such as the name of the component and its version number, and you select the project resources to include in the application component.

  1. From the Explorer view in MobileFirst Studio, right-click the project.and click Create Application Component.

  2. Provide metadata information in the fields listed in the following table:

    Field Description
    Name Name of the application component. Spaces are allowed in this field.
    ID Unique identifier for the application component. This is a read-only field. The identifier is the combination of information specified in the Name field (using upper case characters and without spaces) together with unique identifiers.
    Author Author or provider of the application component.
    Version Version of the application component expressed in VRM (version, release, modification) format; for example, 1.0.1.
    Description Short description of the application component.
    Image Thumbnail image that represents the application component. Supported resolution: 15x12 pixels.

    If we enter metadata information using certain non-Western character sets, the information might be displayed in XML encoded format in the component.wcp file. This does not affect the usability of the application component in any way. The characters are interpreted correctly by XML processors; for example, when you view the file using a web browser such as Firefox, it will display the correct character set.

  3. From the Application list, select the application to use as a basis for the application component, and then click Next.

  4. In the panel that displays the project resources, select the check box next to each resource to include in the application component. Consider including the files that you think would be useful as a component. Do not try to include the files that are in any case generated by default by a MobileFirst project.

  5. Click Browse and specify the location and filename of the application component, and then click Finish. The file extension must be .wlc or .zip.


Results

The application component is created with the location and filename you specified.


What to do next

We can now view the contents of the application component and add hooks to facilitate automation.


Parent topic: Application components