Sharepoint online Flow how to create a sharepoint List - sharepoint-online

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

Related

How do I get started from reading SharePoint list information from outside of SharePoint?

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

Showing list of VSTS work items in Sharepoint document

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.

How to retrieve data from SharePoint?

I have a web application. When the user clicks on a button in my web application, I'd like to retrieve data from SharePoint on behalf of the user. I have read quite a few articles on SharePoint but I'm still not sure how to proceed. Should I create a provider hosted SharePoint App and use the SharePointREST API? Thank you in advance for your help.
You don't need to create a Provider to use the SharePoint Rest Services.
Quoting http://msdn.microsoft.com/en-us/library/office/jj164022(v=office.15).aspx :
One advantage of using REST is that you don’t have to add references to any SharePoint 2013 libraries or client assemblies. Instead, you make HTTP requests to the appropriate endpoints to retrieve or update SharePoint entities, such as webs, lists, and list items. See Get started with the SharePoint 2013 REST service for a thorough introduction to the SharePoint 2013 REST interface and its architecture.
Inside the page you will find videos and code examples that will help you to connect and execute operations.
It's Correct. Data in SharePoint is Stored in Lists or Libraries (to files).
You can use the Client Object Model, to get data remotely from a SharePoint Server (on-premise or Online). The Client Object Model can be used through Assemblies (DLL files) or REST services provided by SharePoint. Generally you should know the location of the data you are going to get, that is, as I initially mentioned, the data in SharePoint are stored in Lists or Libraries, therefore you must know the name of the List or Library Additional Site or Sub-site of the List or Library is.
If the name of the list where the information is stored is "employees" and the HR website, the URL could be formed as follows:
http://spserver.company.com/HR/Employees
For REST services, simply complete URL of the list you want to see, so that you retrieve the information from the list. If you want to apply filters, sorting, to retrieve specific columns, you must do it through CAML queries which the add on REST service call.

How do I create a service endpoint CRM 2013

CRM 2013 On-Premise
Hello,
I need to display a calendar of events. The information I need all comes from our custom "event" entity.
My first thought was to use this as an excuse to do something I haven't done before and add a new service endpoint. That being said I didn't find anything in the sdk or via Google.
So stumbling around in the dark I see that in the plugin registration tool I can register a service endpoint just like I do a workflow or plugin.
So do I just create a service endpoint like any other or are there special considerations?
Thank You
Because actions don't work in offline mode, I use a dummy entity "ServiceJSON" with some input parameters fields and 1 output param and a plugin register on Retrieve for this entity.
I fill the output param with my json via the plugin.
To call the "service", I just try to retrieve this entity in js (with a fetchxml) with my input parameters and I read the output :)
A new endpoint cannot be created - you have to work with the standard CRUD messages - those are available for every entity.
2013 introduced Actions which are basically custom messages: Power Objects has an intro.
A custom workflow activity can be added to an action in the workflow designer in the same way that a custom workflow activity can be added to a workflow in the workflow designer.

Is it possible to create a list in WSS 3.0 based on a custom template using SharePoint web services?

I want to create a SharePoint list using SharePoint web services (instance is SharePoint Services v3.0). That list should be built from the custom list template that I have created previously. Browsing through MSDN documentation resulted in the following resolutions:
services.ListsService.AddList(title, description, templateID);
or
services.ListsService.AddListFromFeature(title, description, featureGUID, templateID);
Now, if we take a look at the first implementation, there is a problem as the templateID doesn't exist for my custom template - it refers to the default ones instead.
The second implementation is no good either as I need the templateID again, but I also need the feature GUID which I have no idea how to get. Could anyone help please? Thanks.
It has been confirmed to me from people from Microsoft that, unfortunately, it is not possible to utilize features to create a SharePoint list using SharePoint web services. It can be either done by developing custom web service, or by using Object Model.

Resources