You need to sign in to do that
Don't have an account?
Bob 11
How to add assigned resource to a service appointment
I am trying to figure out a way to add the assigned resource to the detail page of a service appointment.
I tried creating a visualforce page and using a fieldset but nothing is displayed.
Is they anyway to display the resource right on the appointment page itself?
I tried creating a visualforce page and using a fieldset but nothing is displayed.
<apex:page standardController="ServiceAppointment"> <apex:repeat value="{!$ObjectType.ServiceAppointment.FieldSets.SA_Assigned_Resource}" var="f"> <apex:outputText value="{!ServiceAppointment[f]}" /><br/> </apex:repeat> </apex:page>
Is they anyway to display the resource right on the appointment page itself?
You might need to go with custom controller to get the fields from the fieldset and iterate over the response receieved to see the actual data for assigned resource.
See similar implementation done around on below link for reference:
https://www.forcetalks.com/blog/how-to-use-fieldset-in-salesforce-visualforce-pages/
Hope above information helps. Please mark as Best Answer so that it can help others in future.
Thanks.
Thank you for helping!
Is there a way to create a trigger to populate just the resource name in a text field ? I'm not sure how to go about that though