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

开发SharePoint 2013 App 一

 

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

开发SharePoint 2013 App 一

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

开发SharePoint 2013 App 一

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

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

配置appmanifest.xml修改app权限

开发SharePoint 2013 App 一

试试部署上去,出错了

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)

部署结果

开发SharePoint 2013 App 一

相关文章:

  • 2022-12-23
  • 2021-07-20
  • 2021-07-03
  • 2022-02-08
  • 2021-12-02
  • 2021-12-07
  • 2021-08-30
  • 2022-01-29
猜你喜欢
  • 2022-02-18
  • 2022-03-09
  • 2021-12-05
  • 2021-12-02
  • 2021-12-02
  • 2022-03-10
  • 2021-10-22
相关资源
相似解决方案