Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

How to edit service maintenance based form?

Posted on by 5

I am currently having a problem trying to edit the correct form for use within field service. I understand that the field service app uses special service maintenance based forms, and that is why when records are created elsewhere they are showing as read only. However, how do i find which form is the correct "service maintenance" form to edit in the solution? and how do i set this form as the default?

Thanks in advance for your help

Nathan

  • Suggested answer
    dian74 Profile Picture
    dian74 2,473 Most Valuable Professional on at
    RE: How to edit service maintenance based form?

    Hi Nathan, are you talking about the opportunity form? If you have Project Service and Field Service installed, there 3 main forms for opportunities, one for Field Service, one for Sales and one for Project Service. (See below)

    Forms.png

    There is a field related to the opportunity entity that will decide which form will be used for the opportunity called msdyn_ordertype. I would recommend adding this to all the forms. If you select work-based it will load the Project form, if you select Item based it will load the Opportunity (regular sales) form, and Service-Maintenance based will load the Field Service form. Keep in mind that the default value of the field is Item Based. If you try to open an opportunity that is Service-Maintenance based or work-based in the Sales Hub it will show as ready only because of the script on these forms that run on-load. (to view open the form, click the Form Properties button to see the event handler and the script.)

    So to answer your question, you want to edit the main forms(and possibly the opportunity quick create form to add the order type field)

    If this answer was helpful please mark it as verified

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans