Timeline for Component Creation Via CoreService - Rich Text Field Population
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 11, 2014 at 13:53 | comment | added | Neil | Jon, how did you get on with this? Did you opt for Nuno's suggestion or fix the serialisation? | |
Sep 13, 2013 at 15:19 | history | tweeted | twitter.com/#!/StackTridion/status/378538504504242176 | ||
Sep 13, 2013 at 13:50 | comment | added | Bart Koopman |
My first guess would be that newsite.Serialize() returns the encoded HTML already, while it should just be the OuterXml of XmlDocument.DocumentElement with XHTML as child elements for the RTF field.
|
|
Sep 13, 2013 at 13:46 | comment | added | John Walters | "newSite" is just an instance of a "Site" component - basically "Site"'s are what I'm trying to create in Tridion! As for why I'm calling the Serialize() function, I'm following the BuildingBlocks blog entry for importing data using XML Serialization/Deserialization - found here: building-blocks.com/thinking/… - which is why that's there! | |
Sep 13, 2013 at 13:42 | comment | added | Nickoli Roussakov | Yep, newsite.Serialize() is the function we expect to generate the component XML along with your RTF /xhtml field. Share this code. | |
Sep 13, 2013 at 13:39 | answer | added | Nuno Linhares♦ | timeline score: 2 | |
Sep 13, 2013 at 13:34 | comment | added | Bart Koopman |
What exactly is newsite for an object and do you actually need to call .Serialize() on it?
|
|
Sep 13, 2013 at 13:20 | history | edited | John Walters | CC BY-SA 3.0 |
added 288 characters in body
|
Sep 13, 2013 at 13:12 | history | asked | John Walters | CC BY-SA 3.0 |