Jul 28

Sending E-mail in Sharepoint using CSOM(Client Side Object Model)

E-mail in Sharepoint using CSOM

Using SharePoint Client Object Model (CSOM) has been a most famous method for a sending email. You can use SharePoint Utility class to send a Email. But you can not send to external users. If you are sending to external users they should be added to your mail exchange but it will take some time to reflect the change.
Read the rest of this entry »

Permanent link to this article: http://www.zappmania.in/2015/07/28/sending-e-mail-in-sharepoint-using-csomclient-side-object-model.htm

Feb 28

Introduction to Object Oriented Programming Concepts

Object Oriented Programming (OOPs) is a programming paradigm based on the concept of “objects”, which are data structures that contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods.

Class:
A Class is a construct that enables you to create your own custom types by grouping together variables of other types, methods and events. A Class is like a blueprint. It defines the data and behavior of a type.
It is a collection of objects.
Read the rest of this entry »

Permanent link to this article: http://www.zappmania.in/2015/02/28/introduction-to-object-oriented-programming-concepts.htm

Jan 26

Sharepoint list as a catalog programmatically through powershell

Set/Enable Sharepoint list as a catalog programmatically through powershell

  • $spList is an SPList oblject,
  • $allowAnonymousAccess is a boolean value to make list accesssible from search service,
  • $catalogItemKeyFieldInternalName is an internal name of unique column or primary key, and
  • $selectedCategoryFieldInternalName is an internal name of a taxonomy(metadata) column used for navigation hierarchy

Permanent link to this article: http://www.zappmania.in/2015/01/26/sharepoint-list-catalog-programmatically-powershell.htm

Jan 22

SharePoint 2013 with PowerShell – Site Collection

SP2013-With-PowerShell

Working with SharePoint 2013 Site Collections (SPSite) Using PowerShell


SharePoint 2013 makes it easy for people to work together. SharePoint 2013 enables you and your employees to set up web sites to share information with others, manage documents from start to finish, and publish reports to help everyone make informed decisions. Windows PowerShell in SharePoint 2013 lets an administrator automate tasks with SharePoint web applications, site collections, sites, lists, and more and provides a command-line alternative to configuring SharePoint 2013 through Central Administration.
Read the rest of this entry »

Permanent link to this article: http://www.zappmania.in/2015/01/22/sharepoint-2013-powershell-site-collection.htm

Nov 14

Create SharePoint List Dynamically using Powershell Script


Create SharePoint List Dynamically using Powershell Script

In this post we will see how to create Sharepoint List dynamically using powershell script .

Please note that you can use notepad++ to write powershell scripts and save them with extension “.ps1”.

There are few variables which you need to assign some value e.g. site url and list name etc.
I would recommend to create this type of variables out side the function as I’ve done here.
Reason being is simple, you can use this variable in other functions in your script file.
Also, to make it workable we will add powershell Snap-in as mentioned in my last post.

Read the rest of this entry »

Permanent link to this article: http://www.zappmania.in/2014/11/14/create-sharepoint-list-dynamically-using-powershell-script.htm

Older posts «