Welcome to MSDN Blogs Sign in | Join | Help

Configuring Business Data Lookup Snap-in for Microsoft Dynamics AX 3.0

The entities, fields and relationships shown in Business Data Lookup Snap-in are driven off a configuration file. A default configuration file is installed during setup but you can create your own and point setup to use that configuration file.

 

The configuration file defines the metadata for Snap-in. In particular, it defines the

  • Dynamics AX entities to search on that are listed in ‘Look In’ drop down
  • List of related entities to show for the selected record in ‘Look For’ text box thus describing the browse order
  • Field Groups to show in record details for the selected record
  • Default fields to show for related record details - these are also the ones that are inserted by default when a user clicks the 'Insert Record' button for related entities.

Since the configuration file can be private for each user or shared across multiple users, by changing the configuration file, an administrator can make the Business Data Lookup behave differently for different users. Specifically, he can create configurations such that:

  • Everyone sees the same entities (of course within their security privileges), relationships and same default fields
  • Employees belonging to each department or set of users see same entities, relationships and default fields but those belonging to a different department  would see a different set. For example, the entities that a Sales person is interested in would be different from the ones an Operations person likes to view and hence the administrator can create different config files for Sales department employees and Operations department employees
  • Personalized configuration for each user, so each user has his private copy of the config file and sees a different view of the Dynamics AX 3.0 entities and a different browse order.

 

Of course, if you make the configurations too narrow (one for each user,) maintaining it can become a challenge.  But customizing it for each department or a set of users based on their work profies can help improve their experience.

 

To elaborate further, the default configuration file shared with the application enables showing only a few entities, whereas the one shared by vsinha03 here shows many more entities and relationships like Project, Business Relations, etc. As another example, listed below is XML text for a very basic configuration that allows a user to only look up customer details and sales order details for those customers. Copy and paste below text into the config file (take a backup of your current config file if you don’t want to lose any changes you might have made) for Business Data Lookup Snap-in for Dynamics AX to try it out -

 

<?xml version="1.0" encoding="utf-8"?>

<Configuration>

  <SystemConfiguration>

  </SystemConfiguration >

  <EntityConfiguration>

 

    <Entity Name = "Customer" Table = "CustTable" TableId = "77" MainEntity ="Yes">

      <Groups>

        <Group DisplayName ="General" AxName="AutoReport">  </Group>

        <Group DisplayName ="Description" AxName="Description"> </Group>

        <Group DisplayName ="Invoice" AxName="Invoice"></Group>

        <Group DisplayName ="Address" AxName="AddressDisplay"></Group>

      </Groups>

      <QuickSearch>

        <Attribute Name ="AccountNum"/>

        <Attribute Name ="Name"/>

      </QuickSearch>

      <RelatedView>

        <Attribute Name ="AccountNum"/>

        <Attribute Name ="Name"/>

        <Attribute Name="Address"/>

        <Attribute Name ="CustGroup"/>

        <Attribute Name="Currency"/>

      </RelatedView>

      <ParentTo>

           

        <ChildEntity Name = "SalesOrder">

          <RelationInfo ParentAttrName ="Accountnum" ChildAttrName ="CustAccount"/>

        </ChildEntity>

       

      </ParentTo>

 

      <ChildrenOf>

      </ChildrenOf>

    </Entity>

 

    <Entity Name = "SalesOrder" Table ="SalesTable" TableId = "366">

      <Groups>

        <Group DisplayName ="General" AxName="AutoReport"></Group>

        <Group DisplayName ="DeliveryAddress" AxName="DeliveryAddress"></Group>

        <Group DisplayName ="Delivery" AxName="Delivery"></Group>

        <Group DisplayName ="AddressDisplay" AxName="AddressDisplay"></Group>

      </Groups>

      <QuickSearch>

        <Attribute Name ="SalesId"/>

      </QuickSearch>

      <RelatedView>

        <Attribute Name ="SalesId"/>

        <Attribute Name="SalesName"/>

        <Attribute Name ="SalesStatus"/>

        <Attribute Name="DeliveryDate"/>

        <Attribute Name="DeliveryAddress"/>

      </RelatedView>

      <ParentTo>

        <ChildEntity Name ="Sales Order Items">

          <RelationInfo ParentAttrName ="SalesId" ChildAttrName ="SalesId"/>

        </ChildEntity>

      </ParentTo>

    </Entity>

 

   

 

    <Entity Name ="Sales Order Items" Table ="SalesLine" TableId = "359">

      <Groups>

        <Group DisplayName ="General" AxName="AutoReport"> </Group>

        <Group DisplayName ="Inventory" AxName="Inventory"> </Group>

        <Group DisplayName ="SalesQuantity" AxName="SalesQuantity"></Group>

        <Group DisplayName ="OrderLines" AxName="OrderLines"> </Group>

      </Groups>

      <QuickSearch>

        <Attribute Name ="SalesId"/>

        <Attribute Name="ItemId"/>

      </QuickSearch>

      <RelatedView>

        <Attribute Name ="ItemId"/>

        <Attribute Name ="Name"/>

        <Attribute Name="SalesQty"/>

        <Attribute Name="SalesDeliverNow"/>

      </RelatedView>

      <ParentTo>

      </ParentTo>

    </Entity>

  

   </EntityConfiguration>

</Configuration>

 

 

Published Monday, March 20, 2006 5:57 AM by Dynamics Snap Team

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Trading Strategy &raquo; Configuring Business Data Lookup Snap-in for Microsoft Dynamics AX 3.0

# Microsoft Dynamics Snap Team Blog : Configuring Business Data Lookup Snap-in for Microsoft Dynamics AX 3.0

Saturday, May 31, 2008 3:32 AM by Dating

The entities, fields and relationships shown in Business Data Lookup Snap-in are driven off a configuration file. A default configuration file is installed during setup but you can create your own and point setup to use that configuration file. The configuratio

# Microsoft Dynamics Snap Team Blog : Configuring Business Data Lookup Snap-in for Microsoft Dynamics AX 3.0

Thursday, June 05, 2008 6:51 AM by Weddings

The entities, fields and relationships shown in Business Data Lookup Snap-in are driven off a configuration file. A default configuration file is installed during setup but you can create your own and point setup to use that configuration file. The configuratio

# Microsoft Dynamics Snap Team Blog Configuring Business Data Lookup | Weak Bladder

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker