My Speaking Schedule For May 2010

It seems that May 2010 will be an interesting month for me, I’ll be busy presenting 3 different SharePoint topics for different user groups and events. The sessions will be in 2 different languages for different audience and nationalities. Two of them will be online and the other will be offline. Below is my speaking schedule in Cairo local time (GMT+3)

Date/Time Topic User Group/ Event Language
SAT May, 1st – 12:00 AM SharePoint 2010 Workflows Online : EgyGeeks Online User Group Arabic
SAT MAY, 8th – 13:30 PM Troubleshooting SharePoint Solutions Online: SharePoint Saturday India English
WED May, 12th – 15:45 PM Visual Studio Tools for SharePoint 2010 Offline: SharePoint 2010 Community Launch by EGYSUG Arabic
Advertisements

Unlocking the Mysteries of the SharePoint Data View Web Part XSL Tags eBook Now Available

Marc Anderson, one of the faculty members of USPJ Academy announced a couple of days ago the availability of a new SharePoint eBook named “Unlocking the Mysteries of the SharePoint Data View Web Part XSL Tags”.

The eBook is based on Marc’s  popular set of articles on EndUserSharePoint.com and his blog. I really enjoyed the Marc’s series and just thought of spreading the word about this valuable eBook which can help you to understand the inner workings of the XSL used in SharePoint’s Data View Web Parts (DVWPs), AKA, the Swiss Army Knife of SharePoint.

Click here to get the eBook.

SHAREPOINT 2010 AND OFFICE 2010 COMMUNITY LAUNCH IN EGYPT

May 12 is going to be an exciting time.  Not only because SharePoint 2010 Launch, but because a lot of usare really going to be getting together to celebrate the most important launch!.  Join us On May 12 at 3:30 PM @ Microsoft Egypt, Smart Village to celebrate the launch and learn about the great features in SharePoint 2010.

Till now, there will be more than 60 community launch parties  across 5 continents running simultaneously, celebrating one of the most important launches in Microsoft history and we are really glad to be part of this huge global initiative. I would like also to extend a special thank-you to AvePoint for sponsoring Egypt SharePoint User Group.

 

Agenda :

15:45 – 16:00 Introduction Kailash Kalyani [Microoft]
16:00 – 17:00 Virtual Keynote Stephen Elop [Microsoft]
17:00 – 17:30 Break
17:30 – 17:50 PowerPivot in SharePoint 2010 Hesham Mortada [Microsoft]
17:55 – 18:15 Visual Studio Tools for SharePoint 2010 Ayman El-Hattab [SharePoint MVP]
18:20 – 18:40 Web Parts Development for SharePoint 2010 Shady Khorshied [SharePoint MVP]
18:45 – 19:05 Office Web Applications Mohamed Yehia
19:10 – 19:30 Windows PowelShell for SharePoint 2010 Marwan Tarek [SharePoint MVP]

 

RSVP to the Facebook event here.

Stay tuned for more information about transportation ..

Read Also : 15 New SharePoint 2010 Launch Community Parties To Be Announced by Joel Oleson

Programmatically enforcing a field value uniqueness in SharePoint 2010

The following code snippet shows how to programmatically modify a field to enforce the uniqueness of its values (like the unique constraint in SQL Server).

SPField titleField = myList.Fields.GetField(“Title”);
titleField.Indexed = true;
titleField.EnforceUniqueValues = true;
titleField.Update();

Oh, and this only applies to SharePoint 2010, Unique fields are completely new to 2010..

Hope this helps!

USPJ Academy Applications Open Tomorrow

Tomorrow, on Tuesday 13th, USPJ Academy will open up for new applications for the early access program.

First, if you want to convince your boss to let you attend, check this  brief 5-minute video explaining all your boss may need to know:
http://www.uspja.com/dearboss

Let me also briefly mention what you’ll get at USPJ Academy:

  1. Unlimited self-paced courses
  2. Up to three concurrent collaborative classes, facilitated by SharePoint industry experts
  3. Access to virtual labs as much as you want
  4. Library with SharePoint books, articles, lectures, videos, and more
  5. Faculty blog containing exclusive and rapidly updated information
  6. Superstar lectures where we invite the best SharePoint people to speak
  7. Campus forums to share or learn from other students and faculty members

For more information about the academy check www.uspja.com and let me know if you have any questions.

Binding To Non Public Members in SharePoint Workflows!

Yesterday, I received an email from Ahmed Omar ElSakka asking me the following question:

I am new to SharePoint Workflows; when creating SharePoint Custom Workflows using Visual Studio 2008, I saw many blog posts and articles saying that you should declare the properties and fields within the workflow code as public so that you can use them from the workflow activities and bind them to activity properties. I have tried to declare some properties as private or protected and yes I couldn’t find them in the dialog box when trying to bind the HistoryDescription of LogToHistoryListActivity to one of those private members, any justifications?

My answer is:

Yes Ahmed, this is true; you cannot bind activity properties to non public members and this is attributed to the serialization mechanism used by the workflow foundation.

In other words, workflow instances stay in the memory for a relatively small time . When a workflow is waiting for an event to occur (like OnTaskChanged), the workflow runtime serializes the workflow state into XML by performing a shallow copy which means that the runtime only reads the public members when serializing the workflow instances and stores the state by calling the workflow host persistence interface. When the workflow receives a notification to get back to life (for example when the task is changed), the workflow host deserializes the XML into a new instance of the Workflow type, so if you are planning to use activities that need data, declare the workflow class members that reference this data as public”.

I hope this answers you question Ahmed.