Ok so i have a load of nodes that i need to set there umbracoURLAlias, now for various reasons i can not do this via the umbraco api so i have written code that inserts a new cmsPropertyData for the node and also recreates the nodes contentxml into the database this all works perfectly and when i view the nodes i see there umbraoURLAlias has been set however when i try to navigate to this url i get a not found error this happens even if i republish the node via umbraco in fact the only time i can get umbracoURlAlias to work is when creating a new node within umbraco. Can anyone point me in the write direction i believe there is either another database table i need to update or file that im not amending.
Double-check the name of the property alias - it must be "umbracoUrlAlias" - it is case-sensitive, so make sure that its correct.
I'd strongly recommend you to use the Umbraco APIs to create document properties. Using the database directly could lead to all sorts of problems and headaches later on in development. If you need help with a specific way to access/create property data - let us know, we can help out.
Would love to use the api how ever it is very very very slow to import thousands of records so there for i have opted for direct database import which is working well also i have now solved this issue it was due to case sensitivity on the value of urlAlias not the property. Thanks
umbracoURLAlias
Ok so i have a load of nodes that i need to set there umbracoURLAlias, now for various reasons i can not do this via the umbraco api so i have written code that inserts a new cmsPropertyData for the node and also recreates the nodes contentxml into the database this all works perfectly and when i view the nodes i see there umbraoURLAlias has been set however when i try to navigate to this url i get a not found error this happens even if i republish the node via umbraco in fact the only time i can get umbracoURlAlias to work is when creating a new node within umbraco. Can anyone point me in the write direction i believe there is either another database table i need to update or file that im not amending.
Many thanks.
Double-check the name of the property alias - it must be "umbracoUrlAlias" - it is case-sensitive, so make sure that its correct.
I'd strongly recommend you to use the Umbraco APIs to create document properties. Using the database directly could lead to all sorts of problems and headaches later on in development. If you need help with a specific way to access/create property data - let us know, we can help out.
Cheers, Lee.
Would love to use the api how ever it is very very very slow to import thousands of records so there for i have opted for direct database import which is working well also i have now solved this issue it was due to case sensitivity on the value of urlAlias not the property. Thanks
is working on a reply...