Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Data view ows_linktitle not showing as a link on webpart

  Asked By: Jakob Rasmussen         Date: Apr 22, 2008      Category: Sharepoint      Views: 567
 

I have a data view of an announcements list. I've include the
ows_linktitle field on my dataview but when I add it to my page it does
not show as a link but just text. I think this may be because I have it
formatted as Rich Text. I tried changing it to hyperlink but I'm not
sure how to configure hyperlink to pull the correct url.

Tagged:                  

 

5 Answers Found

 
Answer #1       Answered By: Abhinivesh Suvarna          Answered On: Apr 22, 2008       

The easiest way to get an example of the formatting is to add  a normal
list view  web part to the page, then use SPD to convert the list  View to
a Data View.

 
Answer #2       Answered By: Micheal Knight          Answered On: Apr 22, 2008       

I followed your suggestion and the hyperlink  address it is showing  on
a normal list view  web part is {$URL_Display}?ID={@ID}.

I tried to change my Title to a hyperlink format and inserted this
code in my already created data  view on my other site but received an
error. I don't know if it matters but my created data view is using
XML web services to point to a list  on another site collection.

 
Answer #3       Answered By: Yvonne Rodriquez          Answered On: Apr 22, 2008       

Sounds like you aren't getting the same set of fields back from the web
service - make sure your field  mappings are correct  and you are using
the correct @ vs. $ notation on the lookups.

 
Answer #4       Answered By: Elisha Abbott          Answered On: Apr 22, 2008       

Haven't had any luck getting this to work. Would the {$URL_Display}
even work if my dataview  will be on a different site collection then
the list  I'm connecting to?

 
Answer #5       Answered By: Naimish Ranganekar          Answered On: Apr 22, 2008       

Assuming that is one of the data  columns being returned by the web
service, and it's an absolute URL, yes. If not, you need to either
replace or construct it in the xsl depending on what you do have
available.

 
Didn't find what you were looking for? Find more on Data view ows_linktitle not showing as a link on webpart Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].