incorrect url for a posting
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > incorrect url for a posting




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    incorrect url for a posting  
Chandy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-21-05 12:48 PM

Hi all,

I have a simple search indexer which goes through the channel structure
and indexes postings.  I store Posting.Url as the reference to later
use as a link to the live posting but for some reason *1* of the
postings (can only find the one!) seems to have returned an incorrect
url!  For this posting, the Url appears to be of the format
/TemplateProject/TemplateDir/GUIDFRAGMENT.htm

Any ideas as to what might be causing this?

Chandy






[ Post a follow-up to this message ]



    Re: incorrect url for a posting  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-21-05 12:48 PM

Hi Chandy,

I would suggest to debug your code to see what is really returned from
posting.Url.
I don't think that the API will return the path below.
A debugger would proof this.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"Chandy" <chandy@totalise.co.uk> wrote in message
news:1127294144.827170.148680@f14g2000cwb.googlegroups.com...
> Hi all,
>
> I have a simple search indexer which goes through the channel structure
> and indexes postings.  I store Posting.Url as the reference to later
> use as a link to the live posting but for some reason *1* of the
> postings (can only find the one!) seems to have returned an incorrect
> url!  For this posting, the Url appears to be of the format
> /TemplateProject/TemplateDir/GUIDFRAGMENT.htm
>
> Any ideas as to what might be causing this?
>
> Chandy
>







[ Post a follow-up to this message ]



    Re: incorrect url for a posting  
Chandy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-21-05 12:48 PM

Hi Stefan,

Upon further investigation it seems that for the posting in question
the Url property does not return 'http://site/channel/posting.htm' as
for all the rest of the postings but '/NR/exeres/GUID.htm' (this is on
Enterprise Edition with host header mapping enabled).  Why would
this be?  Is it a CMS bug that it is not returning the domain part of
the url?

Chandy






[ Post a follow-up to this message ]



    Re: incorrect url for a posting  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-21-05 10:52 PM

Hi Chandy,

this is as expected if more than one posting in a channel have the same
name.
Please ensure that all postings have unique names and this should not
happen.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"Chandy" <chandy@totalise.co.uk> wrote in message
news:1127305993.662194.222750@f14g2000cwb.googlegroups.com...
> Hi Stefan,
>
> Upon further investigation it seems that for the posting in question
> the Url property does not return 'http://site/channel/posting.htm' as
> for all the rest of the postings but '/NR/exeres/GUID.htm' (this is on
> Enterprise Edition with host header mapping enabled).  Why would
> this be?  Is it a CMS bug that it is not returning the domain part of
> the url?
>
> Chandy
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:12 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register