Home | Contact Us

Powered by Blogger

Saturday, March 31, 2007

One-to-Many Relationships - Part II

This is an update to my previous post with additional instructions for maintaining the lookup value's name on the edit form.

CAUTION: Unsupported customizations ahead -- use at your own risk!

Creating one-to-many relationship in Microsoft CRM can usually be accomplished through standard configuration using the tools included in the product. However, relationships between two system entities not previously created by the system cannot be added using the tools. Instead, a custom attribute must be added to the entity via the Export / Import XML customization file.

The following steps describe the process for creating a one-to-many relationship via custom attribute

Creating a custom attribute

  1. Export the customizations for the entity to be on the “child” side of the one-to-many relationship
  2. Add a new attribute with a physical name describing the primary key of the “parent” entity
  3. Set the element IsCustomField equal to 1
  4. Set the element ReferencedEntityObjectTypeCode to the object type code of the “parent” entity. For example:
    <attribute PhysicalName="FieldId">
    <Type>lookup</Type>
    <ValidForCreateApi>1</ValidForCreateApi>
    <ValidForUpdateApi>1</ValidForUpdateApi>
    <ValidForReadApi>1</ValidForReadApi>
    <IsCustomField>1</IsCustomField>
    <ReferencedEntityObjectTypeCode>1</ReferencedEntityObjectTypeCode>
    <DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
    <Description />
    </attribute>

  5. Import the customizations and publish the changes
  6. Add a second attribute via the customizations form for storing the name of the selected lookup. This field will not be visible to the user, but is needed to properly display the lookup on the form.
  7. Add both attributes to the edit form
  8. Add the following JavaScript to the OnLoad event of the form:

    Note: This sample assumes the lookup attribute is named FieldId and the name attribute is named FieldIdName
    /* Hide the name field */
    crmForm.all.fieldidname_c.style.display = 'none';
    crmForm.all.fieldidname_d.style.display = 'none';

    /* Retrieve the lookup control */
    var o = crmForm.all.fieldid;
    var a = o.getLookupField().getElementsByTagName("SPAN");

    /* Update the name if a lookup was found */
    if (a && a.length > 0)
    {
    /* Retrieve the name value */
    var name = crmForm.all.fieldidname.DataValue;

    /* Update the lookup with the name value */
    a[0].innerHTML = a[0].innerHTML.replace(/>.*$/, '>' + HtmlEncode(name));

    /* Reset the IsDirty flag by setting the default value */
    o.DefaultValue = o.DataValue;
    }
  9. Add the following JavaScript to the OnChange event of the lookup:
    /* Retrieve the lookup value */
    var items = crmForm.all.fieldid.DataValue;
    var o = (items == null items.length == 0) ? null : items[0];

    /* Update the name field */
    crmForm.all.fieldidname.DataValue = (o == null) ? '' : o.name;

Labels: ,

Thursday, March 29, 2007

Summit Realty Group, a Member of the Cushman & Wakefield Alliance, Selects Real Estate Advantage™

Download this press release as an Adobe PDF document.

The commercial real estate solution for Microsoft CRM™.

Dallas, TX (PRWEB) March 28, 2007 -- Summit Realty Group, a premier commercial real estate firm serving greater-Indianapolis and a member of the Cushman & Wakefield Alliance, and Ascendix Technologies, the publishers of Real Estate Advantage™, announced today that Summit Realty Group has selected Real Estate Advantage™ as its new industry-tailored CRM platform and project management platform. The system will streamline workflow, create greater data efficiencies and integrate with existing applications.

Before partnering with Ascendix, Summit Realty Group had been searching for a centralized system to manage contacts, projects and property data as well as to improve access to that data. The firm also wanted a system that could be easily used while on the road or in the office. The accessibility and ease of use would yield higher user adoption, which would enable brokers to offer a higher level of service to their clients. Summit Realty Group was impressed with the capabilities of Microsoft Dynamics CRM but continued its search for a solution that could combine the Microsoft technology with applications tailored for the commercial real estate industry.

"We are very excited about Real Estate Advantage™," said Bill Ehret, Principal and President of Summit Realty Group. "Since the application is built to resemble tools we already use, such as Microsoft Outlook, and offers tremendous integration capabilities, it was an easy decision to move ahead with the implementation. Throughout our very thorough search process, we were committed to find the absolutely best product available - one that could provide that next level of functionality."

"After meeting with Ascendix Technologies, it was evident that Real Estate Advantage™ was the piece we were looking for to move forward with the Microsoft Dynamics CRM platform," said Brian Zurawski, Principal of Summit Realty. "We knew we found the right solution and that Ascendix was the right partner. It is truly exciting for us to be taking this next step at Summit. I am confident that both our and Ascendix's efforts will be hugely successful."

"We look forward to working with Summit Realty Group," said Wes Snow, President of Ascendix Technologies. "It is our goal to help them gain efficiencies and ultimately increase profitability with the delivery of Real Estate Advantage™."

About Summit Realty Group - Summit Realty Group has earned its place as one of the premier commercial real estate firms in the greater-Indianapolis area. With a team of 20 brokers and additional support staff, Summit Realty Group specializes in Office, Industrial, Investment, and Corporate Real Estate Portfolio Management services. Summit is a member of the Cushman Wakefield Alliance, a leading global real estate services provider. With more than 195 offices in 55 countries, the Alliance brings the depth of knowledge, resources, and talent to deliver top-line real estate advisory results. For more information on how Summit Realty Group can provide real estate expertise for your organization, please call (317) 713-2100 or visit www.SummitRealtyGroup.com.

About Real Estate Advantage™ - Developed on the .Net 2.0 framework by AdvantageWorks, the R&D division of Ascendix Technologies, Real Estate Advantage™ integrates seamlessly with Microsoft CRM. The product helps commercial (office, retail and industrial) real estate companies manage assets, leases, tenants, vendors and prospects in marketing, service, sales and support functions. The solution leverages the tools organizations already use, including Microsoft Outlook, Excel, Word, MapPoint and SharePoint, improving the intuitiveness and adoption rates often plaguing CRM implementations. By building on the Microsoft® Dynamics™ CRM 3.0 platform, Real Estate Advantage™ helps to maximize the investment companies have already made in infrastructure using tools such as Microsoft Exchange, Microsoft® SQL Server, Active Directories and .Net frameworks. For more information about AdvantageWorks' industry solutions and MSCRM add-on products, please visit http://www.advantageworks.com/. To attend an upcoming event featuring Real Estate Advantage™, please visit http://www.ascendix.com/.

Labels: ,

Friday, March 23, 2007

3 Click Rule

One of our primary design tenants is to make the use of our products a pleasant experience. The definition of pleasant is subjective, but it can also be quantitative when you think about how easy (or difficult) is it for a user to complete a task. This is where we apply the 3 click rule, meaning "that access to any feature of an application, or each logical step in a process, should require no more than 3 clicks."

With Microsoft CRM it is often noted how clicky it is to use.  To view details about an entity, the user must:

  1. Select the entity type from the navigation bar
  2. Locate the entity in the grid
  3. Select the entity in the grid
  4. Open the entity
  5. Navigate to the tab containing the details

Minimum of 5 clicks (but likely more)

If the user then wants to see details on another similar entity, the user must:

  1. Close the open form
  2. Locate the entity in the grid
  3. Select the entity in the grid
  4. Open the entity
  5. Navigate to the tab containing the details

Minimum of 5 clicks (but likely more)

So, how do we improve the user experience?  One solution we offer our clients is our Split View component.  The Split View allows the user to view entity details without the need to open the entity for edit.  The Split View can also display extended information from related entities, incorporate our Relationship Navigator, and supports the addition of custom panels to meet other business needs.

Let's look at the above scenario again.  To view the details about an entity, the user must:

  1. Select the entity type from the navigation bar
  2. Locate the entity in the grid
  3. Select the entity in the grid

Success!!!  3 clicks.  The Split View does the rest!

If the user then wants to see details on another similar entity, the user must:

  1. Select the entity in the grid

Success!!!  1 click!!

While it may not seem like much, getting from a total of 10 clicks to 4 clicks is a 60% savings.  The result is not only a reduction in the number of times the user has to click their mouse button, but also the amount of time the user must wait for additional dialogs to load.  In addition the server load is reduced, which has a secondary benefit of quicker response times -- again improving the user experience.  When the number of entities viewed grows to three the savings increases to 66%, and at five entities viewed the savings is over 70%.

This is a simple scenario, but it demonstrates the impact the 3 click rule can make to the user.  Keeping the end user in mind during design increases user adoption during deployment, which results in a higher ROI -- and that translates into a happy customer, our ultimate goal.

Labels: , ,

Tuesday, March 06, 2007

One-to-Many Relationships

Creating one-to-many relationship in Microsoft CRM can usually be accomplished through standard configuration using the tools included in the product. However, relationships between two system entities not previously created by the system cannot be added using the tools. Instead, a custom attribute must be added to the entity via the Export / Import XML customization file.

The following steps describe the process for creating a one-to-many relationship via custom attribute:

  1. Export the customizations for the entity to be on the “child” side of the one-to-many relationship
  2. Add a new attribute with a physical name describing the primary key of the “parent” entity
  3. Set the element IsCustomField equal to 1
  4. Set the element ReferencedEntityObjectTypeCode to the object type code of the “parent” entity

The following is an example of adding an attribute to a “child” entity where the “parent” entity is account:

<attribute PhysicalName="New_AccountId">
<Type>lookup</Type>
<ValidForCreateApi>1</ValidForCreateApi>
<ValidForUpdateApi>1</ValidForUpdateApi>
<ValidForReadApi>1</ValidForReadApi>
<IsCustomField>1</IsCustomField>
<ReferencedEntityObjectTypeCode>1</ReferencedEntityObjectTypeCode>
<DisplayMask>ValidForAdvancedFind|ValidForForm|ValidForGrid</DisplayMask>
<Description />
</attribute>

Labels: ,

Sunday, March 04, 2007

Shave your head in support of cancer research!

Cancer has affected many of us, either directly or indirectly. I lost my mother to cancer just a few short years ago. A few of us at our company (Ascendix Technologies) have signed on to have our heads shaved on March 24th as a creative way to show support for cancer research. The charity organization is the St. Baldrick’s Foundation and you can view our site and make a donation by clicking here.

St. Baldrick’s has raised over $20 million for childhood cancer research since it began on St. Patrick’s Day in 2000. Over 26,000 heads have been shaved – including more than 2,000 women! And all this adds up to more awareness of the disease that kills more kids than any other in North America – and most important, more funds for life-saving research. There are many ways to help this great cause.

Donate to a shavee like myself, become a shavee, become a barber, or come out and support us all and participate in the fun.

Thanks for your support!

Todd

Copyright © 2007 AdvantageWorks Software Group, LLC. All rights reserved.