• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    i-drop Enhancer Extension Developer

    Reply
    New Member
    Posts: 2
    Registered: ‎02-27-2008

    idrop xml relative paths not working

    290 Views, 3 Replies
    02-27-2008 09:49 AM
    I am having an issue with i-drop and relative paths on a CD-ROM.
    I am able to get i-drop working if I place all the files (dwg, gif, xml and html) in the same directory.
    If I separate the files into their own directories and update the XML with the new relative paths, the preview still works but the DWG can no longer be dropped into AutoCAD.

    AutoCAD cannot find the file.

    AutoDesk says it is possible to separate them in their "Creating i-drop Content for the Web" tutorial:
    "Copy all of the ... files into a single directory. You can use multiple directories, but that is more complicated."

    Does anyone know of a tutorial to show this? Or can you give me an example on how to accomplish this?

    For info regarding my file structure and the xml i'm using, please see the attached GIF.

    Thanks in advance!
    Dan
    Please use plain text.
    Distinguished Contributor
    Posts: 190
    Registered: ‎09-23-2003

    Re: idrop xml relative paths not working

    02-29-2008 10:35 AM in reply to: dan_i
    remove on dot on the xml path.

    You have two dots

    then it works

    sem
    Please use plain text.
    New Member
    Posts: 2
    Registered: ‎02-27-2008

    Re: idrop xml relative paths not working

    02-29-2008 10:49 AM in reply to: dan_i
    thanks for your reply!
    removing one dot did not help - have you used this technique before? If so, I would really appreciate an example!
    Please use plain text.
    Active Member
    Posts: 8
    Registered: ‎01-14-2008

    Re: idrop xml relative paths not working

    03-04-2008 09:54 AM in reply to: dan_i
    Hi,
    I put together your exact sample from the gif image, and it worked for me. As long as you have things laid out just like it the picture your xml file should be ok**.

    Are you sure you have your html set up correctly though ? A good troubleshooting step is to look at the page, and see if you can select "view xml" from the context menu when you right-click on the idrop control. If that option is grayed out you have a problem in your HTML.

    If this attachment works, I have included a zip of the sample idrop setup modified to look like the setup in your image (I moved the proxy gif into a subdirectory under html however, to illustrate the pathing oddity described below at **). Hopefully this can help you find your solution.

    I will check back on this board for a few days, so let me know if this works out for you.

    -Dave

    ** While the paths laid out in your image are actually correct, you may not be aware of an oddity with idrop paths. While the path of the xml schema is relative to the position of the XML file itself (as is the standard), the paths of the different bits of idrop logic are relative to the HTML file the xml is loaded from. Message was edited by: dmosinee
    Please use plain text.