Install

 

    1. Web AppBuilder for ArcGIS (Developer Edition) ZIP file to your local drive and unzip it.
    2. Because Web AppBuilder runs on top of Node.js, you must have  Node.js installed on your computer. The download package contains the Windows version of node.js. 
      • If you are on a Windows platform, you can follow the steps in the next section to start Web AppBuilder.
      • Node.js specifically on your platform first.  In  case you already have Node.js installed, make sure its version is 0.10.0 and later.
Note:

The minimum version of node.js supported by Web AppBuilder is 0.10.0.

Start Web AppBuilder

 

  1. Start Web AppBuilder based on your platform.
    • http://[yourmachinename]:3344/webappbuilder. If the browser is closed, you can reopen Web AppBuilder  in the same—or a different—browser as long as Node.js is running in the Command Prompt window.
    • http://[yourmachinename]:3344/webappbuilder. If the browser is closed, you can reopen Web AppBuilder  in the same—or a different—browser as long as Node.js is running in the Command Prompt window.
  2. Web AppBuilder runs on top of Node.js with the default port of 3344. To run Web AppBuilder with additional parameters,   different ports, or as a Windows Service,  complete the following steps. Otherwise, see the Specify your portal URL section.
    • /server directory of   the Web AppBuilder installation.
      • node_x64.exe server.js [-port=value] [-proxy=value].
      • node_x32.exe server.js [-port=value] [-proxy=value].
      • node server.js [-port=value] [-proxy=value].
      Note:

      -proxy specifies the proxy URL if needed.

    • http://[yourmachinename]:[yourport]/webappbuilder.
      Tip:

      FAQs for more information.

  • Node.js on your Windows platform.
  • Run Command Prompt as administrator.
  • npm install command.
  • npm run-script install-windows-service command.
  • Start the ArcGISWebAppBuilder service from the Services window.
  • npm run-script uninstall-windows-service command.
  • Specify  your portal URL

     

    1. Specify the URL for the ArcGIS Online organization or Portal for ArcGIS account that you want Web AppBuilder to access. To use Web AppBuilder, you must have an ArcGIS Online organization account, a Portal for ArcGIS account, or a ArcGIS for Developers account.
      Subscription:

      http://www.esri.com/software/arcgis/arcgisonline/evaluate.

    2. Continue.

    Provide App ID for Web AppBuilder

    Since this is  the first time you've used Web AppBuilder with the portal specified above, you may be asked to provide  an App ID for Web AppBuilder to support OAuth 2 authentication. For a specified portal, this process is required one time. When you subsequently start Web AppBuilder, you can log in to the  portal directly.

    Do the followings to retrieve an App ID

     

      1. Log in to the  portal you specified above.
      2. Add Web AppBuilder as an   item.
        • An Application.
        • Registered Web AppBuilder.
        • Keep the rest of options as default.
        • ADD ITEM.
    1. + Add Item.
    2. Registered Web AppBuilder.
    3. Keep the rest of options as default.
    4. ADD ITEM.
  • REGISTER under App Registration section.
  • https://[yourmachinename] as redirect URIs. Be aware that URIs with HTTP and HTTPS protocols are distinguished as two different URIs. It is strongly recommended adding both of them to the URI list to  avoid potential redirect issues.
  • REGISTER.
  • In the item details page, copy the App ID under App Registration.
  • In the browser, paste the App ID  into the text box of Web AppBuilder, and click Continue.

    If you get Error 400 with Invalid redirect_url, complete the following steps.

    1. /server directory of  the Web AppBuilder installation, delete signininfo.json file.
    2. Review  step 4. Update the existing App ID with the correct redirect URIs. You can also create a new App ID from the scratch.
    3. Refresh the browser running Web AppBuilder.
    4. Continue.
  • APPROVE with Request for Permission dialog.
  • An App ID is required by OAuth 2 authentication. See Authentication and OAuth 2. If you have problems logging on, see FAQs and Add apps and register your app

    Build your first app

    build your first app.

    相关文章:

    • 2021-08-22
    • 2022-02-07
    • 2022-12-23
    • 2021-11-17
    • 2021-11-20
    • 2021-11-21
    • 2022-12-23
    • 2022-12-23
    猜你喜欢
    • 2022-12-23
    • 2021-09-06
    • 2021-07-12
    • 2021-11-24
    • 2021-10-05
    • 2021-11-29
    • 2021-12-04
    相关资源
    相似解决方案