zoukankan      html  css  js  c++  java
  • 开发SharePoint 2013 App 一

    使用sharepoint 2013标准开发工具vs2013, 创建我们的第一个app

    image

    接下来要我们选择app名称,调试站点名称,还有选择app宿主类型, 如果使用sharepoint云,那可以选择Autohosted(Azure), Provider-hosted,如果使用本地SharePoint环境,选择SharePoint-Hosted,我选择的是SharePoint-Hosted

    image

    漫长的等待后,出现的是熟悉的开发场景Features+Elements组合

    image

    部署之前,先确认是否已经执行此文章做的步骤

    http://msdn.microsoft.com/en-us/library/fp179923.aspx

    配置appmanifest.xml修改app权限

    image

    试试部署上去,出错了

    Uninstall app for SharePoint:
      Skipping the uninstall step because the app for SharePoint is not installed on the server.
    Install app for SharePoint:
      Uploading the app for SharePoint...
    Error occurred in deployment step 'Install app for SharePoint': The System Account cannot perform this action.

    Sharepoint apps是不允许服务器场管理员去安装app的,这该死的设置, 我只能去更改服务器场管理员, 再重新部署

    部署成功

    如果遇到需要重复登陆的,做如下操作

    1. Click on Start -> Run and type regedit.
    2. Locate the key 3. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
    4. Right click on this key and choose New > DWord Value
    5. Name this one "DisableLoopbackCheck"
    6. Double-click then on it and type the value “1”
    7. Reboot your server. (Mostly not required)

    部署结果

    image

  • 相关阅读:
    帮助智力障碍的可怜儿童
    PE556
    ZJOIDay2T1 BB题解
    CTSC2016游记
    再次被老爸钦点退役
    欧拉筛
    考据
    51nod 1020 逆序排列(动态规划)
    51nod 1186 质数检测(Miller-Rabin算法)
    大整数类模板
  • 原文地址:https://www.cnblogs.com/frankzye/p/2917029.html
Copyright © 2011-2022 走看看