| || |
Using a random variable to generate next id in XML Request
The application that I am working on makes XMLRequest's and then gets submitted to save to the database. I would like to change the key field everytime so it does not create a duplicate. I cannot figure out the syntax to use within the XML tag to read from the random variable file of list of id's. Any help would be appreciated.
Re: Using a random variable to generate next id in XML Request
To clarify: ebrenner is setting a variable to RndFile.
rshipment : RndFile("shipment.rnd",64);
He then wishes to use that variable later on within a string, but gets a compile error....(code below scrubbed for security)
"" := "XMLRequest=<HTTPRequest><Application> ou=ZZZZZZ,ou=Licensed Applications,ou=Applications,dc=ZZZZ,dc=com</Application><Domain>XXXXX</Domain><Version>V3_0</Version><Type>Shipment</Type><RequestType >LoadObject</RequestType><Item>"+rshipment+"</Item></...";