In a Confluence page, you can show a list of Jira items via a JQL query.
I'm looking at migrating to VSTS work items and Sharepoint. In Sharepoint, is it possible to show a list of VSTS work items on a page? How to do this?
There is Work Items Rest API that could retrieve work item data from VSTS, so you can access external data with REST in SharePoint.
Related
We have a SharePoint subscription and an Azure subscription. I want to make a web app that is hosted in Azure, but the database for the app would basically be SharePoint lists. I'm looking up documentation on how to do this, but I'm just finding how to make "web parts" and they keep assuming I want to build my website inside SharePoint rather than outside.
How do I access a user's SharePoint lists from outside of SharePoint?
The easy part is the request for data. Use the SharePoint REST API. The harder part is authentication. How is the Azure app related to the SharePoint app? Same user login?
A sample REST call for select columns from a list:
https://yourDoamin/sites/yourSite/_api/web/lists/getbytitle('My List')/items?$select=Title,Price,Qty
The REST API also support filtering and sorting along with insert, update and delete.
A filter example:
https://yourDoamin/sites/yourSite/_api/web/lists/getbytitle('My List')/items?$select=Title,Price,Qty&$filter=Title eq 'Toys'
If you would like to experiment with the REST API from your SharePoint site, I have "REST tester" you can add to a Content Editor Web Part.
https://github.com/microsmith/SharePointRESTtester
I want to upload my documents to my SharePoint site using Graph API. I followed the instruction in these posts and I'm able to upload my docs to Sharepoint site.
How to create SharePoint list item with Microsoft Graph API?
https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/driveitem_put_content
However, I want to update some values of uploaded documents in the Document Library items but I cannot find any document to do that. Please advise me in this situation.
Notice: I found the solution by this post.
How To Retrieve Custom Columns For DriveItems in MS Graph
I would like to dynamically create a list using Flow in SharePoint online.
I don't see that there is an option to create a new list only new item or new file.
Does anyone know if this is possible?
Unfortunately, It seems the Flow can't provide a option to create a new list currently.
As a workaround, we can create a workflow and create list using REST API.
Reference: How To Create A List Using HTTP Web Service In SharePoint Designer 2013 Workflow
thanks.
what i ended up doing is using an azure function and set that as a custom connector that would then appear as an action in flow
i used this:
https://medium.com/plumsail/how-to-call-sharepoint-from-microsoft-flow-with-a-help-of-an-azure-function-a5740794341
and then changed the logic to crearte a list instead of a folder
Is it possible get list and items of a subsite in SharePoint using the Microsoft Graph?
There is a way to get a subsite but not the items of a subsite.
Once you have a subsite, you can make subsequent queries by using the identifier of that subsite.
For instance, if I fetch https://graph.microsoft.com/v1.0/sites/root/sites, I can see the subsites available, each of which has an id.
I can then make a subsequent query to https://graph.microsoft.com/v1.0/sites/<subsite id>/lists to fetch the lists for this sub-site.
It is also possible to use OData query options and request the 'lists' for each sub-site expanded in the request to get subsites. I can make a call to https://graph.microsoft.com/v1.0/sites/root/sites?$expand=lists and see entries for each of their sub-sites, and also their lists.
We are creating a Sharepoint webpart that enable searching a Sharepoint site contents using Microsoft Graph Api. I am able to get the Lists and subsites
using graph Api, but not sure how to search any content at site level.
Looking for any pointers if this is even achievable.
Below are some of the API calls that work-
https://graph.microsoft.com/v1.0/sites/tenants/lists?select=id,name
https://graph.microsoft.com/v1.0/sites/tenants:/sites/sitename:/sites?search=subsitename
https://graph.microsoft.com/v1.0/sites/tenants:/sites/sitecollection:/lists
here is an example filtering on a list items
https://graph.microsoft.com/v1.0/sites/myThing.sharepoint.com,ffffffff-ffff-ffff-ffff-ffffffffffff,12345678-1234-1234-1234-123456789012/lists/25dd5a71-69a9-44f8-b60f-ed16718eae54/items?expand=fields(select%3DTitle,ID,ContentType,myLookupID)&top=1000&filter=fields/ContentType eq 'My Page'