go to post Andy Stobirski · Mar 22 It turns out there was a whitespace in my code which I hadn't noticed, so that code works. Thanks for taking the time to reply. So, that solves one problem. The source data can have many different values for xsi:type, so how to take that into account@?
go to post Andy Stobirski · Mar 21 Yes I did, I change the class Field to the following and compiled? Is this correct? Class Field Extends (%Persistent, %XML.Adaptor) { Parameter XMLNAME = "Field"; Parameter NAMESPACE = "http://www.civica.co.uk/ParisConnect/ConnectXml/1.0/Messaging"; // Property Type As %String(XMLNAME = "xsi:type", XMLPROJECTION = "ATTRIBUTE"); Parameter XMLTYPE = "UDFLookupFieldInstance"; Property Suffix As %String(XMLNAME = "Suffix", XMLPROJECTION = "ATTRIBUTE"); Property Description As %String(XMLNAME = "Description", XMLPROJECTION = "ATTRIBUTE"); Property ID As %String(XMLNAME = "ID", XMLPROJECTION = "ATTRIBUTE"); Property Value As %String(MAXLEN = "", XMLNAME = "Value"); } The same error is produced. In my original post I did mention that that xsi:value can be anything, so assuming I made a mistake what would I need to do to this into account?
go to post Andy Stobirski · Mar 20 Hi Alexander Thanks for the reply, but your suggestion didn't work. Andy
go to post Andy Stobirski · Jan 24 That did the trick! Thanks so much for taking the time to reply. I noticed that the String Quote is only applied if the specified delimeter is contained within the text field - it universally applied.
go to post Andy Stobirski · Jan 23 Thanks for the reply Set mgr.StringQuote = """" That didn't work. This is my table class Class GMECC.DocmanConnect.Tables.ConnectDocs Extends %Persistent{ Property StatusCode As %Integer; Property DocumentType As %String(MAXLEN = 100); Property StatusLastUpdated As %DateTime; Property Closed as %Library.Boolean; }
go to post Andy Stobirski · Dec 1, 2022 Hi Vitaliy - I'm using IRIS 2021.1 - I made a mistake in my original post.
go to post Andy Stobirski · Nov 30, 2022 In both tables, they are the same - they are down a %TimeStamp in the underlying classes.
go to post Andy Stobirski · Nov 8, 2022 Hi Christiano Thanks for your reply - I'm not sure how to go about doing that. So, if I had a .PNG how would I display it on a zen page? Andy