What version and hotfix are you using? Also, what is the development model? I am asking since the DocumentURLPath was used in portal engine only and I would say the same applies for RelativeURL - when using MVC/Core, you have the routing in place instead.