Skip to main content

Notifications

Announcements

No record found.

Customer Service forum
Answered

Set default value for text field "Resolution" when resolve a case

Posted on by 127
Hello Community,
 
I am currently searching for an option to set a default value for the "Resolution" Field in the "Resolve Case" Pop-Up when resolving a case:
 
 
I tried to do it with a business rule but I can't find the "Resolution" Field in the list. I think it is possible with a .js-Webressource?
 
Can you please help me to find a solution here?
 
Thank you very much in advance.
  • Suggested answer
    Cui Hao Profile Picture
    Cui Hao on at
    Set default value for text field "Resolution" when resolve a case
    Hi,
     
    Do you have any other questions?
    If it solved your problem, please mark it as verified to help other community members find more. If you have further questions, please feel free to contact me.
     
    Best regards,
    Cui Hao
  • Verified answer
    Cui Hao Profile Picture
    Cui Hao on at
    Set default value for text field "Resolution" when resolve a case
    Hi,

    After testing, I'm afraid that's not possible.
    Even if I write code to force a pre-populated value, it is forced to be cleared by the system at commit time.
    But you can take a look at my operation for reference.

    I use the Ribbon Workbench to add an action to this /Resolve Case/ button. This Action will pre-populate the /Resolution/ field when you click on /Resolve Case/, the value of this pre-population can be defined in the code.

    The JavaScript script is placed in this place in the workbench:


    My code is shown below:


    This Value is the one you pre-populate and can be changed in the code. This /Resolution/ field value is the one you pre-populate and can be changed in the code, I set it to /Solved by testing/.
    This /aria-label="Resolution"/ corresponds to the following figure:
     




    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more. If you have further questions, please feel free to contact me.


    Best regards,
    Cui Hao

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans