Hi Dojo,
I would like retrieve the values from my Custom Properties, which were assigned in the "srm_createnewbooking" script on the "Custom Properties List" screen, inside of my DTR Script.
Would this data be available inside of a "SrmBookingConfiguration" object which I instantiate as followed?
var srmBooking = new SrmBookingConfiguration(inputData.ReservationInstanceId, inputData.BookingManagerInfo, engine);
Thanks in advance!
Stacey Van Colen [SLC] [DevOps Advocate] Selected answer as best 20th November 2023
Hi Stacey,
You can use srmBooking.Reservation.TryGetPropertyValue("Property Name", out string value);
Stacey Van Colen [SLC] [DevOps Advocate] Selected answer as best 20th November 2023