Re: URL to a particular document in library which is in a sub-fold

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: gougler (gougler_at_gmail.com)
Date: 02/18/05


Date: 18 Feb 2005 08:00:57 -0800

Cornelius - thank you for your suggestion. The problem however is not
with sending URL to the actual document, but to the "SharePoint's
document properties" form which is by detfault /DispForm.Aspx?ID=XX.
where XX is the ID of the document.

I can do that for the documents in root folder but not for documents
that are in sub folders.
To reproduce this problem do following:

1. Create empty Document Library
2. Uplaod document to this library. Assuming it is first document it
will get ID=1.\
3. If you go to http://server/site/library/dispform.aspx?id=1 you will
get page with properties for this document.
4. Now if you create a folder in THE SAME document library and move
this document to this newly created folder and try to access it with
http://server/site/library/dispform.aspx?id=1 you will get the error
page i mentioned in my original posting.

thanks for your help!

Gougler

Cornelius J. van Dyk wrote:
> Gougler,
>
> I have to disagree with Mike on this one. From your post it seems to
me
> like you're trying to send the URL to the document to someone else.
The
> format of the link is simply as follows:
>
>
http://servername/sites/rootsitename/doclibname/firstlevelfoldername/secondlevelfoldername/documentname
>
> When you need to copy the URL, simply find the target document and
right
> click on it. From the popup menu, click Properties.
> On the Properties windows that opens, simply copy everything in the
Address
> area.
> NOTE: Sometimes the entire link is larger than what is displayed, so
be
> sure to copy all the text with a click and drag action.
> Now simply paste that link into your email.
>
> In addition, you can also think about extending your context menu's
to add
> the ability to email the document link from the context drop down
menu.
>
> I hope this is helpful.
>
> Thanks
> C
>
>
>
> "Mike Walsh" wrote:
>
> > The implementation of folders in WSS seems to have been put in at
the last
> > minute and is flawed. There have been many problems with them
reported here
> > in the past.
> >
> > I recommend instead that instead of folders in doc libs you use
Views. They
> > work.
> >
> > Mike Walsh, Helsinki, Finland
> > WSS FAQ http://wss.collutions.com
> > please reply to the newsgroup only
> > "gougler" <gougler@gmail.com> wrote in message
> > news:1108581078.510329.26150@c13g2000cwb.googlegroups.com...
> > >I have a WSS site and document library. The document library has
> > > multiple folders. I have a document in a folder which is 2 levels
down
> > > (in a subfolder within this document library).
> > > I am trying to email some people with a hyperlink to this
document but
> > > I can't! I mean, when I click on the document to go to
> > > DispForm.aspx?id=xx. etc from the site it works - I get the
dispform
> > > for that document. But when I take the URL I have in the browser
and
> > > paste it to another browser window the site comes back with
Error:
> > > "Item does not exist. The page you selected contains an item that
does
> > > not exist. It may have been deleted by another user. Click
"Home" at
> > > the top of the page to return to your Web site."
> > >
> > > The URL to the DispForm looks like this:
> > >
> > >
http://SERVERNAME/SITENAME/DOCUMENT_LIBRARY_NAME/Forms/DispForm.aspx?ID=21&Source=SOURCEURL&RootFolder=%2fSITENAME%2fDOCUMENT_LIBRARY_NAME%2fFOLDER_NAME
> > >
> > > this link does not work! But exactly the same URL appears in the
> > > browser when the dispform is accessed by navigating through the
site.
> > >
> > > Normally when folders are not used (the document is in a root
folder of
> > > a document library) I can send someone this URL:
> > >
> > >
http://SERVERNAME/SITENAME/DOCUMENT_LIBRARY_NAME/Forms/DispForm.aspx?ID=22
> > >
> > > and they can access the document properties without any problems.
> > >
> > > So my question is:
> > >
> > > How can I capture proper URL to a document in a document library
which
> > > is in a sub-folder?
> > >
> > > thanks!!!!!
> > >
> > >
http://wss.nesbittburns.ca/projects/univeris/Technical_Architecture/Forms/DispForm.aspx?ID=22
> > >
> >
> >
> >



Relevant Pages

  • Re: Deleted DocLib Forms folder in WSS v2
    ... Thanks a lot for your suggestions Andrew and Cornelius! ... I have a WSS v2 server with around 200 sites. ... I have accidently deleted the FORMS folder on one of the document ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Windows XP hangs when I right click
    ... Windows displays the context menu. ... * When you click "Play All" in the Music or Videos folder Common Tasks, ... These problems are caused by a poorly coded context menu handler. ... Using ShellExView to determine the Context-menu handler causing the ...
    (microsoft.public.windowsxp.general)
  • Re: Desktop Icon Drop Down Menus
    ... You can use ShellExView to disable the context menu handlers. ... Set Open as default for Folder in Folder Options. ... And Search also opens instead of the folder when double clicking. ...
    (microsoft.public.windowsxp.basics)
  • Re: explorer.exe will not open
    ... C:\Documents and Settings\Your Name Here\Start Menu folder with the folders ... that you have a messed up context menu handler and it's ... MS-MVP Windows Shell/User ... am going to install an external sound card but wondered if there would ...
    (microsoft.public.windowsxp.general)
  • Re: Annoyance with Opening Folders
    ... > You can add DirGraph to the context menu as ... From any explorer window, select the 'Folder Options' ... > Consumption Analysis" context menu command but when I ... > clicking "Set Default" turns the command bold which I ...
    (microsoft.public.windowsxp.general)