Friday, September 26, 2014

IME Mode in MS CRM


While creating fields in MS CRM we come across certain type called IME Mode in form as shown below. So What is IME Mode?
















An IME is a program that enables users to enter complex characters and symbols, such as Japanese Kanji characters, using a standard keyboard.



Members
NameValueDescription
Active2Specifies that the IME mode is active.
Auto0Specifies that the IME mode is chosen automatically.
Disabled3Specifies that the IME mode is disabled.
Inactive1Specifies that the IME mode is inactive.


Note: Microsoft Dynamics CRM 2013 Update Rollup 2 

  • When you set IME mode on an attribute on an entity to ACTIVE, the IME mode is not honored
    • This occurs with Single Line of Text, Multiple Lines of Text, and other attributes that are bound to input elements or text area elements

Customize Search Bar


Search bar on any entity will works with defaults attributes set by respective view. We  can add or remove filtered columns to the view as show as below.













You may like below posts

Improving MS CRM Performance

Performance Center in MS CRM 2013

date and time field behavior in MS CRM

Upsert in MSCRM

Locking mechanism in MS CRM

Ticker Symbol Field in MS CRM

Themes in MS CRM

Enable Tracing in MS CRM

Calculated Field in Dynamics CRM 2015

IME Mode in MS CRM

Saturday, September 6, 2014

Dynamics CRM 2013 Keyboard Shortcuts

Most useful short cuts in MS CRM 2013

1. Ctrl + S or Shift + F12 --> Save form
2. Alt + S --> Save and Close
3. Esc --> Cancel command, or close selected list or dialog box
4. Ctrl + D --> Delete the record (when forms are in Edit mode)
5. Ctrl + Shift +S --> Save and then open a new form (Save and New) (when forms are in Edit mode)
6. Alt + Down Arrow --> Open the lookup menu with the most recently used items in alphabetical order
7. Ctrl + Shift+ 2 --> Open the list menu (when forms are in Edit mode)
8. Ctrl + Enter --> Open a record found in lookup with forms in Read-optimized mode
9. Alt +Shift +N --> Add a step in the business process editor
10. Ctrl + Shift + 3 --> Tab to the Navigation Pane



You may like below posts

Retrieving updated Value from a Field

Using Xrm.Page.getAttribute("your field name").getValue() we can retrieve the CRM field value. But there are some scenarios, this line of code will give wrong or old value.

Ex. Write something on Subject field and click immediately on button (Webresource button), on onclick of it, try to retrieve the value of this field. It will not give you the update value. After a couple of hours effort found a way to get the updated value in this scenario.

On button click event change the focus to button click event then save the form. Then try to retrieve the field. It will give  you the updated values.

function ButtonClick()
{
Xrm.Page.ui.controls.get("new_button").setFocus();
window.Xrm.Page.data.entity.save();
Xrm.Page.getAttribute("subject").getValue()
}