Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Unified Service Desk - User Notes not wrapping

(0) ShareShare
ReportReport
Posted on by 2,811

Good day all,

Thanks for reading my query.  

QUESTION: In USD Notes hosted control, when user is typing the text, it is not text wrapping and keep going in the single line and bring the vertical scroll bar.

 Can we stop this behavior and automatically bring the text in the next line? Thanks.

USD_2D00_UserNotes_2D00_0.PNG

*This post is locked for comments

  • Zohaib Uddin Khan Profile Picture
    Zohaib Uddin Khan 2,811 on at
    RE: Unified Service Desk - User Notes not wrapping

    Thanks Srikanth for the information.

  • Suggested answer
    ansrikanth Profile Picture
    ansrikanth 3,115 on at
    RE: Unified Service Desk - User Notes not wrapping

    SetVisualProperty is a documented Action, here is the link - https://docs.microsoft.com/en-us/dynamics365/customer-engagement/unified-service-desk/panel-layout-hosted-control?view=dynamics-usd-4.1#setvisualproperty (NOTE: Check the notes section under this action).

    Coming to how do I know the Control Name - I used Snoop (https://github.com/cplotts/snoopwpf) to find out what is the control name MS used. And Properties & values are same any where for a wpf control.

    -Srikanth

  • Zohaib Uddin Khan Profile Picture
    Zohaib Uddin Khan 2,811 on at
    RE: Unified Service Desk - User Notes not wrapping

    Thanks @Srikanth Alluri for the heck!

    Do you mind to tell us how to find the actions such as "SetVisualProperty" which are not defined in the default setup? Plus, how you find

    elementname, propertyname & value?

    Thanks again for the quick fix. :)

  • ansrikanth Profile Picture
    ansrikanth 3,115 on at
    RE: Unified Service Desk - User Notes not wrapping

    i dont think i can mark my answer as verified :)

  • Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Unified Service Desk - User Notes not wrapping

    Hi,

    Please mark your answer as verified , as it will help other people in future. Thanks

  • Verified answer
    ansrikanth Profile Picture
    ansrikanth 3,115 on at
    RE: Unified Service Desk - User Notes not wrapping

    That's an interesting one. I bet, this could be a small "developery" mistake at Microsoft :).

    Ok, here is a fix. Add a new action to your Notes control named "SetVisualProperty" (make sure it is exactly the same). And call it on your SessionNew (Preferably after all actions) with the following data params. It should work...

    elementname=UserText
    propertyname=TextWrapping
    value=Wrap

    Here is a screenshot...

    2019_2D00_02_2D00_19_5F00_00_2D00_50_2D00_17.png

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,387 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans