AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 29.07.2013, 00:16   #1  
Blog bot is offline
Blog bot
Участник
 
25,631 / 848 (80) +++++++
Регистрация: 28.10.2006
atinkerersnotebook: Adding Twitter Account Information to Dynamics AX Contacts
Источник: http://atinkerersnotebook.com/2013/0...s-ax-contacts/
==============

Dynamics AX allows you to track the traditional contact details such as phone, fax, url, and email, but what if you want to also track social media accounts like Twitter. Although you could reuse one of the existing electronic contact types, it would be much better if you could have a dedicated contact type just for Twitter so that you can segregate out the data for reporting and analysis.

In this worked example I will show you how you can easily add a new contact type to Dynamics AX for Twitter, and also any other Social Media type that you may want to track.

Adding a New Contact Type for Twitter

Adding a new contact type to Dynamics AX is not hard. You just need to know where to look.

In this example I will show how you can find where the contact types are defined, and also add a new contact type for Twitter.

How to do it…

To add a new Contact Type for Twitter, follow these steps:
  1. The easiest way to find where the contact types are defined is to right mouse click on the Type field in the Contact Information tab of the Contacts form, and select the Personalize option from the context menu.
  2. When the Personalization form is displayed, look in the System name field box, and you will be able to see the table and field that is being used within the form.

    In this case it is LogisticsElectronicAddressType.
  3. If you open up AOT (Ctrl-D) and navigate to the field then you will see that the field is based on a LogisticElectronicAddressModeType
    enumeration type. So we need to look somewhere else for the base definition.
  4. When we look in the Base Enums group within AOT, then we will be able to find the enumeration, and expanding it out, we can see that it contains all of the traditional contact types.
  5. Now that we know what to update, we should create a new project as a container for our changes. To do this, select the Project option from the View menu.
  6. When the Projects explorer is displayed, right mouse click on the Private folder group, and select New and then Project to create a new project.
  7. Then give your project an appropriate name.
  8. If you double click on the new project it will open in its own window, and then you can tile the AOT explorer and the Project so that you can see them side-by-side.
  9. Drag the LogisticElectronicAddressMethodType enumeration type from the AOT window over to your new project so that we are able to modify the details at the project level.
  10. To add a new Contact Type, right mouse click on the LogisticElectronicAddressMethodType enumeration type and select the New Element option from the context menu.
  11. This will create a new enumeration. All you need to do is give it a better name and label.
  12. Once you have made the change, select the Save All button from the menu bar to make the change to Dynamics AX.
How it Works…

Now, when you open up the Contacts form, you will be able to select a type of Twitter.



And now we can track all of the Twitter accounts against the contact details.



Adding More Social Media Contact Types

There is more to the social media world though than Twitter. What if you wanted to track other social media details.

In this example I will show how you can further extend the contact types to include more social media sources.

How to do it…

To add more social media contact types, follow these steps:
  1. All you need to do to add the other major social media sources as Contact Types is add them into your existing project and click the Save button.
How it Works…

Now we have a lot of contact types available.



And we can capture all of the Social Media contact information directly within Dynamics AX.



Summary

By capturing all of the social media contact information, and segregating the types out through the new contact types, you start to open up the system to more features.

If you wanted to try extending out further, you could try:
  • Creating dynamic fact boxes for contacts that show current social media feeds and activities
  • Extend communication to social media in addition to the standard email options
  • Analyze the contact activity by cross referencing with Power Query, and charting it with Power View
The options are endless.




Источник: http://atinkerersnotebook.com/2013/0...s-ax-contacts/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
atinkerersnotebook: Using Excel to Import Customers and Vendors in Dynamics AX 2012 Blog bot DAX Blogs 0 19.07.2013 15:11
ax-erp: Creating SSRS-Reports in Dynamics AX 2012 – What’s no longer possible in AX-reports Blog bot DAX Blogs 0 18.07.2012 12:11
gatesasbait: Dynamics AX 2009 SSRS and SSAS Integration Tips Blog bot DAX Blogs 3 09.07.2009 13:07
Developer for Microsoft Dynamics AX Certification Roadmap Blog bot DAX Blogs 1 13.05.2009 16:17
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 23:16.