Install

    1. Download the 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.
      • If you are on a platform other than Windows, such as Mac or Linux,  you need to install 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.

    • On Windows, double-click the startup.bat file in the unzipped folder. The batch file starts the Node.js server in the Command Prompt window and  Web AppBuilder  in your default browser with  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.
    • On other platforms,  open the  Command Prompt window, cd  to the /server directory of  the Web AppBuilder installation, and type node server.js. Once Node.js runs, start Web AppBuilder in the browser with 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.
    • Run with additional parameters and different ports.
      1. Open a command window and browse to the /server directory of   the Web AppBuilder installation.

        • On 64-bit Windows, type node_x64.exe server.js [-port=value] [-proxy=value].
        • On 32-bit Windows, type node_x32.exe server.js [-port=value] [-proxy=value].
        • On other platforms, type  node server.js [-port=value] [-proxy=value].
        Note:

        -port specifies the port  you want Node.js to run on, and -proxy specifies the proxy URL if needed.

      2. Start Web AppBuilder in the browser with the port number specified above at  http://[yourmachinename]:[yourport]/webappbuilder.
        Tip:

        If you have problems starting Web AppBuilder, see FAQs for more information.

    • Run as a Windows service:
      1. Install Node.js on your Windows platform.
      2. Run Command Prompt as administrator.
      3. Browse to the /server directory of Web AppBuilder, and run the npm install command.
      4. Run the npm run-script install-windows-service command.
      5. Start the ArcGISWebAppBuilder service from the Services window.
      6. To remove the ArcGISWebAppBuilder service, run the 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:

    Sign up for the ArcGIS Online Trial account at http://www.esri.com/software/arcgis/arcgisonline/evaluate.

  2. Click 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.
      • For ArcGIS Online organization or Portal for ArcGIS 10.3.1 and up:
        1. go to My Content, pull down Add Item and select An Application.
        2. In the Application dialog, for URL, enter http://[yourmachinename]:3344/webappbuilder. For Title, enter something that makes sense to you, such us Web AppBuilder for ArcGIS . For Tags, enter something that is easy for search, such as Registered Web AppBuilder.
        3. Keep the rest of options as default.
        4. Click ADD ITEM.
      • For Portal for ArcGIS 10.3:
        1. Go to My Content, click + Add Item.
        2. In the Add Item dialog, pull down The item is and select An application. For URL, enter http://[yourmachinename]:3344/webappbuilder. For Title, enter something that makes sense to you, such us Web AppBuilder for ArcGIS. For Tags, enter something that is easy for search, such as Registered Web AppBuilder.
        3. Keep the rest of options as default.
        4. Click ADD ITEM.
    3. In the item details page, click REGISTER under App Registration section.
    4. In the Register dialog, for  Redirect URI, add http://[yourmachinename]and  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.
    5. Keep the default value for App Type and click REGISTER.
    6. In the item details page, copy the App ID under App Registration.
    7. 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. Go to  /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. Provide your App ID again, and click Continue.
    8. Enter your credentials if not already logged in, or click 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

You are now ready to build your first app.

get app id的更多相关文章

  1. An App ID with Identifier 'com.XXX.XXX’ is not available. Please enter a different string.报错

    昨天刚刚升的Xcode7.3和iOS9.3,然后没怎么使用这两样就下班了,但是今天早上来了之后,就发现突然之间不能真机测试和运行代码了,一看才发现xcode报错: An App ID with Ide ...

  2. 关于Certificate、Provisioning Profile、App ID的介绍及其之间的关系

    1.概念介绍 如果你拥有一个开发者账户的话,在iOS Dev Center打开Certificates, Indentifiers & Profiles,你就可以看到如下的列表: Profil ...

  3. 微信小程序开发之如何哪获取微信小程序的APP ID

    微信小程序的开发工具,在新建项目的时候,默认提示填写APP ID,如果不填写AppID 也是可以本地测试和开发的,但是无法通过手机调试,只能在开发工具里查看 如果需要真机调试微信小程序,需要安装微信6 ...

  4. 如何获取应用宝APP ID

    二百二维码支持绑定应用宝ID后,android 扫码下载后,微信直接下载APP,不打开应用宝页面,非常方便APP进行推广 那如何获取应用宝APP ID呢, 请参考下面的教程    一, 打开http: ...

  5. <转>关于Certificate、Provisioning Profile、App ID的介绍及其之间的关系

    转自:http://www.cnblogs.com/cywin888/p/3263027.html 刚接触iOS开发的人难免会对苹果的各种证书.配置文件等不甚了解,可能你按照网上的教程一步一步的成功申 ...

  6. xcode7无证书真机调试 Error: An App ID with identifier "*" is not avaliable. Please enter a different string.

    1. Error: An App ID with identifier "*" is not avaliable. Please enter a different string. ...

  7. 免费开发者证书真机调试App ID失效问题:"Unable to add App ID because the '10' App ID limit in '7' days has been exceeded."解决方案(5月5号)

    免费开发者证书真机调试App ID失效问题:"Unable to add App ID because the '10' App ID limit in '7' days has been ...

  8. (转)关于Certificate、Provisioning Profile、App ID的介绍及其之间的关系

    转自http://www.cnblogs.com/cywin888/p/3263027.html 刚接触iOS开发的人难免会对苹果的各种证书.配置文件等不甚了解,可能你按照网上的教程一步一步的成功申请 ...

  9. 关于IOS的证书、App ID、设备、Provisioning Profile详述

    首先,打开developer.apple.com ,在iOS Dev Center打开Certificates, Indentifiers & Profiles认识一下基本结构.列表就包含了开 ...

  10. Certificate、Provisioning Profile、App ID

    关于 Certificate.Provisioning Profile.App ID 的介绍及其之间的关系 2014-03-13 15:26 13416人阅读 评论(1) 收藏 举报   目录(?)[ ...

随机推荐

  1. java 关键字static

    在Java中static表示“全局”或者“静态”的意思,用来修饰成员变量和成员方法,当然也可以修饰代码块. Java把内存分为栈内存和堆内存, 栈内存用来存放一些基本类型的变量.数组和对象的引用, 堆 ...

  2. Material design之New Widgets(RecyclerView CardView)

    New Widgets:提供了两个新的控件 RecyclerView CardView 这两个控件包含在了Android L的support library中, 他们可以用于显示复杂的布局而且都默认采 ...

  3. Android中流式布局和热门标签

    1.流式布局特点.应用场景.2.自定义ViewGroup (1)onMeasure:测量子View的宽和高,设置自己的宽和高. (2)onLayout:设置子View的位置. onMeasure:根据 ...

  4. A1231. Crash的数字表格(贾志鹏)

    A1231. Crash的数字表格(贾志鹏) 时间限制:2.0s   内存限制:512.0MB   总提交次数:410   AC次数:154   平均分:63.93   将本题分享到:        ...

  5. shared_ptr & weak_ptr

    shared_ptr <1> 类模板说明 namespace boost { class bad_weak_ptr: public std::exception; template< ...

  6. mysql返回字符串在另外一个字符串中第n次出现的方法。

    SELECT SUBSTRING_INDEX("迟到50分钟,早退15分钟","分钟",2); 返回:迟到50分钟,早退15

  7. [hihoCoder] KMP算法

    Each time we find a match, increase the global counter by 1. For KMP, algorithm, you may refer to th ...

  8. angularJS中的ng-show、ng-if指令

    angularJS中的ng-show.ng-hide.ng-if指令都可以用来控制dom元素的显示或隐藏. 1. ng-show和ng-hide 根据所给表达式的值来显示或隐藏HTML元素.元素会渲染 ...

  9. Character Sets, Collation, Unicode :: utf8_unicode_ci vs utf8_general_ci

    w Hi, You can check and compare sort orders provided by these two collations here: http://www.collat ...

  10. 剑指Offer——旋转数组的最小数字

    题目描述: 把一个数组最开始的若干个元素搬到数组的末尾,我们称之为数组的旋转. 输入一个非递减排序的数组的一个旋转,输出旋转数组的最小元素. 例如数组{3,4,5,1,2}为{1,2,3,4,5}的一 ...