Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Long field's tooltip

Posted on by 65

Hello,

Is there any option to programatically change field's tooltip? I was asked to provide long text as a tooltip, but the limit is only 200 (via Description in Field's properties). Even while manually adding text to solution's XML, CRM is wrapping it, so you can see only first 200 characters.

Appreciate your help in the matter.

*This post is locked for comments

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Long field's tooltip

    I put it on the form load as it needs to run before that.

    Here is the screenshot-

    tooltip2.png

    tooltip2.png

    Hope this helps.

  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    Rajkumar Rajaraman 18,108 on at
    RE: Long field's tooltip

    There isn't anyway of doing this other than html using web resources . Please refer:

    community.dynamics.com/.../replacing-a-field-label-in-microsoft-dynamics-crm-with-an-html-web-resource

  • Pocia Profile Picture
    Pocia 65 on at
    RE: Long field's tooltip

    Did you place it onChange field event? I'm getting "cannot set "null" property of "setAttribute" error (I'm writing field name with _c)

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Long field's tooltip

    Hi,

    Can you try below script?

    parent.window.document.getElementById("name_c").setAttribute("title","tooltip1111")

    This is working for me on 8.2. I tried it on the account name field.

    Hope this helps.

  • Pocia Profile Picture
    Pocia 65 on at
    RE: Long field's tooltip

    I've already tried this method- doesn't work (on version 8.2). Nevertheless, thank you for the information!

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Long field's tooltip

    Hi,

    There is no supported way to achieve this. If you really want, you can try the unsupported way of setting the tooltip using dom i.e.

    document.getElementById("fieldname_c").setAttribute("title","tooltiptext");

    Refer this-

    community.dynamics.com/.../234602

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