• Know more about me

Mai Omar Desouki

~ PFE @ Microsoft

Mai Omar Desouki

Monthly Archives: August 2012

Whats new in SharePoint 2013 Event Receivers

28 Tuesday Aug 2012

Posted by Mai Omar Desouki in Event Handler, SharePoint 2010, SharePoint 2013

≈ Leave a comment

Tags

Event Receivers, Microsoft SharePoint, SharePoint 2013


SharePoint 2013 has Introduced a New and much needed Event Receiver class “SPSecurityEventReceiver”. Using this class you can add Event Handlers around SharePoint Groups, Users, Roles and Permission Inheritance.

Here is the list of events that you can handle in SharePoint 2013 Preview.

You can Handle the following SharePoint Group Events

  • GroupAdded
  • GroupAdding
  • GroupDeleted
  • GroupDeleting
  • GroupUpdated
  • GroupUpdating

     

You can Handle the following SharePoint User Events

  • GroupUserAdded
  • GroupUserAdding
  • GroupUserDeleted
  • GroupUserDeleting
  • RoleAssignmentAdded
  • RoleAssignmentAdding
  • RoleAssignmentDeleted
  • RoleAssignmentDeleting
  • RoleDefinitionAdded
  • RoleDefinitionAdding
  • RoleDefinitionDeleted
  • RoleDefinitionDeleting
  • RoleDefinitionUpdated
  • RoleDefinitionUpdating

     

You can Handle the following Inheritance Events

  • InheritanceBreaking
  • InheritanceBroken
  • InheritanceReset
  • InheritanceResetting

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

27 Monday Aug 2012

Posted by Mai Omar Desouki in SharePoint 2010

≈ Leave a comment


Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

SharePoint 2001, 2003, 2007, 2010, 2013… 2016 !

26 Sunday Aug 2012

Posted by Mai Omar Desouki in SharePoint 2010

≈ 3 Comments


Adding SharePoint 2001, Joel Oleson had commented on FB to “don’t forget 2001” and Guillaume Meyer also commented on this post with a link to a picture of SharePoint 2001 that I will use here.



And how it used to look like:


SharePoint 2003


And how it used to look like:


 
 

SharePoint 2007


And how it used to look like:


 
 

SharePoint 2010


And how it used to look like:


SharePoint 2013


And how it used to look like:


 
 

SharePoint 2016


 
 

  

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

22 Wednesday Aug 2012

Posted by Mai Omar Desouki in SharePoint 2010

≈ Leave a comment


SharePoint (and Project Server) Shenanigans

On one of my current projects I have had cause to ensure that no special characters are in the Title field of a SharePoint 2010 list form.

This is because we are using the Title field as the Plan Name in a Project Create process in Project Server 2010.  As a result we need to ensure that the Event Handler we are creating has validated data that the PS2010 PSI Web Service can accept for the Plan Name.

I created the following script to validate the data being entered into the Title field of the list form as it is being entered.

I manipulate the Save Buttons in the ribbon and the list form to ensure that the user cannot enter invalid data into the form.

To ensure a good user experience, I add an extra <DIV> element next to the Title field to notify the user of what is…

View original post 294 more words

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

22 Wednesday Aug 2012

Posted by Mai Omar Desouki in SharePoint 2010

≈ Leave a comment


Pradip's Blog

Validation in SharePoint 2010

Most of the developers faced issues with column validations in SharePoint 2003/2007. It is really painful to write the validation using custom approach like JavaScript or jQuery (I don’t know how to do this one :().  SharePoint 2010 provides the following validations in Out of the Box. Items cannot be saved until these validation criteria are met and custom messages, which can be set for specific validation failure cases, are displayed to the user.

  • Column Level Validation
  • List Level Validation

1. Column Level Validation

We are already familiar with some sort of validation in column level; Date and Time field doesn’t allow us to input general text; Number doesn’t allow us to input text value, moreover, we can set range of the valid values (Max, Min).

Somewhat similar, Column Validation is the new feature of SharePoint 2010 which allows user to validate the input against the…

View original post 1,139 more words

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

22 Wednesday Aug 2012

Posted by Mai Omar Desouki in SharePoint 2010

≈ Leave a comment


I will add later a way to this more dynamically

Nick Hurst's Blog

There are two easy ways that I know of to get a list GUID.  One way to get the GUID is through the url of some of the list settings:

  • Go to List Settings
  • Click on one of the bottom links in either the General Settings or Permissions and Management categories (Rating settings, Audience targeting settings, Generate file plan report, Information management policy settings, etc)
  • Grab the GUID out of the url of that page (http://sitename/_layouts/MetaNavSettings.aspx?List={b569deaa-ea4a-4655-b6ad-6aa47fada6d8}

The other easy way is to open up that list in SharePoint Designer, when you click on a list there will be a panel called “List Information”.  In this panel the GUID is displayed next to the “List ID:” heading.

View original post

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

Sandboxed Solutions are deprecated in SharePoint 2013

21 Tuesday Aug 2012

Posted by Mai Omar Desouki in SharePoint 2010

≈ Leave a comment


Microsoft in 16 July 2012 published many articles on MSDN, and said that Sandboxed Solutions are deprecated in SharePoint 2013, I really wanted to post about it but thought I should wait for sometime..

Till I found Andrew Connell post http://www.andrewconnell.com/blog/archive/2012/07/16/understanding-sharepoint-2013-apps-aka-apps-101.aspx and in the comments as I was reading, I realized that it was good to wait as Microsoft changes lots of things from Consumer Preview edition to Beta 1 to Beta 2 if there will be 2 to RTM and so on…

But there is no bug because it is really deprecated.

Then another post from elumenotion Blog http://www.elumenotion.com/Blog/Lists/Posts/Post.aspx?ID=158 thay says:

Microsoft is deprecating Sandboxed Solutions in SharePoint 2013

This means that the functionality will still be available for use in SharePoint 2013, but primarily for backwards compatibility with existing solutions built using the sandbox solution approach.

Microsoft’s guidance is that if you are building new applications that in the past you would have deployed as sandbox solutions, you should use the new App model for those solutions instead of using sandbox solutions.

They took a similar approach in SharePoint 2010 with the STSADM command line administration tool when it was deprecated in favor of the SharePoint 2010 Management Shell and the numerous PowerShell cmdlets deployed with that tool. STSADM is still available in SharePoint 2010, but mainly just to allow for older scripts and tools that use STSADM to still function with SharePoint 2010.

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

Napa – Develop with new cloud app model with SharePoint 2013 & Office 2013

21 Tuesday Aug 2012

Posted by Mai Omar Desouki in Cloud App, Napa, SharePoint 15, SharePoint 2013, Visual Studio 2012

≈ Leave a comment

Tags

Microsoft, Microsoft Office, Microsoft Office 365, Microsoft SharePoint, Microsoft Visual Studio, Napa, Office, SharePoint, SharePoint 2013


The title talks about itself …

  • Developing on the cloud. No need to install anything, you can write your code, build, deploy all on the cloud,
  • No need for more RAMs as SharePoint 2013 and Visual Studio 2012 requires,
  • You can start developing for Office and SharePoint without having to install Visual Studio 2012,
  • You only need good Internet access J
  • Apps have no custom code that runs on the SharePoint servers. Instead, all custom logic moves “up” to the cloud or “down” to client computers.
  • Additionally, SharePoint 2013 Preview introduces an innovative delivery model for apps for SharePoint that includes components like the SharePoint Store and the App Catalog.
  • An app may include SharePoint components such as lists, workflows, and site pages, but it can also surface a remote web application and remote data in SharePoint.
  • An app has few or no dependencies on any other software on the device or platform where it is installed, other than what is built into the platform.
  • This characteristic enables apps to be installed simply and uninstalled cleanly.

So how to get started … First you need to sign up for Microsoft Office 365 developer preview at http://dev.office.com. Or let me make it easier with a direct link to registration https://portal.microsoftonline.com/Signup/MainSignup15.aspx?OfferId=BB85F335-F37F-4CFB-BBE1-7E6EA37AD022&dl=DEVPACK_B_PILOT&pc=9b9d9c81-1558-4425-9e64-ed2e67c98f87&ali=1 If you clicked on http://dev.office.com: then follow below steps:

  1. Click on the picture that says “Sign up and start building apps”

  2. You will go to another page with title “Start building apps for Office and SharePoint” > click on the “Sign up” button

  3. You will go to another page with title “Sign up for an Office 365 Developer Site” > click on the “Sign up” button

  4. Now you see the registration form to fill,
  5. You’ll have to wait for your Developer Site to finish provisioning.
  6. After provisioning is complete, refresh the Office 365 Admin Center page in your browser.
  7. Then, choose the Admin drop-down menu in the upper right corner of the nd choose SharePoint. Your browser opens the SharePoint Admin Center page, as shown below,

The first site listed under the Site Collections heading is your Developer Site. Now click on “Get tools to build apps”

  1. On the details page of the “Napa” Office 365 Development Tools app, choose ADD IT to install the app.
  2. Choose the Trust It button in the next window.
  3. When prompted for your credentials, sign in with your Microsoft account (e.g. your Hotmail account).
  4. After you sign in, you will be granted a license for the app. Leave the installation checkbox checked and then click on the Return to site link.
  5. After installation is complete click on the “Napa” Office 365 Development Tools icon on the All Site contents page to launch “Napa” Office 365 Development Tools.

Next steps for working with “Napa” Office 365 Development Tools

  • Create apps for Office and SharePoint by using “Napa” Office 365 Development Tools
  • How to: Create your first content app for Excel by using “Napa” Office 365 Development Tools
  • How to: Create your first mail app for Outlook by using “Napa” Office 365 Development Tools
  • How to: Create a basic app for SharePoint by using Office 365 Development Tools Preview

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

Remove Active Directory from Windows Server 2008 or R2

21 Tuesday Aug 2012

Posted by Mai Omar Desouki in SharePoint 2010

≈ 1 Comment


I had a vhd with Windows Server 2008 R2 and has AD on this VHD, now I need to remove this AD for some reason which may happen with anyone so thought I share how to do this,

It is really easy, the same way you installed AD when open “run” and typed “dcpromo” will be the same open “run” and type again “dcpromo” but only steps are different,

just follow the steps and check the boxes saying remove Active Directory and you are done and ofcourse you will need to restart … J

OS: Windows Server 2008, Windows Server 2008 R2

 

 

 

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

SharePoint Evolution Conference in April 2013

15 Wednesday Aug 2012

Posted by Mai Omar Desouki in SharePoint 2010

≈ Leave a comment


If you are a SharePoint Geek, don’t miss attending this conference http://www.sharepointevolutionconference.com/

 

 

  

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...
← Older posts

Blog Visitors

  • 78,897 Visitors

Categories

  • About me (1)
  • Microsoft Teams (3)
    • SharePoint Online (1)
  • Migration (2)
  • SharePoint 15 (5)
  • SharePoint 2010 (56)
    • Content Types (1)
    • Developer Dashboard (1)
    • Document Set (1)
    • Events I am Speaking In (2)
    • External Lists (1)
    • FAQ (2)
    • FBA (1)
    • Form Based Authentication (1)
    • Integration of CRM 2011 with SharePoint 2010 (1)
    • JQuery (1)
    • Master Page (1)
    • My Site (1)
    • PowerShell (3)
    • SharePoint Administration (5)
    • SharePoint Branding (1)
    • SharePoint Customization (5)
    • SharePoint Designer (4)
    • SharePoint Designer Workflow (1)
    • SharePoint Events (2)
    • SharePoint Online (1)
    • SharePoint Permissions (1)
    • SharePoint Workflow (1)
    • User Profile (2)
    • User Profile Sync (1)
    • Videos (1)
    • WebParts (1)
    • Workflow (1)
  • SharePoint 2013 (87)
    • Cloud App (1)
    • Event Handler (1)
    • iPad (1)
    • IPhone (1)
    • Napa (1)
  • SharePoint Updates (1)
  • Visual Studio 2012 (3)

Tag Cloud

About me Document Set Events I am Speaking In FAQ FBA Form Based Authentication JQuery Master Page Microsoft Teams Migration My Site PowerShell SharePoint 15 SharePoint 2010 SharePoint 2013 SharePoint Administration SharePoint Branding SharePoint Customization SharePoint Designer SharePoint Designer Workflow SharePoint Events SharePoint Online SharePoint Permissions SharePoint Workflow User Profile User Profile Sync Videos Visual Studio 2012 WebParts Workflow

Calendar

August 2012
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Jul   Sep »

Archive

  • September 2020 (2)
  • May 2020 (2)
  • April 2020 (6)
  • March 2020 (1)
  • September 2019 (2)
  • July 2015 (1)
  • May 2015 (3)
  • April 2015 (1)
  • March 2015 (1)
  • February 2015 (2)
  • January 2015 (1)
  • October 2014 (1)
  • September 2014 (3)
  • June 2014 (7)
  • May 2014 (5)
  • April 2014 (4)
  • March 2014 (3)
  • February 2014 (1)
  • January 2014 (2)
  • December 2013 (6)
  • November 2013 (5)
  • October 2013 (6)
  • September 2013 (5)
  • August 2013 (5)
  • July 2013 (5)
  • June 2013 (2)
  • May 2013 (2)
  • February 2013 (2)
  • January 2013 (1)
  • October 2012 (2)
  • September 2012 (7)
  • August 2012 (15)
  • July 2012 (5)
  • June 2012 (2)
  • May 2012 (4)
  • April 2012 (2)
  • March 2012 (1)
  • August 2011 (3)
  • July 2011 (15)

Blog at WordPress.com.

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.
%d bloggers like this: