Wednesday, April 28, 2010
Hiding Site Template(s) while creating new Site/Sub Site
These templates are available in Collaboration category in MOSS 2007.
If, I want to give option only to create Wiki Sites, then I will make changes in webtemp.xml for Collaboration Category.
Do an IISRESET and create a new site. You will only see WIKI Site option under Collaboration Category.
Friday, April 16, 2010
Error creating Project Web Access Site
After installation of Project Server 2007, while creating new Project Web Access Site, there was an error. “The Project Application Service doesn’t exist or is stopped. Start the Project Application Service”.
When I saw the services running on the Server in Central Administration Site, Project Application Service was stopped.
Simply, I started Project Application Service and it worked fine for me and Project Web Access site was created successfully.
Wednesday, April 14, 2010
SharePoint Error : Cannot complete this action. Please try again.
Today, while creating a new web application, I got error “Cannot complete this action. Please try again.” I tried to create another web application but same error was there again. However, when I examined web applications pools in IIS, both new web applications were there. When I clicked on “Create Site Collection” link in Central Administration site, newly created web applications were there for selection.
And site collections was created successfully.
Friday, April 2, 2010
ItemEventDefinition XML Schema
ItemEventDefinition, defined in wss.xsd, defines XML schema for List Item Events in List and Libraries.
<xs:complexType name="ItemEventDefinition">
<xs:complexContent>
<xs:extension base="EventDefinition">
<xs:sequence>
<xs:choice>
<xs:element name="ContentTypeFilter" type="ContentTypeFilterDefinition" />
<xs:element name="FieldChangedFilter" type="FieldChangedFilterDefinition" />
<xs:element name="FieldExpressionFilter" type="FieldRefDefinition" />
</xs:choice>
</xs:sequence>
<xs:attribute name="Scope" type="ItemEventScope" />
<xs:attribute name="EventType" type="ItemEventType" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- Item Event Scope Enumeration -->
<xs:simpleType name="ItemEventScope">
<xs:restriction base="xs:string">
<xs:enumeration value="Web" />
<xs:enumeration value="List" />
<xs:enumeration value="ContentType" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="EventDefinition">
<xs:sequence />
<xs:attribute name="ReceiverAssembly" type="AssemblyStrongName" />
<xs:attribute name="ReceiverClass" type="AssemblyClass" />
<xs:attribute name="Sequence" type="xs:int" />
<xs:attribute name="ReceiverData" type="xs:string" />
</xs:complexType>
<!-- Item Event Type, List Item Events -->
<xs:simpleType name="ItemEventType">
<xs:restriction base="xs:string">
<xs:enumeration value="ItemAdding" />
<xs:enumeration value="ItemAdded" />
<xs:enumeration value="ItemUpdating" />
<xs:enumeration value="ItemUpdated" />
<xs:enumeration value="ItemDeleting" />
<xs:enumeration value="ItemDeleted" />
<xs:enumeration value="ItemCheckingIn" />
<xs:enumeration value="ItemCheckedIn" />
<xs:enumeration value="ItemCheckingOut" />
<xs:enumeration value="ItemUncheckingIn" />
<xs:enumeration value="ItemUncheckingOut" />
<xs:enumeration value="ItemMoving" />
<xs:enumeration value="ItemMoved" />
<xs:enumeration value="ItemFileUpdating" />
<xs:enumeration value="ItemFileUpdated" />
<xs:enumeration value="ItemFileRenaming" />
<xs:enumeration value="ItemFileRenamed" />
<xs:enumeration value="ItemFileReceiving" />
<xs:enumeration value="ItemFileReceived" />
<xs:enumeration value="ItemAttachmentAdding" />
<xs:enumeration value="ItemAttachmentAdded" />
<xs:enumeration value="ItemAttachmentDeleting" />
<xs:enumeration value="ItemAttachmentDeleted" />
</xs:restriction>
</xs:simpleType>
SharePoint OOTB Themes Extensions
The other day, I had created some SharePoint themes extended from WSS 3.0 OOTB themes. Here are some screenshots attached with this post.