找不到在colorPaletteUrl中指定的主题文件. [英] The theme file specified in colorPaletteUrl was could not be found.

查看:80
本文介绍了找不到在colorPaletteUrl中指定的主题文件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部

我正在尝试通过PowerShell应用主题,但没有成功.我通过SharePoint Designer上传了文件,但是无法通过浏览器/powershell访问该文件

I am trying to apply theme through PowerShell but it is not going through. I uploaded file through SharePoint Designer but this file is not accessible through browser/ powershell

我收到以下错误消息.

指定的主题文件
在colorPaletteUrl中找不到.

The theme file specified
in colorPaletteUrl was could not be found.

这是我正在使用的网址http://mydomain/_catalogs/theme/15/customfile.spcolor

Here is the url I am using http://mydomain/_catalogs/theme/15/customfile.spcolor

任何人都有想法,我们如何访问通过SPD上传的.spcolor文件.

Anyone has idea, how we can access .spcolor file uploaded through SPD.

谢谢.

AM

AM高级SharePoint顾问

AM Senior SharePoint Consultant

推荐答案

SharePoint需要一些特定格式的url(例如,其中一些是相对路径).我会做一些逆向工程.我会尝试从UI创建一个,设置URL,然后使用SharePoint Manager检查路径并使用 PowerShell中的路径.从内存来看,我认为该网址应该是服务器相对网址,因此类似于"/_catalogs/..."
SharePoint requires some urls in specific format (some of them are relative path, for example). I would do a bit reverse engineering.  I would try to create a them from UI, set the url and using SharePoint Manager would check the path and use that path in PowerShell. From memory I think the url should be server relative url so something like "/_catalogs/..."


这篇关于找不到在colorPaletteUrl中指定的主题文件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆