GetDocumentUrlForFeed() returns empty in RSS feed

Novice User asked on April 16, 2018 18:18

I am using Text/HTML transformation with CMSRSSFeed web part. I want to give user a link in item and using GetDocumentUrlForFeed() is returning empty while GetDocumentUrl()return with the path but its not absolute or full. Is there some thing that i am missing in here.

Correct Answer

Peter Mogilnitski answered on April 16, 2018 19:51

Try GetAbsoluteUrl(GetDocumentUrl(...))

0 votesVote for this answer Unmark Correct answer

Recent Answers

John Smith answered on April 17, 2018 06:20

i am looking for the answer as well

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.