Hi All,
I am trying to create a document and publish it umbraco from my .net project. I have created a document successfully and published it too. Everything seems to work fine. but, Link to document doesn't appear on the Umbraco's UI. When I publish it from Umbraco's UI link becomes visible to me. Here is the main piece of code I am using...
=========================================
DocumentType dt = DocumentType.GetByAlias("HomePage");
umbraco.BusinessLogic.User u = new umbraco.BusinessLogic.User(0);
int parent = 1091;
Document d = new Document(1748);
d.getProperty("PageHeader").Value = "Kailash Test2";
d.Publish(u);
umbraco.library.PublishSingleNode(d.Id);
==========================================
I tried a lot to fix this...
Thank you very much in advance..
Kailash