English 中文(简体)
2005年6月30日 如果手工操作或权力书写,特性启动并不相同。
原标题:SharePoint2010 Feature activation does not act the same if manually or powershell script

我有一个包含3个特征的共享点解决办法。 其中一个特征是网站范围,有两个内容在网上。

The site feature contains different lists, 2 workflows and content types. Two of them are quasi similar, one is called CTTaskAchat, and the other one is called CTTaskAccord The two web features contains lists definitions, lists instance and event Receiver.

当我用我的权力书来部署解决办法时,我用权力字母来形容该特征时,几乎所有东西方都做过罚款。 问题是,我无法找到任何内容的字典。 我不理解为什么可以找到,而我可以找到的内容类型。

如果用我的权力说明来部署解决办法,但我以人工方式(即通过场地设置菜单)启动该特征,则内容类型确实存在。

因此,如果你有任何想法,我可以找到解决办法。

为了了解你的情况,我很想删除所有现场收集工作,并建立一个新的网站,但更新了解决办法,这样是不可能的。

EDIT :我刚刚注意到,该特征的某些其他要点没有启动(我有一份名单,其中附有权力,但在手工操作该特征时就存在)。

最佳回答

您能够找到以下内容: 现场行动――> Galleries -> Site content打字。

when you activated the site feature just check the feature is activated properly.

问题回答

暂无回答




相关问题
Mutually exclusive powershell parameters

SCENARIO I m writing a cmdlet for Powershell 2.0 using Visual Studio 2008 and .NET 3.5 the cmdlet requires 3 arguments. my intended grammar of the cmdlet is something like this: cmdletname [foo|...

Run a program from PowerShell with timeout

I ll write a script that runs a program and wait for it finished. But if the program is not finished within a specified time I want that the program is killed.

How to transpose data in powershell

I have a file that looks like this: a,1 b,2 c,3 a,4 b,5 c,6 (...repeat 1,000s of lines) How can I transpose it into this? a,b,c 1,2,3 4,5,6 Thanks

Powershell v2 remoting and delegation

I have installed Powershell V2 on 2 machines and run Enable-PsRemoting on both of them. Both machines are Win 2003 R2 and are joined to the same active directory domain and I can successfully run ...

PowerShell -match operator and multiple groups

I have the following log entry that I am processing in PowerShell I m trying to extract all the activity names and durations using the -match operator but I am only getting one match group back. I m ...