You need to sign in to do that
Don't have an account?

How to get values from return type object?
Hi All,
Following is the debug log that i am getting
Following is the debug log that i am getting
( //list item 1 AppointmentBookingSlot:[BestSlotGrades=(GradeSlotResult:[Grade=100.00000000000000000000000000000000000, HeaderText=ASAP, IconName=clock-o, IsYesOrNoObjective=false, NumberOfAppointmentsWithGrade100=1, Objective=null, ObjectiveRecordTypeName=Objective_Asap, RankInAppointments=1, Text=1486735200000], GradeSlotResult:[Grade=100, HeaderText=Minimize Travel, IconName=car, IsYesOrNoObjective=false, NumberOfAppointmentsWithGrade100=24, Objective=null, ObjectiveRecordTypeName=Objective_Minimize_Travel, RankInAppointments=1, Text=null], GradeSlotResult:[Grade=100, HeaderText=Preferred Resource, IconName=users, IsYesOrNoObjective=true, NumberOfAppointmentsWithGrade100=24, Objective=null, ObjectiveRecordTypeName=Objective_PreferredEngineer, RankInAppointments=1, Text=null]), Grade=100.000000000000000000000000000000, Interval=TimeInterval:[2017-02-10 09:00:00,2017-02-10 11:00:00], SORT_BY_DATE=SORT_BY_DATE, SORT_BY_GRADE=SORT_BY_GRADE, SORT_BY_NO_SORT=SORT_BY_NO_SORT, SortByObjective=null, m_sortBy=SORT_BY_DATE], // list item 2 AppointmentBookingSlot:[BestSlotGrades=(GradeSlotResult:[Grade=98.85057471264367816091954022988505800, HeaderText=ASAP, IconName=clock-o, IsYesOrNoObjective=false, NumberOfAppointmentsWithGrade100=1, Objective=null, ObjectiveRecordTypeName=Objective_Asap, RankInAppointments=2, Text=1486742400000], GradeSlotResult:[Grade=100, HeaderText=Minimize Travel, IconName=car, IsYesOrNoObjective=false, NumberOfAppointmentsWithGrade100=24, Objective=null, ObjectiveRecordTypeName=Objective_Minimize_Travel, RankInAppointments=2, Text=null], GradeSlotResult:[Grade=100, HeaderText=Preferred Resource, IconName=users, IsYesOrNoObjective=true, NumberOfAppointmentsWithGrade100=24, Objective=null, ObjectiveRecordTypeName=Objective_PreferredEngineer, RankInAppointments=2, Text=null]), Grade=99.0804597701149425287356321839080, Interval=TimeInterval:[2017-02-10 11:00:00,2017-02-10 13:00:00], SORT_BY_DATE=SORT_BY_DATE, SORT_BY_GRADE=SORT_BY_GRADE, SORT_BY_NO_SORT=SORT_BY_NO_SORT, SortByObjective=null, m_sortBy=SORT_BY_DATE])
I need to obtain Interval=TimeInterval:[2017-02-10 11:00:00,2017-02-10 13:00:00] and display it on a vf page.
This is a list of object----> i.e a managed package class called "AppointmentBookingSlot". How can i parse this?
Can someone provide me the pseudocode (like which data structure should be used to segregate) on how to proceed?
Any inputs would be very much helpful to me.
Thanks and Regards,
Bharath Kumar M
I believe the output coming from your suggestion is mostly parseable. Thanks a lot for your inputs. Will try displaying it and let you know the results.
Hi LBK,
I am getting the values in debug logs. Any suggestions on how i can display those values in the vf page?
Above is the controller and vf page code. My vf page looks blank.
Thanks in anticipation