Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Spell Check Functionality for UserNotes in Unified Service Desk

Posted on by

Hi,

I am Using Unified Service Desk 2.1 Base Package in My CRM environment.  USD supports Spell Check for User Notes Control. MSDN documentation said Language Specific Spell Check can be applied to this control. But I did not find any action like SetLanguague in my organisation. Am I missing any link.

MSDN Link I am following msdn.microsoft.com/.../dn864936.aspx

*This post is locked for comments

  • Neil Parkhurst Profile Picture
    Neil Parkhurst 10,725 User Group Leader on at
    RE: Spell Check Functionality for UserNotes in Unified Service Desk

    Great thanks. Your results are different to mine. Your guess about installing .net might be right. Thanks.

    You know I will blog about this soon. :)

  • Suggested answer
    ansrikanth Profile Picture
    ansrikanth 3,115 on at
    RE: Spell Check Functionality for UserNotes in Unified Service Desk

    I couldn't able to resist my self to wait till weekend :)

    Here is what I got with all the 4 Languages ..

    en-US

    de.PNG

    ----

    en-GB

    gb.PNG

    ---

    fr-FR

    fr.PNG

    ---

    de-DE (German)

    de.PNG

    Hope this helps all :), I think it is worth for a post in your USD "Legendary" blog :)..

    Btw, coming to your case, the German (or the other language) is not working because you  might not have full .NET framework installed. Can you try installing the .NET langauge pack from here and test

  • ansrikanth Profile Picture
    ansrikanth 3,115 on at
    RE: Spell Check Functionality for UserNotes in Unified Service Desk

    I couldn't able to resist my self to wait till weekend :)

    Here is what I got with all the 4 Languages ..

    en-US

    ---

    en-GB

     

     

  • Suggested answer
    ansrikanth Profile Picture
    ansrikanth 3,115 on at
    RE: Spell Check Functionality for UserNotes in Unified Service Desk

    Glad that worked Neil, Good job !!

    .NET framework (4.0+) supports only 4 languages for spell checking in wpf (English, French, German & Spanish). If that is the case, USD also should support all these 4 languages. I will give it a try during weekend and will let you know the outcome of my exp :)

  • Suggested answer
    Neil Parkhurst Profile Picture
    Neil Parkhurst 10,725 User Group Leader on at
    RE: Spell Check Functionality for UserNotes in Unified Service Desk

    I have had some success with this :)

    So I created the uii action of SetLanguage on my hosted control for notes.

    I can now use "en-GB" and "en-US" as actions to swap between US and UK spelling. (See example below.) I can fire the action wit these settings and see "color" or "Colour" be reported as a spelling mistake dependant on the selected language.

    So the action and approach works.

    If I enter something in data that USD doesn't recognise as a language it seems to disable the spell checker.

    I haven't had total success. I thought fr-FR such enable French spell checker. That didn't seem to work. (So it might be some languages are a challenge!)

    I found this table which gave me the codes.

    msdn.microsoft.com/.../ee825488(v=cs.20).aspx

    0654.Capture.PNG

  • Suggested answer
    ansrikanth Profile Picture
    ansrikanth 3,115 on at
    RE: Spell Check Functionality for UserNotes in Unified Service Desk

    Hi Neil,


    Sorry, didn't get much time to do research in this regard. May I know what are the steps you have taken so far, Have you called the action call on load of the session ? based on the MSDN it sounds like we have to call this on each session load (and we can set different language for each session).

    For the parameters, Ideally for any wpf application to set the textbox spell check language we should be passing their language code ie. en-US, en-GB, es-ES, en-Hi etc. So my first try would be going with this kind of syntax (some thing like data=en-US or Language=es-ES etc..)

    Please note that, There are still some limitations in traditional WPF it self where in it wont support all language spell checking and also for some of these languages you should have some sort of setup for the spell check libraries.

    Hope this gives you some pointers to start with :)

  • Neil Parkhurst Profile Picture
    Neil Parkhurst 10,725 User Group Leader on at
    RE: Spell Check Functionality for UserNotes in Unified Service Desk

    HI Srikanth

    I did try this, I found adding a SetLanguage action turned off the spell checker. So it was doing something!

    I think the problem was I needed to add the language to set in the data field but I haven't found the correct syntax.

    Any suggestions?

    Neil.

  • Suggested answer
    ansrikanth Profile Picture
    ansrikanth 3,115 on at
    RE: Spell Check Functionality for UserNotes in Unified Service Desk

    I vaguely remember that, you can add the "missing" actions directly to the control and USD should work as expected (as the implementation is already there in the controls). Can you just try adding a new action "SetLanguage" to the Notes control and see if that works ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans