Skip to main content

Notifications

Announcements

No record found.

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

Update Booking Template for Service Activity Scheduling?

Posted on by 295

I have updated the Booking Template for Service Activity but it did not display the actual result Kindly review the code and assist me:

<div style="line-height: 11px !important; width: 99%; overflow: hidden; display: block; text-overflow: ellipsis;">
SA:
<B>{msdyn_serviceappointment_bookableresourcebooking_serviceappointment.subject }</B><br/>
Customer: <b>{msdyn_serviceappointment_bookableresourcebooking_serviceappointment.customers }</b><br/>
Service: <b>{msdyn_serviceappointment_bookableresourcebooking_serviceappointment.serviceid }</b><br/>
Duration: <b>{duration} minutes</b><br/>
</div>

pastedimage1647236551772v1.png

Regards,

Ashar Mustafa,

  • Gabriel Dias Junckes Profile Picture
    Gabriel Dias Junckes 2,435 on at
    RE: Update Booking Template for Service Activity Scheduling?

    It is the same way, you have to use the relationship all the way up to the field you want to display.

  • Ashar Mustafa Profile Picture
    Ashar Mustafa 295 on at
    RE: Update Booking Template for Service Activity Scheduling?

    Hi Gabriel Dias Junckes I have to create new Booking Template for service activity and customer is Party List field how can I use this field in Booking Template?

  • Suggested answer
    Gabriel Dias Junckes Profile Picture
    Gabriel Dias Junckes 2,435 on at
    RE: Update Booking Template for Service Activity Scheduling?

    Hi Ashar.

    Is your serviceid field a lookup? You need to replace it for the relationship and then add the field you want.

    Check the sample below from Booking -> Work Order -> Service Account

    Account: {msdyn_msdyn_workorder_bookableresourcebooking_WorkOrder.msdyn_account_msdyn_workorder_ServiceAccount.name}

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans