开发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

转载于:https://www.cnblogs.com/frankzye/archive/2013/02/19/2917029.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值