First Look demos: Microsoft Project 2010
19 September 09 05:24 AM

three new First Look demos for Microsoft Project 2010 are published now. the demo videos cover three topics:

  • Microsoft Project 2010 Overview
  • Microsoft Project Professional 2010
  • Microsoft Project Server 2010
  •  

    check em out now at: http://www.microsoft.com/project/2010/en/us/default.aspx 

     

    - mutaz

    Postedby mutaz | 0 Comments    
    Add a Publish command to Project Web Access home page
    03 September 09 02:57 AM

    This post shows how to add a publish command to PWA, this command will trigger a dialog box for publishing projects, the user will select the project to publish and submit.

    here is how it looks like:

    image

    and when you click on the publish command, you get this dialog box:

    image

    to implement this solution you need to add a content editor web part to the home page, and then add the following to the HTML source for the web part.

    <script type ="text/javascript">

      function Publish()
       {
          window.showModalDialog( PJ_GetPWAPageUrl("Statusing/PublishDlg.aspx"), "", "dialogHeight: 300px; dialogWidth: 400px; center: yes; resizable: no; status: no; unadorned: yes;");
       }

    </script>

    <BUTTON accessKey=P id=ctl00_ctl00_PlaceHolderMain_PWA_PlaceHolderMain_idTB_Publish_ToolbarButton class=ToolbarButton title=Publish onclick="var __ret =Publish(); if (!__ret){return false;} else {__doPostBack('ctl00$ctl00$PlaceHolderMain$PWA_PlaceHolderMain$idTB_Publish_ToolbarButton','');}"><IMG style='BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px' class=ToolbarButtonImage alt=Publish src='/_layouts/pwa/images/PublishAll.gif'>Publish</BUTTON>

    - mutaz

    Postedby mutaz | 0 Comments    
    Filed under:
    Outlook 2010, makes people's life better!
    31 August 09 01:49 PM

    A big big fan of Outlook my self, outlook by far is my number one favorite software ever! and I love outlook 2010, check out this Backstage With Office 2010 video on Outlook.

    cheers,
    - mutaz

    Postedby mutaz | 0 Comments    
    Filed under:
    “Typing Arabic has never been this easy!”
    03 July 09 01:46 AM

    This is one of the best innovations I’ve seen for a while!

     

    Microsoft Maren is a Windows extension that allows users to type Arabic in Roman/Latin characters (Romanized Arabic, Arabizi, Arabish or Franco-Arabic) and have it converted on the fly to Arabic script.

     

    ya3ni lamma ebtoktob arabizi, maren ba7awwlo lala 3arbi –> يعني لما بتكتب عربي بالانجليزي مرن بحوله لكتابه عربي.

    it is so easy to use, it integrates with Windows in the form of an arabic keyboard, which means anywhere and on any application.

     

    to get maren, go to http://www.getMaren.com

    clip_image001

     

     

    اصلي

    Postedby mutaz | 0 Comments    
    Customising Content Query Web Part (CQWP) and Discussion Boards
    06 June 09 03:22 AM

    I had a requirement to customise the CQWP in a way to display the number of replies on a discussion board item. and change the URL link of the item in CQWP to take the user to the threaded view of the discussion, rather than dispform.aspx  of the discussion item.

    this post shows how to create an aggregate view of discussion boards in a site collection, and its sub sites, hence the usage of CQWP with the required customisations.

    one objective here is to avoid .custom development, so this post will use the CQWP customisation features: customising item styles and viewing custom fields in a CQWP.

    the final result will be similar to this:

    image

     

    few things that you should learn before attempting to follow the instructions:

    1. how to customise item styles for a CQWP: http://msdn.microsoft.com/en-us/library/ms551040.aspx, and http://www.heathersolomon.com/blog/articles/CustomItemStyle.aspx 

    2. Where does the number of replies come from?

    A: an internal field on the Discussion list named: ItemChildCount. the field has a display name of “Replies”. look into the discussion board list feature schema for a complete list of fields.

    3. how to return custom fields in a CQWP, the key is to use the CommonViewFields property to add custom fields, the method is described in details here: http://msdn.microsoft.com/en-us/library/ms497457.aspx

     

    To prepare the item style:

    1.  customise ItemStyle.xsl to add a new style that will show the number of replies

    Replies:(<xsl:value-of select="substring-after(@ItemChildCount,'#') "/>)

     

    2.  in the same item style, fix the URL link to point to the threaded view of the discussion item:

    <xsl:variable name="vv1">
         <xsl:value-of select="@LinkUrl"/>
    </xsl:variable>

    <div class="ms-vb">
         <a href="{$vv1}" target="{$LinkTarget}" title="{@LinkToolTip}">
         <xsl:value-of select="$DisplayTitle"/>
    </a>
    </div >

    (or copy and paste the below in your itemstyle.xsl before </xsl:stylesheet>)   

    download file

     

    Customising CQWP properties:

    1. drop a CQWP on your page, build you’re query. In the additional filters part filter on Content Type is not equal to Message (or Content Type is equal to Discussion).

    image

     

    2. Change the item style to use the new custom style.

    image

    3. Export the web part and add a line to the webpart manifest file in the CommonViewsFields section to retrieve the ItemChildCount field and then re-import the customised CQWP file:

    <property name="CommonViewFields" type="string">ItemChildCount, Text</property>

    5.  now use your new content query webpart on the page.

     

     

    cheers,
    - mutaz

    Postedby mutaz | 1 Comments    
    SharePoint is not returning federated search results. Proxy settings required on the server.
    20 March 09 05:59 AM

    Search centre in SharePoint collaboration sites has built in federated search result page that pull from live search.

    in cases when no federated search results are displayed, or a Location not found error message appears. this could be related to proxy setting on the server that is stopping the search from reaching the federated search location.

    You can specify proxy server settings for crawling content and querying federated sources on computers in other networks, such as the Internet. In many cases it is necessary to use a proxy server to bypass intranet security restrictions.

    Set configure proxy settings for federated search locations:

    1. from central admin site, go to Application Management, and click on “Manage search service” (that will be http://centraladminserver:portnumber/_admin/managesearchservice.aspx)

    2. click on “Farm-level search settings” (http://centraladminserver:portnumber/_admin/SearchFarmSettings.aspx)

    3. fill in the proxy server settings and select the option to use these settings for access to federated sites.

    image

     

    for more information check this out: Configure proxy settings for federated sources (Office SharePoint Server) 

     

    - mutaz

    Postedby mutaz | 0 Comments    
    How-To: Self service site creation?
    04 March 09 02:24 AM

    Creating a new site collection usually requires a farm admin permission level since the tools to do so are available through the central admin or by using an stsadm command line.

    In some cases, you want to delegate the site creation to end users (without granting them farm admin privilege obviously!).

    Self-Service Site Creation allows users with the use Self-Service site Creation’ permission to create sites in defined URL namespaces (the web application). This post will show how to enable Self-Service Site Creation, and control the access rights to this feature.

    Enabling Self-Service site creation:

    the feature is enabled from the Central Admin on the web application level.

    1. browse to http://<your central admin>/_admin/ConfigSSC.aspx.

    2. select the web application where you want to enable self-service site creation, and select “On” in the Enable Self Service Site creation section.

    image

     

    Granting permissions to use the self service site creation

    permissions to use this feature can be control on the “top-level root web site” for the web application. the site “Members” group will have the required permission level to use the feature, which is granted through the “Contribute” permission level.

    image

     

    all you need to do now is to add users to the members group. and publish the URL for self service site creation. (http:/your/webappurl/_layouts/scsignup.aspx).

     

    Note: you should control the group memberships on the root level web site in your web application as often you want to restrict access to self service site creation. remember self service site creation is creating new site collections (not sub webs), site collections are boundaries for management and security, and you should have rules for allowing people to create new site collections.

     

    - mutaz

    Postedby mutaz | 0 Comments    
    Filed under: , ,
    error: “The application-specific permission settings do not grant Local Activation “
    11 February 09 11:02 PM

    this is a common DCOM error that often seen in sharepoint deployments. the error details form the application event log:

     

    Event Type:    Error
    Event Source:    DCOM
    Event Category:    None
    Event ID:    10016
    Date:        10/02/2009
    Time:        10:51:42 AM
    User:        KIOSKPOC\svc_SP
    Computer:    HTS0367
    Description:
    The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
    {61738644-F196-11D0-9953-00C04FD919C1}
    to the user KIOSKPOC\svc_SP SID (S-1-5-21-4047873115-1278379611-1960023932-1132).  This security permission can be modified using the Component Services administrative tool.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

     

    to fix the error, you need to grant the local activation permission to the component that is referred to in the error log. in the case of the error above, the component is IIS WAMREG admin service.

    here are the instructions to grant the required permission to the component:

    1. Open Component Services management consol. to do so on a Windows 2008 server - run the commend: comexp.msc from the Run window (or a command prompt).

    or just go to Administrative tools, and select to run Component Services.
    2. Select the IIS WAMREG admin Service component.

    (you will find it under: Component Services \ Computer \ My Computer\ DCOM Config)
    image
    3. Right click the component, select properties and switch to the Security tab. image
    4. Click Edit in the section named: Launch and Activation Permissions. image
    5. Add your service account and grant it local launch and local activation permissions. image
    6. OK your settings, and reset IIS  

     

    cheers,
    - mutaz

    Postedby mutaz | 3 Comments    
    SSP Admin cannot manage existing BDC applications?
    14 December 08 11:00 PM

    A newly created SSP admin with full set of permissions on BDC gets access denied messages when trying to manage existing BDC applications if the new SSP admin was created after the BDC application was imported to the SSP.

    To resolve this issue, go to manage permissions on BDC (/ssp/admin/_layouts/BDCAdminUI/ManagePermissions.aspx) select the new user and click on "copy all permissions to descendants".

    image

    - mutaz

    Postedby mutaz | 0 Comments    
    patterns & practices: Application Architecture Guide 2.0 (The Book) - Home
    11 December 08 03:02 AM

    was released  few weeks ago, includes a good little section on architecture decisions you often see in building a SharePoint based LOB.

    patterns & practices: Application Architecture Guide 2.0 (The Book) - Home

     

    - mutaz

    Postedby mutaz | 0 Comments    
    PowerShell SharePoint deployment scripts
    10 December 08 03:01 AM

    cross posting from the Norwegian MCS IW team:

     

    It is an pleasure to announce the first of our two new SharePoint projects on Codeplex.com:

    Project Description
    SharePoint PowerShell Deploy is a set of PowerShell files to help you build, deploy, upgrade and destroy a SharePoint farm. It can be used on development machines as well as test and production scenarios.
    Background information and thoughts about the project are available at this blog entry

    SharePoint PowerShell Deploy
    It is often very tideous to create and set up SharePoint on one machine, then reproduce the same steps on another machine in another environoment over and over again for development and testing. SharePoint PowerShell Deploy automates this process from start to end. From psconfig (the SharePoint installation wizard) to creation of subsites based on your own site definitions. All you need to do is to define your settings in the "deploy.ps1" file and start the project with the run.cmd file.

    Read on the the CodePlex site - http://www.codeplex.com/sharepointpdeploy

     

    cheers,
    - mutaz

    Postedby mutaz | 0 Comments    
    Patterns and Practices: SharePoint Guidance
    14 November 08 11:30 PM

    The patterns and practices SharePoint Guidance is here, this guidance helps architects and developers design, build, test, deploy and upgrade SharePoint intranet applications. A reference implementation that is named the Contoso Training Management application demonstrates solutions to common architectural, development, and application lifecycle management challenges.

    This guidance discusses the following:

    • Architectural decisions about patterns, feature factoring, and packaging.
    • Design tradeoffs for common decisions many developers encounter, such as when to use SharePoint lists or a database to store information.
    • Implementation examples that are demonstrated in the Training Management application and in the QuickStarts.
    • How to design for testability, create unit tests, and run continuous integration.
    • How to set up different environments including the development, build, test, staging, and production environments.
    • How to manage the application life cycle through development, test, deployment, and upgrading.
    • Team-based intranet application development.

     

    Links to the new sharePoint Guidance: http://microsoft.com/spg and http://www.codeplex.com/spg.

     - mutaz

    Postedby mutaz | 0 Comments    
    SSRS 2008 and Report Builder 2.0
    12 November 08 03:57 AM

    Today i finally had a chance to look at SSRS 2008. some of the new features that i already like about it:

     

    • the new tablix control: a mix of table + matrix, will let you combine both table capabilities and matrix capabilities in one grid. some examples of its new features are combining both static and dumanic columns, and having multiple parallel dynamic groups in a grid.
    • gauges indicators, gives you new ways to visualize KPI data
    • enhanced design experience for tablix and charts
    • new chart types
    • and export to Word, so now you can expert your report to Word, and then edit it to add commentary before publising

    also, the new Report Builder 2.0 looks cool, unline the old builder, this one allows you to connect to any data source known to the designer. not only report models. I am still to experiment with custom built data extensions. I find more user friendly for report designers who are not developers or dont want to deal with Visual studio tools to create and design reports.

    the new builder can be downloaded from here: http://www.microsoft.com/downloads/details.aspx?FamilyID=9f783224-9871-4eea-b1d5-f3140a253db6&displaylang=en.

     

    cheers,
    - mutaz

    Postedby mutaz | 0 Comments    
    "Command Prompt" here!
    10 November 08 03:25 AM

    here is a very handy registry edit that will add a "Command prompt" and "12 Folder" commands to your windows explorer contenxt menu: http://blogs.msdn.com/jb/archive/2007/09/19/12-folder-from-here.aspx. use when you want to open a command prompt on the 12 folder direct (useful when using stsadm command).

    here is the trick (copied from the blog post above):

    Save the following as a .REG file and import it:

    Windows Registry Editor Version 5.00
     
    [HKEY_CLASSES_ROOT\Folder\shell\Open12Folder]
    @="12 Folder"
     
    [HKEY_CLASSES_ROOT\Folder\shell\Open12Folder\Command]
    @="cmd.exe /k cd \"%%CommonProgramFiles%%\\microsoft shared\\web server extensions\\12\\BIN\""
     
    [HKEY_CLASSES_ROOT\Folder\shell\OpenNew]
    @="Command Prompt"
     
    [HKEY_CLASSES_ROOT\Folder\shell\OpenNew\Command]
    @="cmd.exe /k cd %1"

     

    cheers,

    - mutaz

    Postedby mutaz | 0 Comments    
    Outlook search - start "finding"
    04 November 08 10:57 PM
    • Seriously, stop looking for that old email you got from a customer or a friend by navigating through your outlook folders, use search!!!!

     I am a big fan of desktop search technologies, I use(d) vista for long time, now i am on Windows Server 2008 with desktop experience and search enabled. and this blog post is to introduce some outlook search tips that i use my self every day.

     first of all, i stoped trying to "organize" my mailbox by create so many folders and moving things by project and by sender. most people still do that in an attempt to make it easier to find that email later on. what i do is keep everything in one place (untill it's too old to be useful then i move it to an archive file), and i use outlook search to find my way through the thousands of emails in my inbox.

     i rely heavily on email items attributes to find what i am looking for, so if i am looking for an email that was sent by me, i will use the search term "from:mutaz", and so on.

     my top three search terms are:

    • from:name or email of author
    • to:name of email of recipient
    • isread:false/true

    <update date="4/12/2008">

    a new favorite search term:

    category:nameOfCategory

    works nicely if you use outlook categories in your inbox or even calendar or contacts

    </update>

    so if it is an email from simon (my PM now) regarding the project work we are doing for Adventure Works, my search term would propably be (from:simon "adventure works"), if i am looking for the email that he sent specifically to me which i did not read yet then the search term will become (from:simon to:mutaz "adventure works" isread:false).

     needs a little getting-used to, will save you lots of time trying to find your way around your outlook email. 

    cheers, 
    -  mutaz

    Postedby mutaz | 0 Comments    
    Filed under:
    More Posts Next page »

    This Blog

    Syndication

    Page view tracker