For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Registering Windows applications from the MobileFirst Operations Console

We can use the IBM MobileFirstâ„¢ Platform Operations Console to register your Windows application to an instance of MobileFirst Server.


Overview

You must have the IBM MobileFirst Platform Operations Console running on the MobileFirst Server targeted for registration. For more information, see The IBM MobileFirst Platform Foundation Developer Kit.

We can register an app on the server before or after setting up the Visual Studio environment (see Methods of setting up your environment). You must register your app to the server before developing code that accesses server resources.


Procedure

  1. In the MobileFirst Operations Console, navigate to the Register Application page by using one of the following methods:
    • In the navigation sidebar, select New next to Appilcations.

      Console navigation-bar app-registration button

    • From the Dashboard, select Register an App.

      Console dashboard app-registration tile

  2. On the Register Application page, select the Windows option and then select the appropriate Windows platform you are working on.

    Screen capture of the Register Application page, showing the fields for the app name, platform, package, and version

  3. Update the following values for the application you are registering:

    • Application Name: This is for display and can be any convenient value. It is optional.
    • Package identity name: This is typically the name of your Visual Studio project and can be found in the Package.appxmanifest file in your Visual Studio project.
    • Version: The version number of your Windows app. This should match the version as it appears in the Package.appxmanifest file.
  4. Click the Register application button. From the main Dashboard page, your application is now listed under the default mfp runtime.

    Screen capture showing how a registered app is displayed in the Dashboard

    Note: The mfp runtime is the default value for the wlServerContext parameter in the mfpclient.resw file below.

  5. Click the application name to display the main configuration page for our app. The main page for our app displays different configuration options for the server-side registration of your app.

    Screen capture showing the registered application and its server-side configuration options

  6. Click the Configuration Files tab. The Client Configuration File tab displays a template for creating your mfpclient.resw file. This file is used for connecting the client app to the server. For information on populating the values in the file and copying it to your Visual Studio project, see Client property file for Windows 10 Universal Windows Platform and Windows 8 Universal.


Results

The app is registered on the target server.


What to do next

To complete the client-server registration, we must complete the required properties in the mfpclient.resw file and copy it to our Visual Studio project.

Parent topic: Registering Windows applications to MobileFirst Server