本文介绍了无法在SharePoint 2013中的模块部署的样式库中查看文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在Style库中使用SharePoint模块部署了一些css和JS文件。当我使用Visual Studio部署解决方案然后能够看到所有已部署的文件,但如果我通过不同服务器上的wsp包部署,那么当文件存在时我无法将这些文件
看到样式库并且可以通过SharePoint查看设计师。


GhostableInLibrary已经添加到文件标签中。以下是模块元素文件:


<?xml version =" 1.0" encoding =" utf-8"?>

< Elements xmlns =" http://schemas.microsoft.com/sharepoint/">

&NBSP; < Module Name =" OrgChart" Url ="样式库">

  &NBSP; < File Path =" OrgChart\OrgChart.html"地址="组织结构图/ OrgChart.html"类型=" GhostableInLibrary" />

  &NBSP; < File Path =" OrgChart\orgchart.css"地址="组织结构图/ orgchart.css"类型=" GhostableInLibrary" />

  < / Module>

< / Elements>

请帮我解决此问题。


问候


Lalit



解决方案

Hi,

I deployed some css and JS files using SharePoint module in Style library. When i deploy solution using Visual studio then able to see all deployed files as provisioned but if i deploy through wsp package on different server then i can't see these files into Style library while files are there and can see through SharePoint designer.

GhostableInLibrary is already added into file tag. Following is the module element file:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Name="OrgChart" Url="Style Library">
    <File Path="OrgChart\OrgChart.html" Url="OrgChart/OrgChart.html" Type="GhostableInLibrary" />
    <File Path="OrgChart\orgchart.css" Url="OrgChart/orgchart.css" Type="GhostableInLibrary" />
  </Module>
</Elements>

Please help me to resolve this issue.

Regards

Lalit

解决方案


这篇关于无法在SharePoint 2013中的模块部署的样式库中查看文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-11 06:10