Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change fixed url to a relative/dynamic url

Status
Not open for further replies.

tonyflavell

Programmer
Jul 21, 2001
119
GB
I'm using a PageViewerWebPart to show a document when we have to edit it's properties.

However I can't get to the document itself, only the library it's in. So the part shows the library, not the document.

It would be nice to see the document, via embedded viewer, in that webpart, when someone

is editing the properties. This way they won't have to open several browsers.

Right now, I have to click inside the webpart to view the document, but I dont want to. I want to go to the document instantly.

example of the library URL: /documents/incomingmail/
document URL: /documents/incomingmail/document.pdf

I tried /documents/incomingmail/{@Name} and /documents/incomingmail/[%incomingmail:%20Name%] and stuff like that, (where Name is clickable, thus the actual document itself)but SP wont buy that. I also tried FileRef but that wont work as well.

I'm using SPD to make this happen, where I can view and adjust the HTML code for each part on a page, and each aspx. In this case we're talking about the EditForm.aspx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top