Показать сообщение отдельно
Старый 23.09.2021, 11:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,486 / 846 (79) +++++++
Регистрация: 28.10.2006
crmtipoftheday: Tip #1417: Power Excel in SharePoint
Источник: https://crmtipoftheday.com/1417/powe...-in-sharepoint
==============

You’ve seen us in Tip #1415 doing some Microsoft Graph abracadabra to call Excel functions directly from Power Automate. To do that we use Excel spreadsheet located on OneDrive for Business. Documentation mentions in passing that “You can use Microsoft Graph to allow web and mobile applications to read and modify Excel workbooks stored in OneDrive for Business, SharePoint site or Group drive” but none of the examples uses SharePoint, everyone is obsessed with /me/drive/. Brian asks a fair question:
Is it possible to do with an excel document stored in a SharePoint document library?

Brian
Lo and behold. The syntax is similar except instead of /me/ you have to point to the site, i.e. /sites/root/lists/{list-id}/ (if your list is on the root site). For example this will calculate the average:

POST https://graph.microsoft.com/v1.0/sit...econtent-type: Application/Json authorization: Bearer {access-token} { "values": [1,2,3,4,5]} Cover photo by salvatore ventura from Pexels



Источник: https://crmtipoftheday.com/1417/powe...-in-sharepoint
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.