Wednesday, October 7, 2015

Disable drag and drop events in SharePoint calendars

<script type='text/javascript'> ExecuteOrDelayUntilScriptLoaded(fixupDrag, 'SP.UI.ApplicationPages.Calendar.js'); function fixupDrag(){ var calendarCreate = SP.UI.ApplicationPages.CalendarContainerFactory.create; SP.UI.ApplicationPages.CalendarContainerFactory.create = function(elem, cctx, viewType, date, startupData) { if(cctx.dataSources && cctx.dataSources instanceof Array && cctx.dataSources.length > 0){ for(var i = 0; i < cctx.dataSources.length; i++){ cctx.dataSources[i].disableDrag = true; } } calendarCreate(elem, cctx, viewType, date, startupData); } } </script>

Disable drag and drop events in SharePoint calendars

<script type='text/javascript'> ExecuteOrDelayUntilScriptLoaded(fixupDrag, 'SP.UI.ApplicationPages.Calendar.js'); function fixupDrag(){ var calendarCreate = SP.UI.ApplicationPages.CalendarContainerFactory.create; SP.UI.ApplicationPages.CalendarContainerFactory.create = function(elem, cctx, viewType, date, startupData) { if(cctx.dataSources && cctx.dataSources instanceof Array && cctx.dataSources.length > 0){ for(var i = 0; i < cctx.dataSources.length; i++){ cctx.dataSources[i].disableDrag = true; } } calendarCreate(elem, cctx, viewType, date, startupData); } } </script>

Saturday, June 27, 2015

Huge collection of Free Microsoft eBooks for you, including: Office, Office 365, SharePoint, SQL Server, System Center, Visual Studio, Web Development, Windows, Windows Azure, and Windows Server

http://blogs.msdn.com/b/mssmallbiz/archive/2013/06/18/huge-collection-of-free-microsoft-ebooks-for-you-including-office-office-365-sharepoint-sql-server-system-center-visual-studio-web-development-windows-windows-azure-and-windows-server.aspx

Tuesday, May 26, 2015

Infopath's built in Username() function returning “i:0#.w|Domain\UserName” instead of just UserName

 I can modify the UserName() return string to display only the username as opposed to "i:0#.w|Domain\UserName"
 using substring-after function we can get only user name instead of "i:0#.w|Domain\UserName"

Eg:


Here I will use two controls one is "LoginUserFullName" ans second is "UserName"
 "LoginUserFullName" control has "i:0#.w|Domain\UserName" now am going to store the user name with out domain in "UserName"control by using substring-after(LoginUserFullName, "\")

Sunday, May 17, 2015

SharePoint 2016 new features Ignite Updates

http://www.enjoysharepoint.com/Articles/Details/sharepoint-2016-new-features-ignite-updates-21150.aspx

SharePoint Server 2016 Hardware and Software Requirements

http://www.enjoysharepoint.com/Articles/Details/sharepoint-server-2016-hardware-and-software-requirements-21141.aspx

Saturday, May 16, 2015

3 SharePoint Paths for the Next 10 Years

http://www.cmswire.com/cms/social-business/3-sharepoint-paths-for-the-next-10-years-029170.php?utm_content=bufferfd0b9&utm_medium=social&utm_source=linkedin.com&utm_campaign=buffer#null

Thursday, May 7, 2015

How to reduce the size of logging database OR How to purge the old data from Logging Database

Below link is very usefull to reduce the size of logging database


http://blogs.msdn.com/b/manhar/archive/2012/04/17/how-to-reduce-the-size-of-logging-database-or-how-to-purge-the-old-data-from-logging-database.aspx

Sunday, April 12, 2015

Wednesday, January 21, 2015

Sharepoint online migration

http://blogs.technet.com/b/uspartner_ts2team/archive/2014/06/17/data-migration-options-for-sharepoint-online.aspx



http://blogs.msdn.com/b/steve_fox/archive/2013/02/03/setting-up-your-development-environment-for-o365-amp-azure-development.aspx


http://sharepointpromag.com/blog/office-365-development-environment-options-and-tools



Office 365 development tools :
https://msdn.microsoft.com/en-US/office/aa905340


MCP Exam test details

Activation of the workflow features occurs at which of the following levels?
    Exit Test

A         Web Collection
B         Site Collection
C         Site
D         List

ctivation of the workflow features occurs at which of the following levels?
    Exit Test

A         Web Collection
B         Site Collection
C         Site
D         List

ctivation of the workflow features occurs at which of the following levels?
    Exit Test

A         Web Collection
B         Site Collection
C         Site
D         List


hich of the following is NOT a valid type of workflow association?
    Exit Test

A         Sites
B         Content types
C         Lists/Libraries
D         Site Collections



In a three-state workflow, which of the following is NOT a valid state?
    Exit Test

A         Active
B         In Progress
C         Resolved
D         Closed


Reusable workflows can be created using SharePoint Designer 2010 by associating them with which of the following?
    Exit Test

A         Site
B         Site Collection
C         List
D         Content Type


Reusable workflows can be created using SharePoint Designer 2010 by associating them with which of the following?
    Exit Test

A         Site
B         Site Collection
C         List
D         Content Type



Which of the following indicates the purpose of adding an impersonation step in a workflow?
    Exit Test

A         It allows the entire workflow to run with privileges of the user who created the workflow.
B         It allows the entire workflow to run with privileges of the user who initiated the workflow.
C         It allows subsequent steps of the workflow to run with privileges of the user who created the workflow.
D         It allows subsequent steps of the workflow to run with privileges of the user who initiated the workflow.

My Answer:
Assessment Help Desk ProveItSupport@us.ibm.com or Contact Us    Privacy Policy   



n the Site Templates section of SharePoint Designer, which of the following is NOT a valid type of site template?
    Exit Test

A         Blank Site
B         Blog
C         Team Site
D         Wiki


n the Site Templates section of SharePoint Designer, which of the following is NOT a valid type of site template?
    Exit Test

A         Blank Site
B         Blog
C         Team Site
D         Wiki



In SharePoint 2010, access to SharePoint Designer is controlled at which of the following levels?
    Exit Test

A         Web Application level only
B         Web Application and Site Collection levels
C         Web Application, Site Collection, and Site levels
D         Web Application, Site Collection, Site, and List levels



hich of the following statements about integration with line-of-business (LOB) systems in SharePoint 2010 is TRUE?
    Exit Test

A         Changes made in SharePoint 2010 can be written back to LOB systems.
B         Data in LOB systems can be indexed in SharePoint 2010.
C         Data in LOB systems can be searched in SharePoint 2010.
D         B and C
E         All of the above



In SharePoint Designer 2010, which of the following workflow types CANNOT be created?
    Exit Test

A         List Workflow
B         Reusable Workflow
C         Site Workflow
D         Site Collection Workflow


Which of the following characteristics is NOT typical of an Intranet SharePoint 2010 site?
    Exit Test

A         It is internal facing.
B         It needs all users to authenticate.
C         It is communication-driven instead of collaboration.
D         It has many authors and viewers.


Question:  15 of  37  -   SharePoint Themes
Which of the following statements about themes in SharePoint 2010 is/are FALSE?
    Exit Test

A         New themes are capable of defining custom background images.
B         Themes allow site designers to apply a set of 12 colors and 2 fonts.
C         When a page is loaded, only one core CSS file is loaded by the browser.
D         B and C
E         All of the above are false.



Question:  15 of  37  -   SharePoint Themes
Which of the following statements about themes in SharePoint 2010 is/are FALSE?
    Exit Test

A         New themes are capable of defining custom background images.
B         Themes allow site designers to apply a set of 12 colors and 2 fonts.
C         When a page is loaded, only one core CSS file is loaded by the browser.
D         B and C
E         All of the above are false.



Which of the following master pages is used only when a SharePoint 2007 site is upgraded to 2010?
    Exit Test

A         default.master
B         upgrade.master
C         minimal.master
D         switch.master


Which of the following master pages is only accessible in a SharePoint 2010 site that has the Publishing feature enabled?
    Exit Test

A         default.master
B         nightandday.master
C         minimal.master
D         intranet.master

Question:  19 of  37  -   Page Layouts
Which of the following SharePoint 2010 installation types includes branding components like page layouts?
    Exit Test

A         SharePoint Foundation
B         Team Sites
C         SharePoint Server with Publishing
D         All of the above

Question:  19 of  37  -   Page Layouts
Which of the following SharePoint 2010 installation types includes branding components like page layouts?
    Exit Test

A         SharePoint Foundation
B         Team Sites
C         SharePoint Server with Publishing
D         All of the above



Question:  19 of  37  -   Page Layouts
Which of the following SharePoint 2010 installation types includes branding components like page layouts?
    Exit Test

A         SharePoint Foundation
B         Team Sites
C         SharePoint Server with Publishing
D         All of the above


Templates and themes can be scoped at which of the following levels?
    Exit Test

A         Web Application
B         Site Collection
C         Sites
D         All of the above


Access to branding can be controlled by adding or removing users from which of the following SharePoint security groups?
    Exit Test

A         Site Collection Visitors
B         Designers
C         Restricted Readers
D         Contributors


Which of the following permissions is/are branding-related and can be assigned at the Design level?
    Exit Test

A         Use Self-Service Site Creation
B         Use Remote Interfaces
C         Approve Items
D         Browse Directories
E         All of the above


Which of the following statements about Business Connectivity Services (BCS) in SharePoint 2010 is FALSE?
    Exit Test

A         BCS allows direct integration of external data with Microsoft Office clients.
B         BCS provides create, read, update, and delete capability on external data.
C         External data cannot be taken offline in Outlook 2010.
D         A and B
E         All of the above

Which of the following statements about Business Connectivity Services (BCS) in SharePoint 2010 is FALSE?
    Exit Test

A         BCS allows direct integration of external data with Microsoft Office clients.
B         BCS provides create, read, update, and delete capability on external data.
C         External data cannot be taken offline in Outlook 2010.
D         A and B
E         All of the above

Which of the following SharePoint 2010 services maintains credentials for external systems and associates them with individuals or groups?
    Exit Test

A         User Profile Service
B         Managed Metadata Service
C         Secure Store Service
D         Access Service


Which of the following statements about viewing external data with External Data Web Parts is FALSE?
    Exit Test

A         External Data Web Parts can be used to update external data.
B         The provided External Data Web Parts do not require any custom programming.
C         External Data Web Parts do not copy external data to the content database.
D         There are five Web Parts, which include an External Data List, ED Item, ED Item Builder, ED Related List, and ED Connectivity Filter Web Part.


Which of the following statements about BCS connector framework's integration with Search Service is FALSE?
    Exit Test

A         BCS Connectors support full and timestamp-based incremental crawls, but not change-log crawls.
B         BCS Connectors can crawl attachments.
C         BCS Connectors can crawl content in e-mail messages.
D         BCS Connectors can retrieve item-level security descriptions for external data.




Which of the following statements about profile import connections using BCS is/are FALSE?
    Exit Test

A         BCS profile connections can write back to the external system.
B         BCS can be used as the primary connection for a User Profile import.
C         A common property between primary user profile import connections and BCS import connections has to be defined.
D         A and B
E         All of the above


Which of the following statements regarding external lists based on an external content type is TRUE?
    Exit Test

A         In this case, versioning is possible.
B         RSS feeds and Datasheet views are possible.
C         Workflows cannot be configured directly on external lists.
D         Item-level permissions can be configured.




Which of the following permissions must a user have in order to deploy dashboards to the server?
    Exit Test

A         Contribute
B         Design
C         Publish
D         Dashboard


Which of the following statements about reusing BI Designer objects is FALSE?
    Exit Test

A         BI objects can be reused by different authors in the same site.
B         BI objects can be reused by different authors in different sites of the same site collection.
C         BI objects can be reused by different authors in different sites of different site collections in the same Web application.
D         B and C

When importing PerformancePoint Server 2007 content into PerformancePoint Services 2010, which of the following report types CANNOT be imported?
    Exit Test

A         Pivot Tables
B         Spreadsheets
C         Trend Analysis Charts
D         A and C
E         All of the above cannot be imported.


When importing PerformancePoint Server 2007 content into PerformancePoint Services 2010, which of the following report types CANNOT be imported?
    Exit Test

A         Pivot Tables
B         Spreadsheets
C         Trend Analysis Charts
D         A and C
E         All of the above cannot be imported.


In PerformancePoint Services 2010, which of the following administrator types requires at least Contribute permissions on data source libraries only?
    Exit Test

A         Farm Administrators
B         Site Collection Administrator
C         Web Application Administrator
D         Site Administrator

Thursday, January 15, 2015

Sharepoint integration with Facebook

http://dannyjessee.com/blog/index.php/2012/11/using-azure-acs-to-sign-in-to-sharepoint-2013-with-facebook/


https://social.technet.microsoft.com/Forums/office/en-US/3655cde1-299b-43a6-9933-9c35cd7af0dc/how-to-share-sharepoint-2013-site-to-external-users?forum=sharepointgeneral

Sharepoint 2013 App Development

SP2013 App development

http://www.sharepoint-journey.com/app-management-sharepoint-2013.html

https://social.technet.microsoft.com/Forums/office/en-US/5ba17117-791a-4785-b26b-6d3514c29847/app-management-and-subscription-settings-service-applications?forum=sharepointadmin

Monday, January 12, 2015

Sharepoint administrator adding

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {

            SPSite site = new SPSite("http://kn-dev/");

            SPWeb web = site.RootWeb;
            {
                web.AllowUnsafeUpdates = true;
                web.AllUsers.Add("axisspecialty\\service-spadmin-d", "service-spadmin-d", "service-spadmin-d", null);
                SPUser spUser = web.SiteUsers["axisspecialty\\service-spadmin-d"];

                spUser.IsSiteAdmin = true;

                spUser.Update();

                web.AllowUnsafeUpdates = false;
            }


        }
    }



}

Friday, January 9, 2015

Sharepoint 2013 training

SP 2013 BI training :

https://www.microsoft.com/learning/en-us/course.aspx?id=55042a


Office 365,  Sharepoint 2013 , 2010  MSFT training vedios

http://nikpatel.net/2013/10/29/best-free-online-video-training-available-for-sharepoint-2013-and-office-365-professionals/












Sharepoint 2013 issues

Data sheet issue in document library sharepoint 2013


Please install component in Sharepoint 2013.



Sharepoint 2013 patch status



Sharepoint patch status details :






Build numbers:

http://blogs.technet.com/b/steve_chen/archive/2013/03/26/3561010.aspx


http://blogs.technet.com/b/steve_chen/archive/2013/04/29/3569593.aspx