var authManager = new AuthenticationManager();
var ctx = authManager.GetWebLoginClientContext("https://contoso.sharepoint.com/");
Web web = ctx.Web;
User user = web.CurrentUser;
ctx.Load(web);
ctx.Load(user);
ctx.ExecuteQuery();
ionic -v
and have anything other than 2.1.0
, run:npm uninstall -g ionic
npm install -g ionic
npm install @ionic/app-scripts@latest --save-dev
package.json
to match the following dependencies, remove existing node_modules
directory, and then run npm install
:
"dependencies": {
"@angular/common": "2.2.1",
"@angular/compiler": "2.2.1",
"@angular/compiler-cli": "2.2.1",
"@angular/core": "2.2.1",
"@angular/forms": "2.2.1",
"@angular/http": "2.2.1",
"@angular/platform-browser": "2.2.1",
"@angular/platform-browser-dynamic": "2.2.1",
"@angular/platform-server": "2.2.1",
"@ionic/storage": "1.1.7",
"ionic-angular": "2.0.0-rc.5",
"ionic-native": "2.2.11",
"ionicons": "3.0.0",
"rxjs": "5.0.0-beta.12",
"zone.js": "0.6.26",
"sw-toolbox": "3.4.0"
},
"devDependencies": {
"@ionic/app-scripts": "1.0.0",
"typescript": "2.0.9"
}
These settings are available at following places -
2. In Site Settings page in Site Collection : Under 'Site Collection Administration' group.
On clicking of 'SharePoint Designer Settings' link, product displays the SharePoint Designer settings at sitecollection level. ( Below Snapshot ).
SharePoint Designer Groups - Furthermore, a new permission group, called Designer, helps target those users who really need SharePoint Designer.
The SharePoint Management Shell in SharePoint Foundation 2010 provides an extensive set of Windows PowerShell cmdlets that make development, deployment, and administration of SharePoint 2010 easier and more efficient. Management Shell contains the Powershell cmdlets for SharePoint, by using this we control and manage the SharePoint operations like we done in STSADM command.
Powershell cmdlets for managing SharePoint Features -
PS C:\Users\Administrator> get-command *feature* CommandType Name Defintion ----------- -------- ------------------------------------ Cmdlet Disable-SPFeature Disable-SPFeature [-Identity... Cmdlet Enable-SPFeature Enable-SPFeature [-Identity]... Cmdlet Get-SPFeature Get-SPFeature [[-Identity] <... Cmdlet Install-SPFeature Install-SPFeature [-Path] <S... Cmdlet Uninstall-SPFeature Uninstall-SPFeature [-Identi... |
Help is available for these SharePoint 2010-specific cmdlets in Windows PowerShell. Type get-help and then type the name of the cmdlet. For example, to find help about SPServiceApplication, type get-help get-SPServiceApplication.
NAME Get-SPFeature SYNOPSIS Returns the SharePoint Features based on a given scope. SYNTAX Get-SPFeature [-Identity <SPFeatureDefinitionPipeBind>] [-AssignmentCollection <SPAssignmentCollection>] [-Limit <String>] [<CommonParameters>] Get-SPFeature [-Identity <SPFeatureDefinitionPipeBind>] [-AssignmentCollect ion <SPAssignmentCollection>] [-Farm <SwitchParameter>] [-Limit <String>] [ <CommonParameters>] Get-SPFeature [-Identity <SPFeatureDefinitionPipeBind>] [-AssignmentCollection <SPAssignmentCollection>] [-Limit <String>] [-Sandboxed <SwitchParameter>] [-Site <SPSitePipeBind>] [<CommonParameters>] Get-SPFeature [-Identity <SPFeatureDefinitionPipeBind>] [-AssignmentCollection <SPAssignmentCollection>] [-Limit <String>] [-Web <SPWebPipeBind>] [<CommonParameters>] Get-SPFeature [-Identity <SPFeatureDefinitionPipeBind>] [-AssignmentCollection <SPAssignmentCollection>] [-Limit <String>] [-WebApplication <SPWebApplicationPipeBind>] [<CommonParameters>] DETAILED DESCRIPTION All SPFeature sets take the Identity parameter, which can be either the relative path of the SharePoint Feature (considered the feature name) or the GUID of a Feature definition. If the Identity parameter is provided, the cmdlets attempt to find the given Feature definition or instance for the given scope. If no parameters are specified, all installed features are returned. The Get-SPFeature cmdlet behaves differently at each scope, returning the enabled Features at each level. If no scope is provided, all installed Features are returned. get-spfeature (returns all the installed Feature definitions in the farm ) get-spfeature -farm ( returns all the enabled Feature in the farm) get-spfeature -webapplication (returns all enabled the Features in the Webapplication) get-spfeature -site (returns all the enabled Features on the site <<both full trusted and particially trusted code>>) get-spfeature -site -sandboxed (returns all installed the ptc Feature definitions on the site) get-spfeature -web (returns all the enabled Features in the Web) RELATED LINKS REMARKS For technical information, type: "get-help Get-SPFeature -full". |
I ran the SharePoint 2010 prerequisites which added administration roles. After that SharePoint 2010 installation was pretty straight forward. Way to go …
I am planning to share lot of technical details on different areas of SharePoint 2010 in next few weeks.
Connectbeam, founded in December, 2005, is a leading provider of enterprise social software applications and the first company to integrate concepts of social bookmarking and tagging with those of social networking. Connectbeam's new Spotlight Connect for SharePoint provides SharePoint users with a single destination for discovering and sharing rich enterprise social bookmarking and tagging information. Spotlight Connect for SharePoint also extends and enhances the native collaboration and discovery capabilities of SharePoint Server 2007.
Spotlight Connect for SharePoint -
Spotlight Connect for SharePoint is deployed as a series of customizable SharePoint Web Parts, including:
• Social Search and Related Content
• Social Graphs
• Bookmarks
• Tags
• Groups
• Connections
Suggested Improvements -
SharePoint Document Library - Connectbeam integration
Incase user would like to share information in the document library at the enterprise level, option to publish the information to Connectbeam
In case users would like to share announcement or a part of it with Connectbeam groups or corresponding Enterprise, it would be a good functionality to have.
Patterns and practices has released a new version of guidance for building collaborative applications.
One of the new functionality provided by the Microsoft group is very useful and generic, w.r.t creating and saving business entities. Concept is based on List based repositories by following below steps -
Please refer - http://msdn.microsoft.com/en-us/library/ee413898.aspx for more details
After business entity and mapping classes are defines, generic functionality could be used to retrieve and save the business entity directly with SharePoint.
Sample Code -
public IList<Customer> GetAllCustomers()
{
// ...
using (SPSite site = new SPSite(customerWebUrl))
{
using (SPWeb customerWeb = site.OpenWeb())
{
SPList customerList = customerWeb.Lists[Constants.CustomerListName];
CAMLQueryBuilder camlQueryBuilder = new CAMLQueryBuilder();
camlQueryBuilder.FilterByContentType(CustomerContentTypeName);
SPListItemCollection items = customerList.GetItems(camlQueryBuilder.Build());
IList<Customer> customers = new List<Customer>();
foreach(SPListItem item in items)
{
Customer customer = listItemFieldMapper.CreateEntity(item);
customers.Add(customer);
}
return customers;
}
}
}
public void AddCustomer(Customer customer)
{
using (SPSite site = new SPSite(customerWebUrl))
{
using (SPWeb customerWeb = site.OpenWeb())
{
SPList customerList = customerWeb.Lists[Constants.CustomerListName];
SPListItem customerListItem = customerList.Items.Add();
this.listItemFieldMapper.FillSPListItemFromEntity( customerListItem, customer);
customerList.Update();
}
}
}
Implementing Database Entities as SharePoint Lists, allow users to perform CRUD operations and out-of-box UI with above features.
Limitation of SharePoint Lists for maintaining Database Entities -
SharePoint List Association Manager ( SLAM ) overcomes one of the limitation of defining relationships on SharePoint lists. In nutshell, it creates the Database Tables of Lists and Relationships in External Database. Uses SharePoint eventhandlers to update external database list and relationship tables. Association of lists is based on SLAM xml configuration files. External Database provides independent datastore for reporting, and provides performance gain.
Working with SLAM, there are few things, I found out ( based on my current understanding) -
Explaining by taking example of two SharePoint Lists 'Country' and 'City'. 'Country' has a single text column 'CountryCode'. 'City' has two columns - Text column 'CityName' and lookup column from 'Country' list.
SLAM doesn't provide Database features of primary keys, constraints, triggers etc.
In my view, SharePoint lists should be mistaken as replacement for Relational Database Management System. For small amount of data and keeping SharePoint lists constraints, might be useful for smaller chunk of data.
Potential Reasons for Agile Software Projects failure, keeping Agile Principles in view -
Oracle Universal Content Management Integration with SharePoint using Web Parts
WebParts to use Oracle ECM as backend and SharePoint as frontend. The web parts also provide for the use of both a SharePoint content repository and a Content Server repository. Content items can be moved between the two systems. This allows consumers who are familiar with SharePoint to interact with the Content Server through a known interface, thus making it easier to contribute and search for content.
Two primary use cases exist for the combination of the Web Parts product and SharePoint:
SharePoint BDC to connect to Oracle Databases : Business Data Catalog is a feature in MOSS 2007, it provides you with an easy way to integrate line of business data in MOSS 2007, without any code. Following article provides details on creating and implementing BDC for Oracle Databases.
Oracle Universal Records Management Adapter for MOSS 2007 : It Communicates between Records Manager and SharePoint Database Server. The Adapter provides common retention functionality like identification, search and applying policies on the content items.
Oracle Fusion Middleware combining with SharePoint : Oracle Fusion Middleware includes a unique and broad set of capabilities that help IT organizations get control of SharePoint deployments while enhancing the content experience for end users. It help organizations with
Integrate SharePoint content within enterprise and composite applications
Oracle Access Manager Integration with SharePoint : Oracle Access Manager provides a full range of identity management and security functions, including: Web-based single sign-on (SSO), user self-service and self-registration, user provisioning, reporting and auditing, policy management, dynamic groups, and delegated administration. Oracle Access Manager integrates with all leading directory servers, application servers, Web servers, and enterprise applications.
Once Oracle Access Manager has been integrated with SPPS, the Access System handles user authentication through an ISAPI filter for IIS and an ISAPI wild card extension, which enables single sign-on between Oracle Access Manager and SPPS. WSS handles resource request authorization for all SPPS resources.
Such integration enables authenticated users to enjoy SSO access not just to SPPS resources, but also Oracle Access Manager-protected resources, which can reside on the full range of Oracle Access Manager-supported platforms (such as Windows, Solaris, or Linux,) or application servers (such as WebLogic or WebSphere).
Oracle Database as Role and Membership Provider for SharePoint
ASP.NET 2.0 Membership provides a common user authentication and management framework. It also always to extend it by creating a custom Membership Provider when user information is stored in Oracle.
Benefit of ASP.NET 2.0 Membership - With Membership services, we are able to use pre-built user authentication and registration controls instead of writing them from scratch. The end result is less code to write for login, login status, user identity, user registration, and password recovery.
Reference : http://msdn.microsoft.com/en-us/library/aa479070.aspx
Oracle Virtual Directory : Integration with SharePoint :
Oracle Virtual Directory - Creating a secure application environment requires integration of existing user identity information. For some companies, that information is contained in databases. Others use LDAP directories or Windows Domains. For most, this information is scattered across multiple locations and multiple services. Oracle Virtual Directory provides Internet and industry-standard LDAP and XML views of existing enterprise identity information, without synchronizing or moving data from its native locations. This accelerates the deployment of applications and reduces costs by eliminating the need to constantly adapt those applications to a changing identity landscape as user populations are added, changed, or removed.
The benefits of SharePoint and Oracle Virtual Directory Integration are:
Posted a new article on CodeProject to add two new actions on Toolbar for SharePoint lists.
http://www.codeproject.com/KB/sharepoint/customviewactions.aspx.
Although, both of these functionalities are available out-of-box, but having these links on the toolbar itself, improves user productivity.
With respect to technical implementation -
For this custom action, I have checked for the default view, and changed the 'Action' Text accordingly.
Very helpful document on Risk Management for SharePoint Project - http://thorprojects.com/files/sharepointcommonrisksforvariousprojecttypes.pdf
Some important Risk Types -
SharePoint Internet Sites -