Forum Discussion

bassemShaker's avatar
bassemShaker
Copper Contributor
Jun 27, 2023

Hosting Office Add-in Manifest.xml File in Cloud Storage Platforms like Google Drive

Is it possible to host the Office Add-in Manifest.xml file in cloud storage platforms such as Google Drive , OneDrive or azure blob?

Even though I have shared the Manifest.xml files in both Google Drive and onedrive storage and manually added the shared URL to the Excel Trusted Add-in Catalogs, the add-ins do not display and it seems not working.

2 Replies

  • Faisal1775's avatar
    Faisal1775
    Brass Contributor

    bassemShaker 

    Yes, you can host an Office Add-in Manifest.xml file on cloud storage platforms like Google Drive. Here's how you can do it:

    1. Upload the Manifest.xml File: Sign in to your Google Drive account and navigate to the location where you want to host the Manifest.xml file. Click on the "New" button and choose "File upload" to upload the Manifest.xml file from your local computer to your Google Drive storage.

    2. Generate a Shareable Link: After the file is uploaded, right-click on the Manifest.xml file in Google Drive and select "Get link" or "Share." Adjust the sharing settings to make the file accessible to anyone with the link. This will generate a shareable link that can be used to access the file.

    3. Use the Shareable Link in Office Add-in: Copy the shareable link generated in the previous step. In your Office Add-in code or development environment, specify the URL of the Manifest.xml file as the source for your add-in manifest. For example, you might use a link like https://drive.google.com/uc?export=download&id=YOUR_FILE_ID where YOUR_FILE_ID is the unique identifier for your Manifest.xml file.

    4. Test the Add-in: Deploy or install your Office Add-in using the manifest URL that points to the hosted Manifest.xml file. You should be able to install and run the add-in using the cloud-hosted Manifest.xml file from Google Drivehttps://www.tretinoinmart.com

    Remember to ensure that the sharing settings in Google Drive allow access to the file by anyone with the link, as this is necessary for the Office application to retrieve and process the Manifest.xml file.

    Additionally, keep in mind that using a cloud storage platform like Google Drive for hosting the Manifest.xml file may have limitations, such as potential changes to the URL structure or potential restrictions imposed by the cloud storage provider. Make sure to monitor and update the URL if any changes occur in the future.

    It's also worth considering alternative hosting options like dedicated web servers or cloud hosting services designed specifically for static files, as they may offer more stability and reliability for hosting your Office Add-in Manifest.xml file.

    • bassemShaker's avatar
      bassemShaker
      Copper Contributor
      Thanks for your reply, I tried this before but not working

Resources