Very interesting problem i got here. I have a node "x" which is generating a page by gathering some info from the database. and i can nicely see that page. I had moved that node to another folder in Umbraco and then i couldnt see the page that node created. It gave me the 404 error. I did the moving with the following code:
When i commented teh third line after the movement of that node i could see the page is generating. problem is that the old nodes still are not visible. i mean the pages they generate. so question is.. what can i do to fix that? Republishing the parent node does not work btw.
Nodes not visible after publish
Hej all,
Very interesting problem i got here. I have a node "x" which is generating a page by gathering some info from the database. and i can nicely see that page. I had moved that node to another folder in Umbraco and then i couldnt see the page that node created. It gave me the 404 error. I did the moving with the following code:
currentNode.Move(node.Id);
currentNode.Publish(user);
umbraco.library.PublishSingleNode(currentNode.Id);
syncDatabase();
When i commented teh third line after the movement of that node i could see the page is generating. problem is that the old nodes still are not visible. i mean the pages they generate. so question is.. what can i do to fix that? Republishing the parent node does not work btw.
<alin/>
PublishSingleNode is deprecated use umbraco.library.UpdateDocumentCache(ID) instead
hth, Thomas
is working on a reply...