Knowledge found and lost while working with Microsoft Dynamics CRM
RSS icon Home icon
  • New Dynamics CRM Poll added

    Posted on September 6th, 2006 mitch Print Print No comments

    Since most of my work these days revolves around Microsoft Dynamics CRM 3.0, I would like to know what CRM feature interests you the most.

    If you look at the bottom of the right-hand sidebar on my blog, you'll find a poll where you can vote on topics that are important to you.

    If you find a topic of interest isn't listed, just email me:

    mitch at infinite-x dot net

    I would like to use this information to provide more focused information to my audience.

    Thanks, Mitch

    Dynamics CRM
    1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
    989 views
  • Test post #2 with Windows Live Writer

    Posted on September 6th, 2006 mitch Print Print No comments

    Wow! Test number one worked great. I'm rather impressed.

    Not only does it publish my article directly to my blog engine, when it performed the initial connection to my blog, it also downloaded all of my categories so that I can apply a category to the article like I normally would if I were creating the article through my blog's web interface.

    Let's try that code syntax plug-in again, but this time, let's use some JavaScript code from an article published back at the Spring:

    /* Specify the currency symbol for your part of the world*/
    var sCurrencySymbol = "($)";
    /*
    CRM tab IDs are numbered tabx - taby, from 0 to the number of tabs-1.
    For each tab that you would like to alter, insert its ID into the array
    myarray.
    For example, if you only wanted to alter the field labels on the General Tab
    your code would be:
         var myarray = new Array('tab0');
    */
    var myarray = new Array('tab0', 'tab1');
    for (var loop in myarray)
    {
    /* get a hande to the tab containing our form fields */
    var tabs = document.getElementById(myarray[loop]);
    /* locate all of the HTML Table structures on the Tab */
    var tables = tabs.getElementsByTagName("table");
    /* loop through all of the Tables on the Tab */
    for (var i = 0; i < tables.length ; i++)
    {
    /* Locate all of the table Cells within the specified Table */
    var td1 = tables[i].getElementsByTagName("TD");
    /* loop through all of the Cells in the Table */
    for (var i2 = 0; i2 < td1.length ; i2++)
    {
         var sElem = td1[i2];
         /* So we're looking for Cells that have a Class of n (for number)
             If we find that class, we look to see if the text within the Cell
             contains our currency symbol. If it does, we delete it by replacing
             it with a blank string.
         */
         if ((sElem.getAttribute('className') == "n") &&
             (sElem.innerHTML.indexOf(sCurrencySymbol) > 0))
                     sElem.innerHTML = sElem.innerHTML.replace(sCurrencySymbol, "");
    }
    }
    }

    Looks pretty cool. And having things color-coded makes reading the code much, much easier.

    Conclusion:

    Windows Live Writer has made quite the first impression on me.  The user interface is very intuitive. It has useful features like Spell Check and the code it publishes doesn't need to be modified once it arrives on my site.

    I'll need to play with it for a while but unless things change a whole lot, I may have found myself a new blog publishing tool.

    Dynamics CRM, Misc
    1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
    885 views
  • Test post using Windows Live Writer

    Posted on September 6th, 2006 mitch Print Print No comments

    I was catching up on my blog reading this morning and ran across a new blog I had subscribed to from Alex Barnett.  He was mentioning a new set of plugins had been released for Windows Live Writer.

    So I'm thinking, "Hmm. Windows Live Writer. What the heck is that."  It is basically a Windows application that allows you to compose and publish weblog entries from your workstation.  And rather than create a totally Windows Live-centric package, they actually included support for other blog engines, like Wordpress, the one I use.

    So, I thought I'd see what would happen if I used Live Writer to publish a test article.

    Here is a test of one of the plug-ins mentioned above. It will automatically insert properly highlighted colored programming code:

     

    //
    //
    //
    FileStream liveStream = new FileStream(localfilename, FileMode.Open,
                                         FileAccess.Read);
    byte[] buffer = new byte[(int)liveStream.Length];
    liveStream.Read(buffer, 0, (int)liveStream.Length);
    liveStream.Close();
    Response.Clear();
    Response.ContentType = "application/octet-stream";
    Response.AddHeader("Content-Length", buffer.Length.ToString());
    Response.AddHeader("Content-Disposition", "attachment; filename=" +
                     originalFilename);
    Response.BinaryWrite(buffer);
    Response.End();
    Misc
    1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
    1,842 views