使用网站模板创建子网站时缺少Sharepoint 2013 MobileExcelWebAccess功能
我想将网站集中的一个子网站转移到另一个网站集中(均在Sharepoint 2013中)。我制作了一个包含内容的网站模板,这样我就可以将其转移到另一个网站集。我上传了解决方案并激活了它。我确保激活的功能完全相同。但是,当我创建一个新的子网站并选择使用上载的解决方案时,我会继续收到一条错误消息,说它缺少一个名为“MobileExcelWebAccess”的功能 我不知道在哪里可以找到那个特征。我确实启用了每个网站功能和网站集功能,但最终还是出现了这个错误。我在其他资源上读到过,它可以在中央管理上找到,但我没有访问权限使用网站模板创建子网站时缺少Sharepoint 2013 MobileExcelWebAccess功能,sharepoint,sharepoint-2013,missing-features,Sharepoint,Sharepoint 2013,Missing Features,我想将网站集中的一个子网站转移到另一个网站集中(均在Sharepoint 2013中)。我制作了一个包含内容的网站模板,这样我就可以将其转移到另一个网站集。我上传了解决方案并激活了它。我确保激活的功能完全相同。但是,当我创建一个新的子网站并选择使用上载的解决方案时,我会继续收到一条错误消息,说它缺少一个名为“MobileExcelWebAccess”的功能 我不知道在哪里可以找到那个特征。我确实启用了每个网站功能和网站集功能,但最终还是出现了这个错误。我在其他资源上读到过,它可以在中央管理上找到
如果我无法在新站点中启用它,有没有办法在我的旧站点中禁用它?尝试从SharePoint 2013管理Shell运行此命令:启用SPFeature MobileeExcelWebAccess-Url http://[替换为您的Url]Ola Ekdahl的简单行脚本对我不起作用,但这确实起到了作用: 用网站集url替换$url 将脚本保存在.ps1文件中 在管理员模式下打开SharePoint Online Management Shell并执行脚本,如所示\ 将弹出提示,询问您的凭据(管理员)有关网站集的信息
$url = "https://<your site collection url>"
$clientDll = [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client")
$runtimeDll = [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.Runtime")
$cred = get-credential
$clientContext = New-Object Microsoft.SharePoint.Client.ClientContext($url)
$credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($cred.username, $cred.password)
$clientContext.Credentials = $credentials
if (!$clientContext.ServerObjectIsNull.Value)
{
Write-Host "Connected to SharePoint site: '$Url'" -ForegroundColor Green
}
$clientContext.Site.Features.Add('e995e28b-9ba8-4668-9933-cf5c146d7a9f',$true,[Microsoft.SharePoint.Client.FeatureDefinitionScope]::None)
$clientContext.ExecuteQuery()
$url=“https://”
$clientDll=[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint.Client”)
$runtimeDll=[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint.Client.Runtime”)
$cred=获取凭证
$clientContext=新对象Microsoft.SharePoint.Client.clientContext($url)
$credentials=新对象Microsoft.SharePoint.Client.SharePointOnlineCredentials($cred.username,$cred.password)
$clientContext.Credentials=$Credentials
if(!$clientContext.ServerObjectsAll.Value)
{
写入主机“已连接到SharePoint网站:“$Url”-ForegroundColor绿色
}
$clientContext.Site.Features.Add('e995e28b-9ba8-4668-9933-cf5c146d7a9f',$true,[Microsoft.SharePoint.Client.FeatureDefinitionScope]::无)
$clientContext.ExecuteQuery()
资料来源: