Blogs


  • How to refresh the ribbon of the Homepage Grid in CRM 2011


    As we know in an Entity Form of CRM 2011, if we want to refresh the ribbon to reactivate the enable rules or the display rules for example, we call the method refreshRibbon() of the object Xrm.Page.ui. But what happen if we try this method in the ribbon of the Homepage Grid of an Entity? We'll find that the Xrm.Page.ui returns null and therefore won't have the method previous mentioned. Then, what we have to do to refresh the ribbon in the Homepage Grid for example when another button in the Ribbon needs to update the rules when it is clicked?

    This method is not supported by Microsoft. Use it under your own risk.

    Is very simple. The only thing we have to do is to call the click event of the refresh button of the entity grid in our function:

    function RefreshHomeRibbon(){

          var refresh = document.getElementById("refreshButton"); // this will be the table container

          if(refresh != null) {

            refresh.children[0].children[0].children[0].children[0].onclick(); // call click event in the <a> tag

            //       <tbody>      <tr>         <td>        <a>    

            // Sometimes you need to call twice to take effect

            refresh.children[0].children[0].children[0].children[0].onclick();

              }

    }

    The refresh object will return an html table. To access the click event you need to enter the <a> tag children and call it.

    And finally call this function in yours (RibbonButtonClick here):

    function RibbonButtonClick(){

         var a = b + c;

         RefreshHomeRibbon();

    }

    Enjoy it!


    Continue reading...



  • CRM Activity Feeds for Onpremise


    Lately there is a new solution released by Microsoft called Activity feeds which is available not only for CRM online but you can also install it on premise versions of Dynamics CRM 2011.

    If you want to install this solution you must be sure you have the Rollup Updates 5 installed on your CRM. 

    You can download this solution from the CRM marketplace at
    http://dynamics-crm.pinpoint.microsoft.com/en-US/applications/microsoft-dynamics-crm-activity-feeds-12884926310
     

    With the CRM 2011 activity feeds solution you can also setup the user's picture profile.



    Click on Edit





    Browse the image you want to use for your profile and click OK



    Now you have updated the image for your user profile.

    Continue reading...



  • CRM 2011 Update Rollup 5 is available


    The latest rollup update 5 is available for download at

    http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27820

    This rollup is necessary if you want to use the Activity Feeds solution available in the marketplace.

    One of the new features added on this rollup update is the ability to add hyperlinks of the records you want to access dynamically on email notifications via workflows.

    For more detail information check this link:

    http://www.powerobjects.com/blog/2011/11/11/microsoft-dynamics-crm-2011-update-rollup-5-adding-a-hyperlink-to-email-notifications-via-a-workflow/


    Continue reading...



  • Released: ‘Microsoft Dynamics CRM 2011 Unleashed’


    I am proud to announce we released, which is my 3rd book, the book for Microsoft Dynamics CRM 2011 which I written with my friend and partner Marc Wolenik. This is a very big one we ever wrote and where we put our most insights of what I can say it is the best CRM product in the market.  This new book is not only focus on the end user but also to administrators and developers who want to leverage the powerful of this product. We covered all the customizations aspects from Forms, reports, Dashboards, Charts, Workflows, Plugins, and web services.

    Continue reading...