Hi,
I have a DT with 2 columns “PhoneNumber” & “Message” which is used to send bulk SMS.
I want to populate a XML template with the dynamic values from the input DT, with “to” and “body” mapping to the “PhoneNumber” & “Message” columns of the DT
Can UiPath create this XML template with all the values from the DT?
xeMessage1 = New XElement("messages", New XElement("accountreference", "EX034xxxxxxx"), New XElement("message", dt.AsEnumerable.Select(Function(r) {New XElement("to",r("PhoneNumber").ToString),New XElement("body",r("Message").ToString)})))
xeMessage2 = New XElement("messages", New XElement("accountreference", "EX034xxxxxxx"), dt.AsEnumerable.Select(Function(r) New XElement("message", {New XElement("to",r("PhoneNumber").ToString),New XElement("body",r("Message").ToString)})))