Archive for the ‘SharePoin 2010’ Category

PowerShell and SharePoint 2010 Love story – Part 2

Tuesday, December 1st, 2009

In Part 1 of this series we have explored PowerShell basics and how to use it with SharePoint 2010.

Now let’s discover how to write PowerShell script to access SharePoint objects and perform some operations

Create Site collection

The following PowerShell script will Create 10 Site collections under sites managed path from the team site template

image

We used New-SPSite cmdlet inside for loop and passed as parameters the site URL, Site owner, template id and site language

cmdlets used: New-SPSite

Add items to Announcements list

our second script is to add items to announcements list which can be helpful if you want to add a lot of items in a list for demo or development or testing purposes

image

In this script we retrieved the web object then through object properties we retrieved the list by its title and through for loop we added new item in each loop.

cmdlets used: Get-SPSite, Get-SPWeb

Technorati Tags: ,

Presenting @ SharePoint Techday by Dotnetwork.org (5 December)

Wednesday, November 25th, 2009

Techdays 5Dec09 Poster

On December 5th Dotnetwork.org will be hosting a full day event for SharePoint, SharePoint Techday, I will be presenting the first session about Getting Ready for SharePoint 2010

Event schedule

10:30 AM – 12:00 PM SharePoint 2010, Getting Ready! Marwan Tarek
12:30 PM – 02:00 PM Developers’ tools for SharePoint 2010 Mohamed Yehia
02:30 PM – 04:00 PM Creating No-Code SharePoint Designer Solutions for SharePoint2010 Ayman ElHattab

Date: Saturday, December 5th 2009
Time: 10:30 AM – 4:00 PM
Place: Dar El Deyafa – Ain Shams University – Isis Hall – first floor, El khaleefa el Mamoon – EL Abbasia– Cairo

Ticket to attend the event is 15 L.E.

Waiting for you all.

egysug-logo1

Presenting at Egypt SharePoint November 09 Gathering

Wednesday, November 11th, 2009

 

clip_image001

Egypt SharePoint User Group is glad to invite you to its November 2009 gathering.

Egypt SharePoint User Group is proud to be the first user group in Egypt to present SharePoint 2010 features.

clip_image003

Date: Saturday 21st November 2009

Time: 11:30 AM till 1:30 PM

Venue: Microsoft Egypt Smart Village – Explorer 2 room

Schedule:

11:30 AM till 12:15 PM

What’s new in SharePoint 2010?

Marwan Tarek – MOSS MVP

12:15 PM till 12:30 PM

Coffee break

12:30 PM till 1:15

What’s new in SharePoint 2010 Development?

Mohamed Yehia – Technical Architect

For registration please Click here

Sponsored By

clip_image005

SharePoint 2010 website and updates

Tuesday, November 3rd, 2009

Watch the SharePoint Conference Key Note Demo Videos

  • Steve Ballmer Keynote
  • Tom Rizzo giving a Demo on SharePoint LOB Connectivity (30 min mark)
  • Tom Rizzo giving a Demo on SharePoint public facing website features (56 min mark)
  • Jeff Teper (VP of SharePoint Engineering)
  • Jared Spataro giving a massively long demo on all of the great end-user features focusing on Communities, Insights, Search, and Content (30 min mark)
  • Arpan Shah giving a presentation on the IT-Pro features of SharePoint (1:05 min mark)
  • Get the Videos Microsoft Press Pass: http://www.microsoft.com/presspass/presskits/sharepoint/Default.aspx

SharePoint 2010 Customer Web Site is Live

  • http://sharepoint2010.microsoft.com/Pages/default.aspx
  • Videos from each of the SharePoint Product Managers cover
    • Sites
    • Composites
    • Insights
    • Content
    • Search
    • Communities
  • These videos are similar to the Office 2010 sneak preview videos
  • Documentation about the primary features associated with the SharePoint Workloads

SharePoint 2010 Engineering Blog

  • “Describing SharePoint 2010 in 1 Sentence, 8 Categories and 40 Feature Areas”
    • Jeff Teper has published a MASSIVE blog post that delivers on the statement above
    • This is the closest thing to a feature list that I have come across. It has quick elevator pitches for each of the major feature areas
  • SharePoint Engineering Blog: http://blogs.msdn.com/sharepoint/
    • There are also two other posts on the history of SharePoint. So you can read about how we got to this crazy stage that we are in today. :)

SharePoint Customer Evidence

Developers dashboard in SharePoint 2010

Tuesday, November 3rd, 2009

Developer dashboard is one of the coolest features in SharePoint 2010 for enhancing the developers productivity.

Developer dashboard has the same concept like the ASP.NET trace which can be enabled on a page to view more information that helps the developer. Developer dashboard helps the developers a lot in performance tuning and troubleshooting issues related to page rendering.

How to enable Developer dashboard

Run the following stsadm command using the command prompt.

stsadm -o setproperty -pn developer-dashboard -pv ondemand

After successfully running the previous command, you should be able to see "Toggle Developer Dashboard” button on the web page top right corner (check below), Click the button and the dashboard will appear at the bottom of the page.

devdashboard

What Developer Dashboard shows?

  • Requests with timings for each one.
  • Database queries and their response times.
  • Load times for each Web Part on the page and Pre-render time.
  • Number of Web server SPRequest(s) and their timing.
  • Any critical events.

Screen shot for the developer dashboard which appears in the below of your web page

image

Requests information:

  • Url
  • Total time
  • Total size
  • Breakdown for the request

image

Asserts and Critical events

image

Web parts on the page events and their timings

image

List of All database queries and their timings, clicking on the database query will show the query text (procedure name and passed parameters)

image 

Note: You can view the usual ASP.NET trace by clicking “Show or hide additional tracing information . . .” at the bottom of the developer dashboard.

Related Links:

Using the Developer Dashboard in SharePoint 2010