CMS: Map channels to files
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
CMS: Map channels to files

 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
Nanda
Guest





Posted: Tue Jan 04, 2005 11:45 am    Post subject: CMS: Map channels to files Reply with quote

Hi,

I am presently migrating my CMS project from ASP to MCMS. On the existing
application, the files (*.doc/*.xls/*.pdf/ HTML/ etc) are uploaded manually
and linked on the database with specific speed codes. So, when a speed code
is requested, the particular link is fetched from the database and the page
is redirected to the particular link automatically.

Now, on MCMS, giving links to HTML files is rather easier (as we can do this
job by creating different channels for different HTML files), but giving a
link to an uploaded file (*.doc/*.xls/*.pdf/ etc) is posing a problem to me.
Each time I browse for an uploaded file, I get a different URL. Can someone
help me how I can map a particular file to a link on my database?

Thanks!!
Back to top
Stefan [MSFT]
Guest





Posted: Tue Jan 04, 2005 3:05 pm    Post subject: Re: Map channels to files Reply with quote

Hi Nanda,

this sounds as if you are using CMS 2001. With CMS 2002 the URL is always
the same.
Am i right with this assumption?

With CMS 2001 you would need to create an ASP page that uses the path as
parameter and then retrieves the resource object with GetByPath and then
does a redirect to the current Url of the resource.

Cheers,
Stefan.

"Nanda" <Nanda@discussions.microsoft.com> wrote in message
news:29E8B231-E3CB-4CA3-97FC-CEB832D92DF4@microsoft.com...
Quote:
Hi,

I am presently migrating my CMS project from ASP to MCMS. On the existing
application, the files (*.doc/*.xls/*.pdf/ HTML/ etc) are uploaded
manually
and linked on the database with specific speed codes. So, when a speed
code
is requested, the particular link is fetched from the database and the
page
is redirected to the particular link automatically.

Now, on MCMS, giving links to HTML files is rather easier (as we can do
this
job by creating different channels for different HTML files), but giving a
link to an uploaded file (*.doc/*.xls/*.pdf/ etc) is posing a problem to
me.
Each time I browse for an uploaded file, I get a different URL. Can
someone
help me how I can map a particular file to a link on my database?

Thanks!!
Back to top
Nanda
Guest





Posted: Tue Jan 04, 2005 3:29 pm    Post subject: Re: Map channels to files Reply with quote

Hi Stefan,

Thanks for the reply. I am using CMS 2002. My problem is to connect a
speedcode to a physical file (either a HTML or a pdf / word Document type).
So, the asp file which gets the sppedcode, fetches the link from the database
and then redirects the user to the specifc URL (for the physical file).

Right now, My project is designed in such a way that each speedcode is
matched to a different channel. So, when a speedcode is inputted from a user,
I need him to be redirected to a file, specific to the link that is on the
database. For HTML files, I am able to do the flow, but In case of normal
document files, can you please guide me of how to go about it?

Regards,
Nanda

"Stefan [MSFT]" wrote:

Quote:
Hi Nanda,

this sounds as if you are using CMS 2001. With CMS 2002 the URL is always
the same.
Am i right with this assumption?

With CMS 2001 you would need to create an ASP page that uses the path as
parameter and then retrieves the resource object with GetByPath and then
does a redirect to the current Url of the resource.

Cheers,
Stefan.

"Nanda" <Nanda@discussions.microsoft.com> wrote in message
news:29E8B231-E3CB-4CA3-97FC-CEB832D92DF4@microsoft.com...
Hi,

I am presently migrating my CMS project from ASP to MCMS. On the existing
application, the files (*.doc/*.xls/*.pdf/ HTML/ etc) are uploaded
manually
and linked on the database with specific speed codes. So, when a speed
code
is requested, the particular link is fetched from the database and the
page
is redirected to the particular link automatically.

Now, on MCMS, giving links to HTML files is rather easier (as we can do
this
job by creating different channels for different HTML files), but giving a
link to an uploaded file (*.doc/*.xls/*.pdf/ etc) is posing a problem to
me.
Each time I browse for an uploaded file, I get a different URL. Can
someone
help me how I can map a particular file to a link on my database?

Thanks!!


Back to top
Nanda
Guest





Posted: Tue Jan 04, 2005 3:41 pm    Post subject: Re: Map channels to files Reply with quote

Hi Stefan,

Also, when ever I try to upload a document, I find the URL to be like:

http://<Server_Name>/NR/rdonlyres/46F2258D-BC28-4C30-8F51-EFECBF6AE554/<Blob_ID>/TestPDF.pdf

So, is the 36 letter key in the URL (46F2258D-BC28-4C30-8F51-EFECBF6AE554)
will be the same for any user who visits this site?


"Stefan [MSFT]" wrote:

Quote:
Hi Nanda,

this sounds as if you are using CMS 2001. With CMS 2002 the URL is always
the same.
Am i right with this assumption?

With CMS 2001 you would need to create an ASP page that uses the path as
parameter and then retrieves the resource object with GetByPath and then
does a redirect to the current Url of the resource.

Cheers,
Stefan.

"Nanda" <Nanda@discussions.microsoft.com> wrote in message
news:29E8B231-E3CB-4CA3-97FC-CEB832D92DF4@microsoft.com...
Hi,

I am presently migrating my CMS project from ASP to MCMS. On the existing
application, the files (*.doc/*.xls/*.pdf/ HTML/ etc) are uploaded
manually
and linked on the database with specific speed codes. So, when a speed
code
is requested, the particular link is fetched from the database and the
page
is redirected to the particular link automatically.

Now, on MCMS, giving links to HTML files is rather easier (as we can do
this
job by creating different channels for different HTML files), but giving a
link to an uploaded file (*.doc/*.xls/*.pdf/ etc) is posing a problem to
me.
Each time I browse for an uploaded file, I get a different URL. Can
someone
help me how I can map a particular file to a link on my database?

Thanks!!


Back to top
Stefan [MSFT]
Guest





Posted: Tue Jan 04, 2005 4:16 pm    Post subject: Re: Map channels to files Reply with quote

Hi Nanda,

with MCMS 2002 the URL is idential for all users.
Including the GUID (that is what you name a 36 letter key).

Cheers,
Stefan.


"Nanda" <Nanda@discussions.microsoft.com> wrote in message
news:C39F5F5D-350D-4291-B863-A2C1AC3A1276@microsoft.com...
Quote:
Hi Stefan,

Also, when ever I try to upload a document, I find the URL to be like:


http://<Server_Name>/NR/rdonlyres/46F2258D-BC28-4C30-8F51-EFECBF6AE554/<Blob_ID>/TestPDF.pdf

So, is the 36 letter key in the URL (46F2258D-BC28-4C30-8F51-EFECBF6AE554)
will be the same for any user who visits this site?


"Stefan [MSFT]" wrote:

Hi Nanda,

this sounds as if you are using CMS 2001. With CMS 2002 the URL is
always
the same.
Am i right with this assumption?

With CMS 2001 you would need to create an ASP page that uses the path as
parameter and then retrieves the resource object with GetByPath and then
does a redirect to the current Url of the resource.

Cheers,
Stefan.

"Nanda" <Nanda@discussions.microsoft.com> wrote in message
news:29E8B231-E3CB-4CA3-97FC-CEB832D92DF4@microsoft.com...
Hi,

I am presently migrating my CMS project from ASP to MCMS. On the
existing
application, the files (*.doc/*.xls/*.pdf/ HTML/ etc) are uploaded
manually
and linked on the database with specific speed codes. So, when a speed
code
is requested, the particular link is fetched from the database and the
page
is redirected to the particular link automatically.

Now, on MCMS, giving links to HTML files is rather easier (as we can
do
this
job by creating different channels for different HTML files), but
giving a
link to an uploaded file (*.doc/*.xls/*.pdf/ etc) is posing a problem
to
me.
Each time I browse for an uploaded file, I get a different URL. Can
someone
help me how I can map a particular file to a link on my database?

Thanks!!


Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB