Showing posts with label SharePoint 2010. Show all posts
Showing posts with label SharePoint 2010. Show all posts

Thursday, June 12, 2014

SharePoint 2010 June 2014 Cumulative Updates

June 2014 Cumulative Update for SharePoint 2010 has been released.

SharePoint Foundation - KB2880975
http://support.microsoft.com/kb/2880975

SharePoint Server 2010 - KB2880972
http://support.microsoft.com/kb/2880972

Project Server 2010 - KB2880974
http://support.microsoft.com/kb/2880974

Office 2010 June 2014 Cumulative Updates - KB2970263
http://support.microsoft.com/kb/2970263

Monday, May 19, 2014

SharePoint 2010 awesome resources

You might need to practice SharePoint 2010 a lot more but unavailability of such high configuration is common and you might need all the funds to invest for such machines but as many many people listed online and as MS did a great job in getting us the virtual labs available to us. 
I saw this MSDN blog online and thought that the publisher Eric Lingman did a great job in putting up the links in here. 


SharePoint Server 2010 Virtual Labs
In addition to the SharePoint Server 2010 Virtual Labs, here are a few other SharePoint 2010 resources that I thought you might also be interested in:
Lets learn all we can for free … happy learning.



Thursday, March 27, 2014

InfoPath Error: The form cannot be submitted

Error:
The form cannot be submitted because it contains validation error. Errors are marked with either a red asterisk (required filed) or a red, dashed border (invalid values)



 Background:
  • This is the most common error I noticed after getting customize with InfoPath feature enabled in SharePoint list
  • User has customized SharePoint list more precisely newform.aspx using InfoPath
  • And then suddenly started getting above error



Troubleshooting:
  • Open the list in InfoPath via list tab > customize form
  • It will open up newform.aspx in InfoPath
  • Once it is open check mandatory fields available in that form.
  • Make sure all mandatory fields are available and deployed in newform.aspx
  • Or
  • If you don’t want them to be displayed in newform.aspx just remove mandatory option
  • Republish the form and check behavior.




Feel free to reach me in case of any issues on above steps, thanks

NO data displayed in column

This is the most recent issue I came to know from one of my colleague. After moving a single file from source to destination the list went crazy.

Issue:
Column shows no data

Description
There was a requirement to move some files / items from List A to List B. And we used the most recommended way by using content and structure.


Background:

  • Source list: List A
  • Destination list: List B
  • Structure of both the list are same with same column name
  • Moved a single item from List A to List B
  • From List B opened a moved item
  • It showed blank / no data for some of the columns
  • Checked old items and found the same thing

Findings:

  • Total 3 columns affected Name, Manager’s name and status
  • List A and List B both has these 2 columns
  • List A contains all of these with “Single line of text” category.
  • While List B contains person or group for name and manager’s name and choice category for stats column
  • Also in List B found duplication of these columns with different category
  • And here is the catch, columns having the same name but with different category showed blank / no data

Resolution:




  • To make sure that the affected column shows wrong category, renamed one of the duplicated column
  • Found the same column showed up in all three forms (newform, dispform and editform)
  • Renamed it back to original one
  • Removed them directly from list settings

Wednesday, March 5, 2014

Things to be considered while applying Branding to SharePoint 2010 sites

  • Targeted audience
  • Is this an intranet, extranet, or the Internet?
  • Targeted browsers
  • Remember that IE6 is not supported out of the box.
  • Only 32-bit IE7 and IE8 on Windows are fully supported without limitations.
  • Other browsers are supported with some limitations.
  • Version of SharePoint
  • SharePoint Foundation
  • SharePoint Server
  • Screen resolution
  • The most common resolution now is 1024×768.
  • Will your users require something different?
  • Questions to ask
  • What is the time frame to create the brand?
  • Is this a new design or one based on an existing design?
  • Does this require any custom web parts or third-party web parts?
  • What navigation is required?
  • Horizontal
  • Vertical
  • Breadcrumb
  • They define the skeleton of a site.
  • They define the layout and flow of a web site.
  • They promote ideas without distracting with colors.

New Web Controls in SharePoint Designer 2010

To enable some of the new features in SharePoint 2010, new controls were created that you can use in your master pages. Below are few of the new controls and their purposes as they relate to customizing a master page. A complete list can be found at


Control
Description
CssRegistration
Tells SharePoint to insert a CSS link
SPRibbon
Adds the Ribbon to the page
Popout Menu
Adds the breadcrumb menu that shows the current location
PageStateActionButton
Adds the Edit/Save button to a page
AspMenu
Represents the ASP menu control
WarnOnUnsupportedBrowsers
Displays a warning to users who are using an
unsupported browser, such as Internet Explorer 6




New Web Controls in SharePoint Designer 2010

To enable some of the new features in SharePoint 2010, new controls were created that you can use in your master pages. Below are few of the new controls and their purposes as they relate to customizing a master page. A complete list can be found at


Control
Description
CssRegistration
Tells SharePoint to insert a CSS link
SPRibbon
Adds the Ribbon to the page
Popout Menu
Adds the breadcrumb menu that shows the current location
PageStateActionButton
Adds the Edit/Save button to a page
AspMenu
Represents the ASP menu control
WarnOnUnsupportedBrowsers
Displays a warning to users who are using an
unsupported browser, such as Internet Explorer 6




Wednesday, February 12, 2014

List or Library shows blank pages


This is very common issue when user closes out list web part on any of the list or library pages
Troubleshooting
  • Open faulty page in web part maintenance mode to check is there any web part / script added to that page or not
  • Once it’s confirmed go back to faulty page
  • Click on Site Action > Edit Page
  • Click on Add a Web Part option
  • Then from the web part category list navigate to bottom most categories – Closed Web Part
  • Select it and it will give you “untitled” (in most cases) in the right pane
  • Select and click Add
  • That’s all; you will be back in business
Now what in case someone deleted the web part
  • No worries open the same page in SharePoint Designer
  • Click on Insert and from the data view category choose the option related to your page (New, Edit or Display)
  • Add it to the respective page and that’s it.
Feel free to reach me in case of any issues, thanks

Thursday, February 6, 2014

Send reminder emails via SharePoint Designer Workflow

Last week one of my user asked me to design a reminder email which should be sent out 2 days before due date. He had a large list where there are thousands of items and he needed it to be approved / reviewed by assignee before it crossed the dead line. He already had a Due Date column which is Date and Time type and showing only date. Below is the design logic I used to achieve this requirement

Design Logic:
  • Create a new column (I called it Today) with Date and Time category and select to display only date
  • Create another column (Diff), type calculated, and simply add this formula


=[Today]-[Due Date]

That’s all from List end, now open up site in SPD
  • Create a new workflow based on List
  • Select respected list, specify name of that workflow
  • Then select condition – If current Item filed equals value
  • Put current item > Diff  in field and value to 2
  • In action tab select send an email
  • Fill all required stages
  • Save and publish the list
  • Now open the list and check if the workflow fires or not



Feel free to reach me in case of any issues, thanks

Customize Newform.aspx using InfoPath

Last week I was assigned to customize a list page. Here are the steps and some issues I faced during this assignment.

Design / Customization phase:
  • Open SharePoint site
  • Navigate to List
  • Select on the List and then click customize form (it by default shows InfoPath icon)





  • This will open the NewForm.aspx page in InfoPath
  • Make necessary changes and publish / quick publish it to SharePoint
  • By default it publishes to the same list. (to change the default quick publish option we have to dig hard and change some codes inside that form xml. I will discuss on it later)
  • That’s it now you have customized InfoPath form loaded to your list


Validation phase:
  • Now where to check this is the same customized form you published via InfoPath?
  • From Ribbon select Item > New Item



  • This should open up a customized form.
  • To reconfirm it, open this list in SPD or in explorer view
  • Now go to Forms folder and confirm Newfs.aspx page resides there


Known issue / troubleshooting phase:
  • I noticed this issue most of the times when we customize list newform it only updated in Ribbon part, in other words it only updates content type filed.
  • I faced an issue with add new item option which we generally find below all items



When I clicked on it, I found the old / original newform.aspx page opening.


Thursday, January 30, 2014

Create your SharePoint 2010 themes easy

Branding the site is something each organization is looking for and  even if I had my own personal site which I use to share stuff I would love it brand it ... throw in some colors add icons and images. 

So If you wanna quick brand your SharePoint website you can do so from the Inbuilt themes from:

Using the Interface:

  1. Open SP site
  2. Go to site actions > site settings 
  3. under look and feel choose site theme
  4. click select a color to change the color of a specific item.
  5. choose theme from the list
  6. click preview to view the site changes before publishing 
  7. click apply

well wasn't that easy but if you want to make your own themes rather then the well defined ones before jumping into CSS  consider this option. 

Creating Themes with PowerPoint 2010

  1. Open PowerPoint 
  2. Create a new document but if you have an existing document that your organization uses then skip step 3.
  3. Change the theme, you can do this also from the design tab of powerpoint choose the theme that defines your style, choose fonts and hyperlinks so on. 
  4. Choose the color pallette for the site by clicking the Colors. 
  5. Save the PowerPoint Document as MS powerpoint theme which is *.thmx
  6. Now go back to your sharepoint site> upload this file under Galleries and Themes. 
  7.  Keep / as destination. 
  8. Then choose this new theme for your site from the about way. 


tadaaaa .. you have your custom theme for Sharepoint and did we even touch Designer or CSS ...no sir :)


Thursday, December 26, 2013

Sharepoint 2010 Metadata

SharePoint Metadata is advancing with the versions and if you know how to work with the metadata you can make it easier for the users to search, locate, organise and use stuff within your organization.

The tags and the site columns makes it easier to get what you need within the search query, Below is a video from Sean Bordner who explains sites columns, Content Types, Term Store and Term set with real world examples we really found it useful and think if you spend 21 minutes here you can understand the sharepoint metadata in a better way

http://www.youtube.com/watch?v=_1ZiDWycyfs



Wednesday, November 6, 2013

Browser support with SharePoint Foundation 2010

SharePoint Needs optimal browser for best performance and you would need to know the supported browsers before you plan to use it for your company, no points for guessing that Microsoft would support their own Browser much more than the other popular ones available in the market.

  • IE6 is not supported by Microsoft as it’s an outdated version
  • IE 7 to 11 are supported in both 32 and 64 bit flavors.


ActiveX controls


Some functionality in SharePoint Foundation 2010 requires the use of ActiveX controls. This produces limitations on browsers which do not support ActiveX. Currently only 32-bit versions of Internet Explorer support this functionality. All other browsers have the limitations.



Mobile browser support

  • Windows Phone 7.0 Internet Explorer
  • Apple iOS 4.0 Safari
  • Google Android 2.1 Android Browser
  • Research in Motion (RIM) Blackberry 4.0 Blackberry Browser
  • Nokia Symbian 3 Nokia Browser

Friday, July 19, 2013

How to change image library location in SharePoint Blog site?

First of all it depends on which method you are using to publish blog?
Is it using MS Word?
Or you are directly creating posts on blog site?

If you are using MS Word
If you are using MS Word to publish post to SharePoint Blog site then it will automatically publish images to "Photos" picture library.
Below are the steps to change the default location
  • Open MS Word > New > Blog
  • Manage Accounts > Select the account and click on change
  • Click "Picture Option", this will give you 3 more option - SharePoint Blog, My Own Server and don't upload images
  • Select the second option
  • Provide URL of another picture library where you want to upload images into source and upload URL, click OK.
  • It will give you pop up after successful registration
Or

Direct posting on SharePoint Blog site
If you are directly creating posts inside blog site then you have to first create another picture library and while you are inserting an image it will give an option where to save this image.

Wednesday, July 3, 2013

Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive- SharePoint2010

Complete Error Message
Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.
Before you start your troubleshooting, make sure that the State Service service application is running. How you will check this?

The security validation for this page has timed out. Click Back in your Web browser, refresh the page, and try your operation again

Problem Description
The security validation for this page has timed out" error message when a user submits data to Windows SharePoint Services

Error Message
The security validation for this page has timed out. Click back in your Web browser, refresh the page, and try your operation again.




If you are facing this error message then Microsoft has already published an article on this which is very useful and resolves your issues. Million thanks to Microsoft for publishing this detail information along with root cause.
Thanks to MS

Resolution
http://support.microsoft.com/kb/888828

EXECUTE permission was denied on the object 'proc_putObject', database 'SharePoint_Config', schema 'dbo'

Problem Description
While I was deploying my solution , got an exception as follows


Error MessageEXECUTE permission was denied on the object 'proc_putObject', database 'SharePoint_Config', schema 'dbo'

Monday, May 13, 2013

Office Web apps Overview

Some important feature included in SharePoint 2010.

Microsoft Office Web Apps is the online companion to Office Word, Excel, PowerPoint and OneNote applications that enables users regardless of their location to access documents and edit documents. Users can view, share, and work on documents with others online across personal computers, mobile phones, and the Web. Office Web Apps is available to users through Windows Live and to business customers with Microsoft Office 2010 volume licensing and document management solutions based on Microsoft SharePoint 2010 Products.

Friday, April 26, 2013

How to hide "Respond to this Survey"


Problem Description:
How to hide "Respond to this Survey" when a user has already responded to the Survey

It’s simple but little bit tricky to implement as it involves user controls also.

Imp point to note:
·         The Rendering Template for the Survey List is in the defaulttemplates.ascx
Control under 12/Template/Control template.

·         The rendering template ID is ‘ViewToolBar. This template renders the "Respond
to this Survey", Actions menu and Settings menu in the toolbar.

·         This template is a generic template which is used by other lists as well.

·         "Respond to this Survey" is rendered by <SharePoint:NewMenu
AccessKey="<%$Resources:wss,tb_NewMenu_AK%>" runat="server" />.

How exactly it looks like:
<SharePoint:RenderingTemplate ID="ViewToolBar" runat="server">
<Template>
<wssuc:ToolBar CssClass="ms-menutoolbar" EnableViewState="false" id="toolBarTbl"
ButtonSeparator="<img src='/_layouts/images/blank.gif' alt=''>"
RightButtonSeparator="&nbsp;&nbsp;" runat="server">
<Template_Buttons>
<SharePoint:NewMenu
AccessKey="<%$Resources:wss,tb_NewMenu_AK%>" runat="server" />
<SharePoint:ActionsMenu
AccessKey="<%$Resources:wss,tb_ActionsMenu_AK%>" runat="server" />
<SharePoint:SettingsMenu
AccessKey="<%$Resources:wss,tb_SettingsMenu_AK%>" runat="server" />
</Template_Buttons>
<Template_RightButtons>
<SharePoint:PagingButton runat="server"/>
<SharePoint:ListViewSelector runat="server"/>
</Template_RightButtons>
</wssuc:ToolBar>
</Template>
</SharePoint:RenderingTemplate>

Microsoft Recommendation:
1.    We cannot modify OOB defaulttemplates.ascx as this would be unsupported
2.    Make a copy of defaulttemplates.ascx under CONTROL TEMPLATES FOLDER of 12 hive
and rename it to CustomDefaultTemplates.ascx
What exactly needs to done/Resolution:
1.    To hide “Respond to this Survey” if a user has already responded to the survey,
Create a class which inherits from the Microsoft.Sharepoint.WebControls.NewMenu.

2.    In this override CreateChildControls and have your logic to hide unhide "Respond
to this Survey" based on your need.

3.    Build the class library and install the dll to the GAC.

4.    Modify the “ViewToolBar” in the custom ascx such that to render your custom
"Respond to this Survey" menu from the class library you created.

(Note: You need to add your assembly reference and register the tag prefix in the
Custom ascx control.)

5.    Next step is to render the custom rendering template to the "Survey List" so
     that the custom "Respond to this Survey" menu will be rendered in the toolbar.

6.    For this the "ToolbarTemplate" property of the View should be changed in the
schema.xml file of the Survey List definition.

7.    As modifying the OOB files are not supported, Copy the “SurveyList” folder from
12/Template/Features and paste in the same place as “CustomSurveysList”.
Change the feature ID of the “CustomSurveyList”

8.    Open the schema.xml file available under survey folder of “CustomSurveysList”
and add the “ToolbarTemplate=CustomViewToolBar” attribute to the “View BaseID=0”.

Example attached:
<View BaseViewID="0" FreeForm="TRUE" ReadOnly="TRUE" Type="HTML" ToolBarTemplate=" CustomViewToolBar ">

9.    Install and activate "CustomSurveysList"

10. Create a Survey List using CustomSurveyList template and we should be able to
achieve the functionality as required.