you may wan to combine sharepoint, then you have quite many options.
for example develop the code invoke sharepoint image; use powerautomate..etc.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I wanted to use onedrive images as a src for my <img> tags to show on my website using our business onedrive.
I know that the embed option is not available when using the createLink end point for business onedrives. Would there be any other solution? Using the below will generate a one drive viewer rather than the url of the image
DriveItemCreateLinkParameterSet params = new DriveItemCreateLinkParameterSet();
params.scope = "anonymous";
params.type = "view";
Permission permission = client.drive().items(fourthLevelItem.id).createLink(params).buildRequest().post();
String url = permission.link.webUrl;
you may wan to combine sharepoint, then you have quite many options.
for example develop the code invoke sharepoint image; use powerautomate..etc.
Hi @Yasser Malik
As your issue is related to OneDrive developer, I also suggest you post a new thread on Microsoft Tech Community --- OneDrive Developers.
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.