This Blog contains information about Microsoft products like Sharepoint, SQL, IIS, ASP.net and More.
This Blog contains Facts about diffrent Products and will advance gradually, Do leave me comments to make this Blog useful and Informative and better
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.
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
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)
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
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
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 > Diffin 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
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.
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:
Open SP site
Go to site actions > site settings
under look and feel choose site theme
click select a color to change the color of a specific item.
choose theme from the list
click preview to view the site changes before publishing
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
Open PowerPoint
Create a new document but if you have an existing document that your organization uses then skip step 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.
Choose the color pallette for the site by clicking the Colors.
Save the PowerPoint Document as MS powerpoint theme which is *.thmx
Now go back to your sharepoint site> upload this file under Galleries and Themes.
Keep / as destination.
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 :)
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
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
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.
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?
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
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.
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”.