Today i was pleased by getting my Scrum Master Certificate , I can’t wait to actually start using it in real life I think it is a great way of managing and developing software, it just feels right Here is the description and the rules to get certified here and here Basically it is taking [...]

(more ...)

  This Post is part of  Scrum Master Series Sprint Zero: Overview of the main backlog items (legacy bugs, Infrastructure Items, Analysis Work) Dividing large Epics into small stories that allow prioritization by PO considering Return on Investment (ROI) Product Backlog Backlog Items should describe the what not the how they can take the form [...]

(more ...)

This Post is part of  Scrum Master Series People : Scrum Master Product Owner Scrum Master Process : Sprint Planing Daily Scrum Sprint Review Sprint Prospective Artifacts : Product Backlog Sprint Backlog Sprint Burndown Product Burndown

(more ...)

This Post is part of  Scrum Master Series Scrum Workflow Product Vision Product Backlog Sprint Planning 1 Selected Backlog Sprint Planning 2 Sprint Backlog Sprint Retrospective Sprint Review Daily Scrum Back to Step (3) What is "Flow" ? Flow is the mental state of operation in which the person is fully immersed in what he [...]

(more ...)

This Post is part of  Scrum Master Series Scrum is originally the American football meeting the team makes before the actual game Scrum is a good agile way of developing and planning software programmers It is basically have the idea of doing not discussing, if you are new to scrum meetings You will get the [...]

(more ...)

So i wanted to look into the new syntax by SharePoint 2010 to connect to a site and Retrieve edit data And i found that great topic that goes through the API step by step and explaining every Things with code and examples really liked it Using the SharePoint 2010 Managed Client Object Model Table [...]

(more ...)

I have started lately a POC project in the health care filed with the Microsoft surface And i was trying to integrate SharePoint 2010 with the surface And i really wanted to use VS 2010 but the problem was that Surface SDK only worked with Visual C# Expression and actually the C# Expression is one [...]

(more ...)

I promised you a few items ready for download – these are the links: Administrative guidance: here Specific for remote management: here SDK (if you don’t have it already): here Dev environment setup: here From this it is quite clear that we could do more complex content – this is noted and although I cannot [...]

(more ...)

What is New In C# 4.0 Dynamic lookup dynamic d = 7; d = “Abdel-Rahman”; Named and optional parameters public void M(int x, int y = 5, int z = 7); M(1, 2, 3); // ordinary call of M M(1, 2); // omitting z – equivalent to M(1, 2, 7) M(1); // omitting both y [...]

(more ...)

Functions Instant Messaging on-Premise web conferencing Audio/Video conferencing Telephony Architecture Editions Standard Edition ( small/ medium )organizations All scenarios / Functionalities located on the server Enterprise Edition( medium / Big) organizations Consolidated configuration All functions/Scenarios located on front end servers Expanded configuration Each Function is configured on a standalone server Servers Front End Servers( All [...]

(more ...)

So last week end i decided to upgrade my HTC touch HD windows based mobile phone to the new windows 6.5 and the fancy HTC TouchFlo 3D it took all the week end actually to do it …. not because it is difficult but because i made it wrong so i am here today to [...]

(more ...)

At my company we were trying to configure up documentum integrated with SharePoint 2007 but our main problem was that SharePoint was installed on Windows Server 2008 ( Hyper V) and documentum is only integrated to work on Windows 2003 so that was one of the big issues forced us to reconsider the solution. but [...]

(more ...)

So just a quick notes on what I learned in two days at Microsoft development center ,basically it was a big demo of what UC can do and then a small explanation of each step and how was the demo done The demo was about a wife that is going to buy a sofa from [...]

(more ...)

So here what I got for Microsoft surface I am very sure i saw a video showing how to make a game to the surface some where in that site The table official site The table partner program The Table for programmers (you have to be a MS partner to get access to the sdk [...]

(more ...)

I am getting very excited here looks very interesting and a lot of fun to play with Hardware needed HP TouchSmart All-in-One PC : Touchsmart Price : 9000 from fona see here Or Dell latitude XT2 Price details and here  (starts at $2,399) Or HP touchsmart tx2 (starts at $800) here Software needed Installed Windows® [...]

(more ...)

A great topic explaining all the SharePoint style classes and names   Enjoy ; – )

(more ...)

So i have just got my SharePoint developer certificate , it was 32 question that i had to answer in 2 hours but it was very easy actually if you do the right preparations you will pass 4 sure ; – ) so what i did was basically trying to go through the book called [...]

(more ...)

Here you go the code for sending email within the SP context   using Microsoft.SharePoint.Utilities;SPUtility.SendEmail(SPContext.Current.Web, false, false, "to-address@mail.com", "E-mail title", "E-mail body"); more details here

(more ...)

Some times we need to hide some fields in the InfoPath form according to the logged in user so this where i found how to do it…   Enjoy

(more ...)

Some times when working with virtual machines … it is a good idea to disable the shut down to make sure you don’t hit it by accident so this is how it works Start Group Policy Editor (Start > Run > “gpedit.msc”) In the left panel, go to User Configuration > Administrative Templates > Start [...]

(more ...)

SharePoint 2010 video streaming

Everything you want to know about what the default player web part can and can not

http://blogs.msdn.com/b/sanjaynarang/archive/2010/05/26/media-web-part-in-sharepoint-2010-faq.aspx

2. What file formats are supported or can be played in Media Web Part?

Media Web Part is a Silverlight control. So, all the formats supported by Silverlight can be played using MWP. Look at this article for details on that: Supported Media Formats, Protocols, and Log Fields.

There must be consideration about the size of files you wish to support the web application (default 50MB) level and whether to bring BLOB Storage in use if you want to support large files.

Just turn up at web application level should be done with caution – since (at least in MOSS) to max file size effectively means that for every upload steals the RAM corresponding max size while uploading runs. That means if you turn up to the max file size of 1 GB and two users upload at the same time so grab SharePoint 2x1GB RAM on the server (if they sit at the same WFE) while uploading runs – this could potentially send the farm to its knees.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

SPAlert And SPView

I am developing a news module for SharePoint 2010 and we wanted to create a list alert based on a list view, for each channel / folder … but we needed to do that programmatically

I surfed the internet looking for a solution or a code explaining how to do that but without any luck

so i decided to investigate the properties of the out of the box alert object and see what special values does it

have that makes it connected with the list view


But still that didn’t had any indications where is the alert object is associated with the list view

i only had one last place to look at and that was the SPALert properties bag … and yes there the connection to the list view happens

I made that custom code for creating an SPALert with the caml filters of the default list view

public static bool CreateAlert(string folderName)

{

 return DoNewsAction<bool>((web) =>

{

web.AllowUnsafeUpdates = true; 

SPList list = web.Lists[ValueHelper.NewsListName];

 SPFolder folder = list.RootFolder.SubFolders[folderName];

 if (folder == null|| string.IsNullOrEmpty(folder.ServerRelativeUrl)) return false;

 SPAlert alert = web.Alerts.Add();

 alert.AlertFrequency = SPAlertFrequency.Daily;

 alert.AlertType = SPAlertType.List;

 alert.AlwaysNotify = false;

 alert.DeliveryChannels = SPAlertDeliveryChannels.Email;

 alert.EventType = SPEventType.Modify;

 alert.List = list;

 string filter = string.Format(@"<Or><Eq><FieldRef Name='ItemFullUrl'/><Value type='string'>{0}</Value></Eq><BeginsWith><FieldRef Name='ItemFullUrl'/><Value type='string'>{0}/</Value></BeginsWith></Or>", folder.ServerRelativeUrl.TrimStart('/'));

 string viewQuery = list.DefaultView.Query;

 if (viewQuery.Contains("<Where>") && viewQuery.Contains("</Where>"))

 {

 viewQuery = viewQuery.Substring(viewQuery.IndexOf("<Where>") + "<Where>".Length, viewQuery.LastIndexOf("</Where>") - (viewQuery.IndexOf("<Where>") + "<Where>".Length));

 alert.Filter = string.Format(@"<And>{0}{1}<And>", filter, viewQuery);

 }

 else

 {

 alert.Filter = filter;

 }

 //use a view filtering option

 alert.Properties.Add("filterindex", "4");

 //the list view to associate with the alert item

 alert.Properties.Add("viewid", list.DefaultView.ID.ToString("D"));

 //the path of the folder to be alerted on

 alert.Properties.Add("filterpath", string.Format("{0}/", folder.ServerRelativeUrl.TrimStart('/')));

 //alert me only if item was modified in that view

 alert.Properties.Add("eventtypeindex", "2");

 //send sms alert

 alert.Properties.Add("sendurlinsms", "False");

 //the mobile view url

 alert.Properties.Add("mobileurl", string.Format("{0}/_layouts/mobile/ ", web.Url));

 //the site collection url

 alert.Properties.Add("siteurl", web.Site.Url);

 //the default item display form

 alert.Properties.Add("dispformurl", list.DefaultDisplayFormUrl);

 alert.Title = string.Format("{0} : News", folderName);

 alert.User = web.CurrentUser;

 alert.Update(true);

 return true;

 });

 }

That took some time to understand :)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

Settings Category Rss

In SharePoint each list item can be configured to have rss feeds, and actually feeds can be filtered , sorted and grouped the same way like when creating list view , Actually the rss feeds outside the box is for each list view and the default list feeds are the feeds of the list default view

In our case we need to create Rss feeds for a publishing wiki pages list and be able to get have rss for each topic category in the wiki categories … so solution will be creating list view for each category and using the rss feeds for those views

  1. Configure the List Rss Setttings

    Navigate to your wiki Pages list choose list settings


    Choose Rss Settings

    For the Rss Settings make it look something like that

  2. For configuring the actual content of each record in the feed it is up to you to choose what you want to show

    For me i choosed the wiki content and tags

  3. Create List View for each wiki category

    Now go back to the list settings and choose to create a new view in the views section

    Write the View name to be the category name for example “Abbreviations”

    select values you want to display in the view( will not affect the data in the rss feeds … data in the rss feeds are

    always retrieved according to the list rss settings … so data will be displayed according to the previous step )

    In the filters section make it look something like this … choose the field you want which is in our case “Category”

    Is equal to “Category Value” for example “Abbreviations”

    Repeat step 3 for each category value in the category options

  4. Use the list view Rss Feeds Url

    To get the Rss feed for each view navigate to the list settings

    Choose the view you want and click the Rss button to go for the Rss Url

Good to know

WriteRssFeed supports 3 overload methods:

SPList.WriteRssFeed(Stream) :

Writes the RSS feeds from the list to the specified document stream.

SPList.WriteRssFeed (Stream, Int32) :

Writes the RSS feeds from the list that are associated with the specified meeting to the specified document stream.

SPList.WriteRssFeed (Stream, Int32, SPView) :

Writes the RSS feeds from the list that are associated with the specified meeting and view to the specified document stream.

< Pasted from this topic >

SPRSS : Enhanced Rss Functionality for wss : http://sprss.codeplex.com

Codeplex Project that enhance the out of the box list rss feeds

  • Making better and clean rss feeds read more

  • Step by step for using the SPRSS read more
  • Some cool scenarios embedding external world inside SharePoint using SPRSS read more
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
 

 

View Abdel-Rahman Awad's profile on LinkedIn

Archives

 

Rss Feed Tweeter button Facebook button Linkedin button Delicious button Digg button