Create Content node from documenttype template using code
Hello,
I am relatively new to the Umbraco cms coding.
I am stuck with following scenario.
I had created a document type and corresponding Template which has a master page via backoffice.
Now I have to create a ContentNode of the above Docuemttype. For this I tried to use the method ContentService.CreateContent () . And I used ID of the template (of the documenttype).
But it seems to be not right.
Can you help me to identify what has to be used in code in this scenario so that I can create a content node from templates.
Create Content node from documenttype template using code
Hello,
I am relatively new to the Umbraco cms coding. I am stuck with following scenario. I had created a document type and corresponding Template which has a master page via backoffice. Now I have to create a ContentNode of the above Docuemttype. For this I tried to use the method ContentService.CreateContent () . And I used ID of the template (of the documenttype). But it seems to be not right.
Can you help me to identify what has to be used in code in this scenario so that I can create a content node from templates.
Thanks, Raj
is working on a reply...