+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Not clear on how Azure provider works for storage

Not clear on how Azure provider works for storage

4 posts, 1 answered
  1. Bil
    Bil avatar
    51 posts
    Registered:
    27 Aug 2012
    04 Nov 2015
    Link to this post

    Hi guys,

    I've setup a new provider hooked up to Azure for a library. The provider was hooked up and everything is good then I wired up a new library to use it. Uploaded a document to the Sitefinity library and it appeared in the container in Azure. That's all good.

    What I don't know is we had blobs already in the container as we're uploading them from an outside source. We wanted to expose them through Sitefinity but the existing blobs are not showing up in the library.

    Is there not a two-way sync happening with libraries or is it only there to upload documents and store them in Azure blobs instead of the database or file system. I also thought setting the public host would mean the url to the documents in the library would be what the Sample blob url shows. Instead it's just the Azure name so the document links are https://accountname.blob.core.windows.net/container/docs/default-source/libraryname/filename.ext instead.

    Thanks

  2. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    30 Sep 2016
    09 Nov 2015
    Link to this post
    Hello Bil,

    The Azure storage provider is an external storage where the media files are stored, but not a library synchronization. So the links to the files are the actual url, where the file is stored.

    More information about the Azure Storage provider is available here:
    http://docs.sitefinity.com/configure-windows-azure-storage-provider

    Regards,
    Svetoslav Manchev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
    Answered
  3. Bil
    Bil avatar
    51 posts
    Registered:
    27 Aug 2012
    09 Nov 2015 in reply to Svetoslav Manchev
    Link to this post

    Okay that makes sense.

    One more thing that's confusing is the host name for media files.  In our setup I've configured the storage provider with a public host of the site name (mywebsite.com for example). Files uploaded to a library connected to the provider have an embed link of http://mywebsite.com/container-name/docs/default-source/library-name/filename.ext?sfvrsn=1 however this results in a broken link. The actual URL is the azurewebsites one you can get from the container in Azure.

    Is there something special you need to do to get the name to resolve to your hostname if you want to set this up?

    Thanks

  4. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    30 Sep 2016
    13 Nov 2015
    Link to this post
    Hi Bil,

    Sitefinity generates its own urls for media items. When this link is accessed, Sitefinity tries to retrieve the item and display it. In your case there could be some problem with the retrieving logic, but the exact issue should be investigated more detailed. I would recommend you to open a support ticket for further investigation on your project.

    Regards,
    Svetoslav Manchev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
4 posts, 1 answered