Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Creating shortcut for document link in CMS

0 views
Skip to first unread message

Ashutosh Kachot

unread,
Apr 22, 2009, 2:07:01 AM4/22/09
to
I have a question. Currently, if I want to communicate a Portal link to a
document in its URL form, it would look something like this:

http://www.abc.org/NR/rdonlyres/ED9E9B36-AB55-4DE1-BFF2-5F735235CA44/0/samle.pdf

All links will have NR/rdonlyres/followed by a GUID, etc ending with the
actual document name.

Is there a way to simplify or create a shortcut for a document link? E.g.,

http://www.abc.org/EnglishGuidelines. Where this link is directly
referencing the above link.

Just curious – or you may have an alternative solution to simplifying
document links?

wolfgang...@gmail.com

unread,
Apr 22, 2009, 4:05:54 AM4/22/09
to
Hi,

one possible solution would include writing an .asp or .aspx page to
handle 404 (page not found errors). You could keep a list of shortcuts
and the documents they refer to - in a database or xml file - and
redirect accordingly.

rgds,
Wolfgang

On Apr 22, 8:07 am, Ashutosh Kachot


<AshutoshKac...@discussions.microsoft.com> wrote:
> I have a question.  Currently, if I want to communicate a Portal link to a
> document in its URL form, it would look something like this:
>

> http://www.abc.org/NR/rdonlyres/ED9E9B36-AB55-4DE1-BFF2-5F735235CA44/...

Ashutosh Kachot

unread,
May 13, 2009, 3:29:01 AM5/13/09
to
Hi wolfgang,

Thanks for the answer. But I am not receving any error ( like 404 ) , I want
to have a shorter link which do not contain
"NR/rdonlyres/ED9E9B36-AB55-4DE1-BFF2-5F735235CA44" path. these are the
document which reside on CMS page so i am confuse how to impement your logic.
it would be great if you can please explain further.

Thanks Again,

Ashutosh
"wolfgang...@gmail.com" wrote:

> Hi,
>
> one possible solution would include writing an .asp or .aspx page to
> handle 404 (page not found errors). You could keep a list of shortcuts
> and the documents they refer to - in a database or xml file - and
> redirect accordingly.
>
> rgds,
> Wolfgang
>
> On Apr 22, 8:07 am, Ashutosh Kachot
> <AshutoshKac...@discussions.microsoft.com> wrote:
> > I have a question. Currently, if I want to communicate a Portal link to a
> > document in its URL form, it would look something like this:
> >
> > http://www.abc.org/NR/rdonlyres/ED9E9B36-AB55-4DE1-BFF2-5F735235CA44/...
> >
> > All links will have NR/rdonlyres/followed by a GUID, etc ending with the
> > actual document name.
> >

> > Is there a way to simplify or create a shortcut for a document link? E..g.,

wolfgang...@gmail.com

unread,
May 25, 2009, 2:22:19 AM5/25/09
to
Hi Ashutosh,

the idea is to trigger 404 events on purpose. When you reference your
document at http://www.abc.org/EnglishGuidelines, IIS will trigger an
404-error, because the document can not be found there. When you set
IIS to use an ASP or ASP.NET page for errorhandling, you can use this
errorpage to do the magic. You just need a table in a database (or XML-
file) to store the information that the link http://www.abc.org/EnglishGuidelines
should point to http://www.abc.org/NR/rdonlyres/ED9E9B36-AB55-4DE1-BFF2-5F735235CA44/...
Your error page just looks up the "real" target in the database and
redirects your visitor's browser to the destination.

hope that hepls,
Wolfgang

On May 13, 9:29 am, Ashutosh Kachot

> > > document links?- Hide quoted text -
>
> - Show quoted text -

0 new messages