文档章节

Set up development environment for apps for SharePoint 2013

 木宛城主
发布于 2015/03/02 19:42
字数 463
阅读 2
收藏 0
点赞 0
评论 0

 

SharePoint 2013 support app development pattern.An app for SharePoint is small and isolate application that provides a specific bit of functionality.In order to provide isolate apps run in their own domain,instead of the same domain name as your farm.Using a different domain name for apps helps prevent cross-site scripting between apps and SharePoint sites.

Because apps run in their own app domain,so you will have to configure DNS in your environment in order to be able to host apps.So I will create a completely new domain for my apps.Creating a new domain specifically to host host apps in     is a bit secure,but it also requires a little bit more configuration.OK,let's begin.

Step 1 Create a new domain to host your apps in

  • Go to 192.168.123.19 Server
  • Select DNS Manager
  • Right Click "Forward Lookup Zone" and Select "New Zone"
  • Pop-up the "New Zone Wizard" and Click "Next" again
  • Specify a zone name

  • Click "Next" again,then "Finish" it.
  • Right click on your new zone and Select "New Alias(CName…)"
  • Pop-up the properties dialog and fill in a * for alias name
  • Click "Browse"
  • Navigate to the Foward Lookup Zone for the domain that hosts the sharepoint sites and then navigate to the record that points to the server that hosts the sharepoint site

Step 2.Configure an isolated app domain

Use PowerShell to Create an app management and subscription setting service application

Add-PSSnapin Microsoft.SharePoint.PowerShell

Set-SPAppDomain "gcp-app.com"
Get-SPServiceInstance | where{$_.GetType().Name -eq "AppManagementServiceInstance" -or $_.GetType().Name -eq "SPSubscriptionSettingsServiceInstance"} | Start-SPServiceInstance
Get-SPServiceInstance | where{$_.GetType().Name -eq "AppManagementServiceInstance" -or $_.GetType().Name -eq "SPSubscriptionSettingsServiceInstance"}
$account = New-SPManagedAccount

$account = Get-SPManagedAccount "gcp-clinplus\SPAppAccount" 
$appPoolSubSvc = New-SPServiceApplicationPool -Name SettingsServiceAppPool_New_R -Account $account
$appPoolAppSvc = New-SPServiceApplicationPool -Name AppServiceAppPool_New_R -Account $account


$appSubSvc = New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPoolSubSvc –Name SettingsServiceApp_New_R –DatabaseName SettingsServiceDB_New_R
$proxySubSvc = New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $appSubSvc

$appAppSvc = New-SPAppManagementServiceApplication -ApplicationPool $appPoolAppSvc -Name AppServiceApp_New_R -DatabaseName AppServiceDB_New_R
$proxyAppSvc = New-SPAppManagementServiceApplicationProxy -ServiceApplication $appAppSvc

Set-SPAppSiteSubscriptionName -Name "fapp" -Confirm:$false

 

Step 3 Add isolate app domain to bypass list in Internet Explorer(* not required)

After create isolate app domain,perform the steps in the following procedure to add that domain to bypass list in IE. To Ensure that you can navigate to this domain after you depoy a sharepoint-hosted app.

  • In Internet Explorer,go to Tool
  • Choose Internet option
  • On the Connection tab,choose the Lan Settings button
  • Clear the automatically detect settings check box
  • Select the Use a proxy server for your Lan check box
  • Choose Advance button, and add "*.gcp-app.com" to the Exception List
  • Choose Ok button and close Internet Option dialog box.

Step 3 Check SharePoint Central Administration Configure

Check you already created an App Management and Subscription Settings Service Application and that already started the App Management and Subscription Settings services on server.

  • Services Applications

  • Services on Server

 

  • Configure App Urls(* Check)

 

 

 

© 著作权归作者所有

共有 人打赏支持
粉丝 2
博文 222
码字总数 199010
作品 0
黄浦
sharepoint 使用Office Web Apps 查看或编辑office文档时页面出现:“抱歉,出现了问题”错误

sharepoint 2013 使用Office Web Apps 查看或编辑office文档时页面出现:“抱歉,出现了问题”错误 该问题是由于使用了系统账户登录站点而导致的。 更换其他账户登录问题解决。 其他错误还有...

pclzr ⋅ 2017/03/23 ⋅ 0

Office web apps 服务器运行一段时间之后CPU就是达到100%

office web apps服务器部署两台,采用服务器场的方式实现高可用,主要为Lync server 2013 提供共享PPT; exchange 2013、SharePoint 2013提供在线预览word、PPT、excel。 原因分析(Cause) ...

杰克斯帕罗 ⋅ 2017/11/02 ⋅ 0

SharePoint 2013技巧分享系列 - 隐藏Blog和Apps左侧导航菜单

企业内部网中,不需要员工创建Blog或者创建,安装SharePoint应用,因此需要在员工个人Web页面需要隐藏Blog或者Apps导航菜单, 其步骤设置如下: 该技巧适合SharePoint 2013 和Office 365。 ...

冷秋寒 ⋅ 2013/12/31 ⋅ 0

SharePoint 2013技巧分享系列 - 同步Exchange显示高清用户照片

在“SharePoint 2013技巧分享系列 - Active Directory同步显示用户照片”文中介绍了如何同步Active Directory显示用户照片,但是同步完成后,用户照片尺寸和清晰度都不是非常理想。本文将介绍...

冷秋寒 ⋅ 2014/09/23 ⋅ 0

Win10开启开发者模式

https://msdn.microsoft.com/library/windows/apps/xaml/dn706236.aspx 安装好Win10 和Vs2015后调试程序提示 进入Win10设置--->升级与安全--->开发者无选项(Win10 预览者版10074) 解决方法:......

Norman_li ⋅ 2015/07/16 ⋅ 0

微软新一代认证体系MCSE详解

2012年至2013年,微软将要发布大量的升级产品,它们分别是SQL Server 2012、System center 2012、Windows server 2012、Windows 8、Offce 2013、Exchange 2013、Lync 2013、Sharepoin 2013。...

taotie_ksl ⋅ 2016/09/29 ⋅ 0

【Powershell】早期操作系统如何更新安装Windows PowerShell 4.0

http://social.technet.microsoft.com/wiki/contents/articles/21016.how-to-install-windows-powershell-4-0.aspx Windows PowerShell 4.0 is part of the Windows Management Framework 4.......

xifalniang ⋅ 2016/09/02 ⋅ 0

Project Server 2016 权限模式

Project Server 从2013版开始,增加了sharepoint 模式,并默认使用sharepoint权限模式,设置中可以对比sharepoint权限模式(图一)和project server权限模式(图二)的显示区别: 可以使用命...

pclzr ⋅ 2017/05/16 ⋅ 0

SharePoint 2013常用开发工具分享

众所周知,一款好的开发工具不仅能提高项目开发效率,而且能够协助开发人员简化开发流程。本文汇总几款SharePoint 2013开发常用开发工具,希望能够对大家有所帮助。如果您有更好的工具,没有...

冷秋寒 ⋅ 2014/04/01 ⋅ 0

基于Windows Server 2012 r2环境部署 SharePoint 2013 SP1

在安装SharePoint 2013 服务器之前,请先了解硬件和软件要求 http://technet.microsoft.com/library/cc262485(office.15)?ocid=fwlink#section4 Microsoft SharePoint 产品准备工具会为具有内...

jonethon6273 ⋅ 2014/05/09 ⋅ 0

没有更多内容

加载失败,请刷新页面

加载更多

下一页

js模拟栈和队列

栈和队列 栈:LIFO(先进后出)一种数据结构 队列:LILO(先进先出)一种数据结构 使用的js方法 1.push();可以接收任意数量的参数,把它们逐个推进队尾(数组末尾),并返回修改后的数组长度。 2....

LIAOJIN1 ⋅ 24分钟前 ⋅ 0

180619-Yaml文件语法及读写小结

Yaml文件小结 Yaml文件有自己独立的语法,常用作配置文件使用,相比较于xml和json而言,减少很多不必要的标签或者括号,阅读也更加清晰简单;本篇主要介绍下YAML文件的基本语法,以及如何在J...

小灰灰Blog ⋅ 32分钟前 ⋅ 0

IEC60870-5-104规约传送原因

1:周期循环2:背景扫描3:自发4:初始化5:请求6:激活7:激活确认8:停止激活9:停止激活确认10:激活结束11:远程命令引起的返送信息12:当地命令引起的返送信息13:文件传送20:响应总召...

始终初心 ⋅ 45分钟前 ⋅ 0

【图文经典版】冒泡排序

1、可视化排序过程 对{ 6, 5, 3, 1, 8, 7, 2, 4 }进行冒泡排序的可视化动态过程如下 2、代码实现    public void contextLoads() {// 冒泡排序int[] a = { 6, 5, 3, 1, 8, 7, 2, ...

pocher ⋅ 55分钟前 ⋅ 0

ORA-12537 TNS-12560 TNS-00530 ora-609解决

oracle 11g不能连接,卡住,ORA-12537 TNS-12560 TNS-00530 TNS-12502 tns-12505 ora-609 Windows Error: 54: Unknown error 解决方案。 今天折腾了一下午,为了查这个问题。。找了N多方案,...

lanybass ⋅ 今天 ⋅ 0

IDEA反向映射Mybatis

1.首先在pom文件的plugins中添加maven对mybatis-generator插件的支持 ` <!-- mybatis逆向工程 --><plugin><groupId>org.mybatis.generator</groupId><artifactId>mybatis-generator-ma......

lichengyou20 ⋅ 今天 ⋅ 0

4.10/4.11/4.12 lvm讲解 4.13 磁盘故障小案例

准备磁盘分区 fdisk /dev/sdb n 创建三个新分区,分别1G t 改变分区类型为8e 准备物理卷 pvcreate /dev/sdb1 pvcreate /dev/sdb2 pvcreate /dev/sdb3 pvdisplay/pvs 列出当前的物理卷 pvremo...

Linux_老吴 ⋅ 今天 ⋅ 0

zabbix 3.4安装

#已装好lamp环境 1.安装相关yum仓库 rpm -i http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-2.el7.noarch.rpm #tip:rpm -ql zabbix-release 看上面这个软件装了哪些东......

山月关 ⋅ 今天 ⋅ 0

Java的Excel导出工具类

首先在POM中引入需要的Jar <dependency><groupId>com.alibaba</groupId><artifactId>fastjson</artifactId><version>1.2.47</version></dependency><dependency><groupId>o......

Kxvz ⋅ 今天 ⋅ 0

springboot 使用jsp

目录结构: 启动文件的Application必须在contorller文件的父级 文件路径在src/main/webapp下面 我的配置:前缀是/WEB-INF/jsp/ pom.xml需要加入tomcat-embed-jasper, 对jsp的支持的依赖 <de...

夜醒者 ⋅ 今天 ⋅ 0

没有更多内容

加载失败,请刷新页面

加载更多

下一页

返回顶部
顶部