Skip to main content

Posts

Showing posts from 2011

SharePoint 2010 Branding: Change site actions and welcome menu arrows

Here's how you can do it. Hide the image and give our custom image element a background image. Look Like: .ms-viewselector-arrow {     background: transparent url('/PublishingImages/images/Arrow.png') no-repeat scroll 0 0;     height: 4px; /* height of the image */     width: 5px; /* width of the image */ } .ms-viewselector-arrow img {     display: none; }

All Site Content and Recycle Bin are missing from Quick Launch from Page Layout-based pages

I created a Team Site inside this team site, I enabled the Publishing Infrastructure Features, so that I can create pages based on Page Layout. By enabling the publishing feature . Note that 'All Site Content' and 'Recycle Bin' is missing. After search from IE Developer i could find was CSS style, 'display:none;'. i removed display:none style and added this  .s4-specialNavLinkList  { display:block !important; }  then i was able to see All Site Content & Recycle Bin.

SP 2010 Masterpage on Team Site

​If you create a Team Site by default you can no longer change the masterpage from 'Site Settings' / 'Look and Feel'. You must first now enable the Site Collection feature: "SharePoint Server Publishing Infrastructure" and the Manage Site Feature: "SharePoint Server Publishing" To do this go to 'Site Settings' under 'Site Actions':

SharePoint 2010 New Features

Since Microsoft announced SharePoint 2010, the community has been speculating what are the new features that might offer. New User Interface including Ribbon Web Edit Silverlight WebPart Rich Theming Multiple Browser Support Visio Services Business Connectivity Services SharePoint Workspace Rich Media Support Tagging any type of content/site Streamlined Central Administration SharePoint Best Practices Analyzer Usage Reporting and Logging Large List Resource Throttling Unattached Content Database Recovery Visual Upgrade Language Integrated (LINQ) for SharePoint Developer Dashboard Business Connectivity Services Client Object Model (OM)

applying default page template to list form(NewForm.aspx,EditForm,DispForm) pages

 1.   Open a list. 2.   Copy the default.aspx page and paste in the list. 3.   Select the smart part and the list form web part’s html code in between the Zone template of the web part zone where the smart part exists in the original listform(NewForm or Edit or Display form) 4.   In the copy of the default page delete the content in between the of the top left web part zone. 5.   paste the copied contents from the original list form in between the of the web part zone 6.   Rename the original Page to NewForm1.aspx or respectively 7.   Rename the copy of the default page to respective list form name(NewForm.aspx for example). 8.   Remove all other web parts in the page Top Right, bottom right, bottom left. 9.   Copy the register tag prefix of smart part from the original list form to the new list form <%@ Register tagprefix="SmartPart" namespace="SmartPart" assembly="ReturnOfSmartPart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9f4da00

STSADM Command Line Reference

Database AddcontentDB stsadm.exe -o addcontentdb            -url   -databasename            [-databaseserver ]            [-databaseuser ] DeletcontentDB stsadm.exe -o deletecontentdb  -url            -databasename            [-databaseserver ] Feature Activatefeature    stsadm.exe -o activatefeature            {-filename | -name | -id }            [-url ]   [-force] Deactivatefeature    stsadm.exe -o deactivatefeature            {-filename | -name | -id }            [-url ]    [-force] uninstallfeature    stsadm.exe -o uninstallfeature            {-filename | -name |             -id }  [-force]

Introduction to Content Types

http://msdn.microsoft.com/en-us/library/ms472236.aspx Create a site content type based on the Document parent content type On the Site Actions menu click Site Settings and Modify All Site Settings . On the Site Settings page under Galleries , click Site content types . On the Site Content Type Gallery page, click Create . On the New Site Content Type page, type a Name for the content type (for example Samples), select Document Content Types from the Select parent content type from drop-down list box. Select Document from the Parent Content Type drop-down list box, select Custom Content Types from the Existing group drop-down list box, and click OK . On the Site Content Type page under Settings , click Advanced settings . On the Site Content type, Advanced Settings page, select Upload a new document template , and then click Browse to browse to and select the excel document

Upgrade Sharepoint Site 2007-2010

Database Changes: Take Backup of the current content database of myrtb site(2007 site) from SQL Server. In SQL Management Studio, create new DB and restore the content database, need to change an option in the "options" tab of the restore dialog to get it to work. (Overwrite db). Site Changes: Create a "New Web Application" in SP2010. Remove Content Database of newly Created site. c:\program files\common files\microsoft shared\web server extentions\14\bin. stsadm -o deletecontentdb -url http://*** -databasename -databaseserver . Now restore the DB to the created Web Application from STSADM stsadm -o addcontentdb -url http://*** -databasename yourcontentdb -databaseserver yoursqlserver

Copy item from one list to another, using Sharepoint designer workflow 2010

SPD Workflow How to create a workflow that copies a list item to another list for this we need basically two lists " Test1" and Test2". 1. Open Sharepoint Site in sharepoint Designer 2. From Ribbonbar click List workflow select the list to create workflow. 3. Enter the Workflow Name. 4. From the ribbonbar click "Condition" from common condtions click "If any value equal value" 5. Write the condition. Here I am writing the source list “Field” equal to destination list “Field”. For writing this codition follw the below steps. a.    Select source list field . b.    Select the Condition from condition dropdown and select the Destination list field. 2.    Now, click on the Actions button to perform what action to be done if the condition is satisfied. 3.    Select ‘Set Field in Current List” Action”, It will display Set “Field” to “Value”. 4.    Click Field hyper link it will show current list field name. Select one field from the list. 5.