Trying to manipulate the links section of a conten...
# help-with-umbraco
d
hi everyone. I'm having issues with trying to manipulate the urls in the info section of umbraco. Reason for doing so is that it is a headless solution, and client wants the real url of the content there, in the backoffice. I'm following this one: https://docs.umbraco.com/umbraco-cms/v/13.latest-lts/reference/notifications/editormodel-notifications/customizing-the-links-box and unfortunately I just get "This item is not published" anyone tried this and/or knows what to do, or if I'm missing something. https://cdn.discordapp.com/attachments/1281405341778837585/1281405341963260044/image.png?ex=66db9938&is=66da47b8&hm=b6ab08ef7a404632bf9b24065fc23466c4ece4e7cd75bac3a990611817b04852&
j
I'd normally use a custom UrlProvider so that this returns the same as calling .Url() on the content. Interestingly the docs even say: > although a URL provider would be more suitable Maybe have a look at: https://docs.umbraco.com/umbraco-cms/v/13.latest-lts/reference/routing/request-pipeline/outbound-pipeline
d
Hey Jason. Before even looking into that. I havn't mentioned Im using umbraco cloud. Im not sure that we're aligned on what i possibly need. (im unsure). I need to have their real domain in the backoffice. so that if they are editing something like /umbraco/edit/1999 and press info. their real domain would be there and the right nodestructure. So i've come to think of it, since we're not using umbraco cloud as our domain, i could potentially just add their domain as domains in the backoffice, and it will link to the right site, but im unsure if it does something else I'm just not aware off.
j
That should work.
There's nothing special about cloud in this case, or headless - the whole point of the UrlProvider is to be able to give the content a URL that wouldn't otherwise be used/picked up automatically by Umbraco. If you set the domain in Umbraco, even if you don't route it, then it will work as expected.
7 Views