Get document embed URL for document in skydrive using Skydrive API - excel

I'm automating the embebbing of documents in my blog addon. I can upload an excel file to skydrive but to embed the document I should proccess manually the file in Skydrive and get the embed URL.
What's the way to get this embed URL via skydrive API?
Regards

Microsoft appears to document this functionality here:
Working with Microsoft SkyDrive folders and files -> Getting links to folders and files

Related

Power Apps Add Picture Control And Save To SharePoint Library

I have created a demo to capture a photo and upload that into the SharePoint online document library.
I have used Picture Control of PowerApps and the SharePoint document library.
I have taken reference from the below link,
https://www.matthewdevaney.com/power-apps-add-picture-control-and-save-to-sharepoint-library/
I have a few questions regarding uploading captured photos in the SharePoint document library.
Can I upload multiple pictures using PowerApps Picture Control under the SharePoint document library?
Can I create a document set in the SharePoint document library using only PowerApps (without using Power Automate)?
Can I create a folder and upload multiple images under that folder while the user captures multiple pictures and upload them to the SharePoint document library?
Is it possible if an internet connection is not available then save images locally and upload that images in the SharePoint document library while connecting to the internet?
Thanks

How I can specify ms-planner storage place on SharePoint?

I'm using Microsoft SharePoint and MS Planner, I have a plan that's connected to SharePoint website, so everything I post in planner automatically shows in SharePoint.
So whenever I upload an attachment it is uploaded to Sharepoint site/shared document
I want to create a specific folder inside documents and make attachments that I upload in planner go directly there.
is there any way to do that?
Currently this is not supported. You can vote for the suggestion to add this feature though:
https://feedbackportal.microsoft.com/feedback/idea/91702db7-3252-ec11-a819-000d3a7c684e

PowerAutomate convert a mail to PDF or create a PDF in SharePoint

I try to convert a mail to a PDF in PowerAutomate and save it in SharePoint
I tried different options but the PDF does not open properly in SharePoint (see ErreurPDF screenshots)
The only solution i found was to use One drive to do the PDF conversion (see attachment)
But i would prefer not to use my One drive as it is private and my flow is shared with other users.
Do you have another idea how to convert a mail or at least to create a PDF from PowerAutomate in SharePoint ?
Leveraging OneDrive is the main way, you could create a service account. Then create the flow and use the service account's OneDrive.

addFileAttachmentAsync with SharePoint or Onedrive

I would like to attach a document from SharePoint Online to the mail with the office.js api.
The problem is that the addFileAttachmentAsync method just has an url as parameter so I can currently only attach public available files and not protected files.
In my app I can download the SharePoint file without a custom server as blob or base64.
Is it possible to use the html5 file api or can I reuse the SharePoint token somehow for addFileAttachmentAsync?
Currently there is no way to attach files that are not publicly available.

accessing files and folders other than sharepoint site's default shared documents using office365 api

Working on windows store apps:
I am trying to access the files and folders of office365 documents library.
I can access the one drive documents as described in this link Common file tasks using the Office 365 client library
But it do not provide a way to access the files and folders in other than onedrive document library.
e.g [https://my-office365-tenant.sharepoint.com/mysite/mydocumentslibrary]
However i had tried a way and it do get the files and folders other than onedrive.
I had not used any capability i created SharePointClient as given below:
var client = new SharePointClient(new Uri("https://my-office365-tenant.sharepoint.com/mysite"),
async () => await AcquireTokenAsync(AuthenticationContext, "https://my-office365-tenant.sharepoint.com"));
IPagedCollection<IItem> items = await client.Files.ExecuteAsync();
In this way i get the files of default "Shared Documents" document library inside "mysite", but i want to get the files and folders of another documents library "mydocumentslibrary" inside same site "mysite".
Can anyone please guide me how to do that or am i missing something? or there is anyother way to do this using office365 api only.
I just went through the documentation of this new API, it seems the file operation is limited to the one drive, I doubt you can get file in another document library.
To get files in other document library, as you're developing windows store APPs, you can SharePoint mobile object model or REST APIs:
Overview of the SharePoint 2013 mobile object model
Get started withthe SharePoint 2013 REST service
The APIs allows access only to default document library. Example:
OneDrive for Business: https://{tenant}-my.sharepoint.com/_api/v1.0/me
SharePoint sites: https://{tenant}.sharepoint.com/{site-path}/_api/v1.0

Resources