Forum Discussion

Msadr's avatar
Msadr
Explorer | Level 4
2 years ago

Instructions for a simple link on a webpage?

All I want to do is hyperlink from a webpage to a shared drobox folder.  Is this impossible?  No matter how I format the link, I get "Dropbox refuses to connect".  I created an app and added that domain, still refuses to connect.  If I paste the link into a browser window, it works.

This seems like such a simple thing.  Does anyone have instructions anywhere on how to connect from a secure website to a specific dropbox folder?  I don't need any functionality at all.  I don't even need to display the contents anywhere.  I just want to direct the user from the webpage to dropbox.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Based on your description, such as creating the app and registering the domain, it sounds like you've tried to set up the Dropbox Embedder. The Dropbox Embedder is a way of displaying content from a Dropbox shared link directly on a third party site.

     

    You mentioned that you don't actually want to display the contents though, so you don't need to use the Embedder. You can use standard HTML functionality to link to Dropbox web pages, just like one might do with other URLs.

     

    We can't really offer support for HTML itself, but just for example, you could make an anchor element for a hyperlink like this:

     

    <a href="https://www.dropbox.com/">Link to Dropbox</a>

     

    You can replace https://www.dropbox.com/ with your full desired URL.

    • Msadr's avatar
      Msadr
      Explorer | Level 4

      Thanks but this is exactly what I did.  When I click on it, I only get the message "Dropbox refuses to connect".  What must I do to the shared folder link to make it clickable from the webpage?  Pasting the link into the browser works.  Clicking the link from the webpage does not.  I feel stupid that I can't get a hyperlink to work!  There must be some parameter that I need in the URL?

      • Здравко's avatar
        Здравко
        Legendary | Level 20

        Msadr wrote:

        ... There must be some parameter that I need in the URL?


        Hi Msadr,

        No, you only need to keep all URL params as they are - just don't change nor remove something. If you have some example page that doesn't work, it would be more informative.

        Good luck.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers803 PostsLatest Activity: 27 minutes ago
216 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!