Pages

Saturday, October 11, 2014

SharePoint 2010 Project Tasks List - Dashboard

It is just a coincident I see a requirement for Project Tasks List dashboard on StackExchange which I recently did for my self.

The overall goal is to show tasks progress in fill bar with overall status. The solution is no server side code solution so it can work in all environment. Following is screenshot how it will look like finally:

Monday, March 3, 2014

A error occurs when you import Office 365 SharePoint 2013 package to your on premises SharePoint.

Today I faced an error when I moved the branding design form Office 365 SharePoint to on premises.
The error was obvious becuase Office 365 SharePoint is always up to date while on premises not always.

There was two errors, one more Microsoft.SharePoint and other for Microsoft.SharePoint.Publishing.
Following is the exact error message for Microsoft.SharePoint.Publishing

Sorry, something went wrong
Could not load file or assembly 'Microsoft.SharePoint.Publishing, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified

The solution:
The solution is to replace the version number from "16.0.0.0" to "15.0.0.0" on associated html page for Master and Layout page.

Step 1: Get ListId, ListName and WebId from Posts.aspx

Open your site in SharePoint Designer 2013
Go to "All Files" on left and then "Pages" library

Right click on "Posts.aspx" and choose "Edit Fie in Advance Mode"

Use find tool to find "ListId" and then grab the ListId and ListName value

Use find tool to find "WebId" and then grab "WebId" value

Step 2: Make WebPart ready

Download the WebPart and edit it (for example Notepad++).
Replace the ListId, ListName and WebId value that we grabbed in Step1, take a look at following screenshot of replacement done:

Save this WebPart now.

Step 3: Create a page to show author's post

Create a new page and name it "authorposts"

While the page in Edit mode, Go to "Insert" > "WebParts" > "Upload Web Part" and browse to the WebPart that you created in Step2. When prompted click "OK" to save the page.

The WebPart is still not added, once again go to "Insert" tab > "WebPart" > "Imported Web Parts" > "AuthorPosts.webpart" and finally click on "Add" button (on right)

Now save the page

We are done with this step now, so far we have created a page that has WebPart that actually shows the posts.
Now it turns to show the authors list on the left navigation so that users can browser. Let's move to Part 2

Monday, February 3, 2014

I was assigned to do a Nintext Form and when it came to date of birth input, relaying on date picker control was not a good idea, so decided to take input in custom way.

Here is is how I did it.

Step 1: Create control

Put three controls each for Date, Month and Year
Date and Year is Textbox
Month is dropwown list. Open settings for this dropdown and specify choices with following and also specify first choice as default value otherwise dropdown will have "Please selection one..." as first option.

I created the public facing site on Office 365 SharePoint 2013 but when I tried to access the site as anonymous user, I was redirected to authentication page.

I went to Site Permission settings, Anonymous permission was not there.

I started looking around for an option that could make the site open for anonymous and found this options that made the site open for anonymous. This option can also be used to take off from anonymous users:

Thursday, January 30, 2014

I was branding SharePoint 2013 and using Bootstrap 3.
When I gave QuickLaunch / Left Navigation to col-md-3 and main content to col-md-9, suprisingly on lower screen when it supposed to display full width it was getting hidden.

I figured out that QuickLaunch menu was floating on left by default so it was causing issue.

Sunday, January 26, 2014

Today I found some of the field whose internal name starts with a underscore chracter ("_") has "OData_" prefix that makes it OData__ModerationStatus.
This prefix is only appears in oData query result.

Saturday, January 18, 2014

This is customized item template for ItemStyle.xsl SharePoint 2013 CQWP showing only clickable title that shows default view form in modal. You can just copy and paste in ItemStyle.xsl file at the bottom (of course before </xsl:stylesheet> :) ) to test it: