Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi just wondering the best convention to get a url of an item you retrieve via the ContentService?
at the moment umbraco.library.NiceUrl(content.Id) seems to be a way to do it but umbraco context is null...
any other suggestions?
Hello,
It's a long topic, but I think it's what you're looking for: http://our.umbraco.org/forum/developers/api-questions/48886-Getting-the-url-for-an-IContent-object
Jeroen
Hi Jeroen,
Thanks for steering me in the right direction. Now time to try and get the ContentService to save and publish from a command line. That's not working in v7.0.2
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Morten/Sebastiaan: ContentService - GetUrl from Node
Hi just wondering the best convention to get a url of an item you retrieve via the ContentService?
at the moment umbraco.library.NiceUrl(content.Id) seems to be a way to do it but umbraco context is null...
any other suggestions?
Hello,
It's a long topic, but I think it's what you're looking for: http://our.umbraco.org/forum/developers/api-questions/48886-Getting-the-url-for-an-IContent-object
Jeroen
Hi Jeroen,
Thanks for steering me in the right direction. Now time to try and get the ContentService to save and publish from a command line. That's not working in v7.0.2
is working on a reply...