Timeline for Create a Component and save it in a particular Folder with TOM Interop (Tridion 2009)
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 6, 2015 at 18:06 | comment | added | Arn a | I solved the problem. The folder in which i want to save my component and the schema had not the same publication ID. Thanks for your advices | |
Feb 6, 2015 at 18:04 | vote | accept | Arn a | ||
Feb 5, 2015 at 13:12 | comment | added | Bjørn van Dommelen | Note that using COM+ interop requires you to always release your COM handles so I recommend using blocks around them to guarantee the handles are released: using (ComCleanup cc = new ComCleanup()) { TDSE tdse = new TDSE(); cc.Register(tdse); //other code here } | |
Feb 5, 2015 at 9:03 | comment | added | Bart Koopman | More info on those type of exceptions can be found in the Tridion event log on the server. If you just used my code and nothing more, chances are your Schema has mandatory fields (which have not been set). Like I mentioned in the comment, you will need to set the fields values etc. But please don't put all your errors in a comment, just edit your question with these kind of updates so I can update my answer. Else this question and its answer will get very messy with unreadable comments. | |
Feb 4, 2015 at 16:56 | comment | added | Arn a | Unfortunately, i got this COMException : <?xml version="1.0"?> <tcm:Error xmlns:tcm="tridion.com/ContentManager/5.0" ErrorCode="80040325" Category="3" Source="Kernel" Severity="2"><tcm:Line ErrorCode="80040325" Cause="false" MessageID="16137"><![CDATA[Unable to save Component (tcm:0-0-0).]]><tcm:Token>RESID_4574</tcm:Token><tcm:Token>RESID_4418</tcm:Token><tcm:Token>tcm:0-0-0</tcm:Token></tcm:Line><tcm:Line ErrorCode="80040325" Cause="true" Moreover my schema and components objects seems to be empty | |
Feb 4, 2015 at 13:52 | history | edited | Bart Koopman | CC BY-SA 3.0 |
added link to old powertools for TOM API examples
|
Feb 4, 2015 at 13:46 | history | edited | Bart Koopman | CC BY-SA 3.0 |
added link to old powertools for TOM API examples
|
Feb 4, 2015 at 13:40 | history | answered | Bart Koopman | CC BY-SA 3.0 |