Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Like to use Full Path in a URL
Last Post 11/10/2010 6:15 PM by K. Tweedy. 4 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
K. Tweedy
New Member
New Member
Posts:4


--
10/23/2010 3:09 PM

I just installed DMX and seems to be working good.

I am able to embed references to files using the direct navigate link.  Is there a way to just refernce the Full Path?

Do I need to setup some kind of web redirect?  Is this already available in the code to do that?

This would let me do two things, one is it is much easier to use the Full Path naming then the longer direct link.  But second more importantly I can edit the description name in DMX and have the referencing link now use what ever item the name references.

 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
11/02/2010 5:21 PM
Hi Kevin,

Can you give me an example to make sure we're on the same page?

Peter
K. Tweedy
New Member
New Member
Posts:4


--
11/02/2010 5:41 PM

Sure.

Let's say a user upload a file called Cat1.jpg.  into folder cats.  The user can give that a description name of BlackCat.jpg.  So the direct path if Cat/BlackCat.jpg if I uderstand it correct.  The there is then a navigation url to access that item.

Let's say we go to a wab page on the site and would like to put

 

Using the full path instead of the nagivation path.

Later we may upload a new Cat2.jpg and now give it the description of BlackCat.jpg, and rename the old one to something else.  The new item has a different navigation url but I would like the img tag above to now find the new item that has a description of Cat/BlackCat.jpg.

Basically i wouild like to not had code the item number of the specific document ID into the url that the site uses but instead of a logical name that can be reassigned to a different document later and everwhere on the site it will use the new document.

Thanks.

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
11/10/2010 4:41 PM
OK I get it. Have you tried the url that is under the webdav link? It should be possible to get at an item with the full url if you stick dmxdav.axd at the beginning of the url. If you're using webdav you can see this if you use Fiddler and check what calls are made. The shape of the url would be http://www.mycompany.net/dmxdav.axd/cat/blackcat.jpg.

Peter
K. Tweedy
New Member
New Member
Posts:4


--
11/10/2010 6:15 PM
cool, will try, thanks.
You are not authorized to post a reply.