sharepoint-online

Is there options how to code/create workflow using SPFx?

﹥>﹥吖頭↗ 提交于 2020-01-25 12:13:20
问题 I developing web-part client-side solution using sharepoint framework. I successfully create a lists with some columns (it's list's columns not site). But now, I need to create a workflow, so is there any options, how to coding workflows using sharepoint framework and web-part client side solution? Have anybody some ideas or documentations witch could help me to moved further? 回答1: Can't create workflow in SPFx solution, you could use SharePoint add-in or Microsoft flow. SharePoint add-in

Is there options how to code/create workflow using SPFx?

倖福魔咒の 提交于 2020-01-25 12:12:21
问题 I developing web-part client-side solution using sharepoint framework. I successfully create a lists with some columns (it's list's columns not site). But now, I need to create a workflow, so is there any options, how to coding workflows using sharepoint framework and web-part client side solution? Have anybody some ideas or documentations witch could help me to moved further? 回答1: Can't create workflow in SPFx solution, you could use SharePoint add-in or Microsoft flow. SharePoint add-in

Is there options how to code/create workflow using SPFx?

大兔子大兔子 提交于 2020-01-25 12:12:15
问题 I developing web-part client-side solution using sharepoint framework. I successfully create a lists with some columns (it's list's columns not site). But now, I need to create a workflow, so is there any options, how to coding workflows using sharepoint framework and web-part client side solution? Have anybody some ideas or documentations witch could help me to moved further? 回答1: Can't create workflow in SPFx solution, you could use SharePoint add-in or Microsoft flow. SharePoint add-in

SharePoint extension command set

会有一股神秘感。 提交于 2020-01-25 08:57:05
问题 SharePoint Modern: Is it possible to add an custom action using command set for a particular list or how to activate a custom action for specific list? I am trying to develop a custom action for specific list but when I deployed in SharePoint tenant this custom action is added for all list(same type of list template). 回答1: Here is my test solution to limit command set extension to specific list. We could get current list title by this.context.pageContext.list.title . @override public

Controlling an application's API access to a SharePoint site

非 Y 不嫁゛ 提交于 2020-01-16 14:35:49
问题 I have an external program that I have scheduled to run once a day (i.e. no user interaction). This program should upload a file to a SharePoint Online site, using Microsoft Graph API. I'm able to enable this in Azure Active Directory by registering an app, and giving this app the application permission File.ReadWrite.All , then sending a PUT request to https://graph.microsoft.com/v1.0/drives/{drive-id}/items/{parent-id}:/{filename}:/content However, by granting File.ReadWrite.All , the

How to set a SharePoint list field using a pnp.sp People Picker

这一生的挚爱 提交于 2020-01-16 09:09:14
问题 I do not know the code to add the user, selected in a People Picker from the pnp.sp library. I've tried the below code example (by using State) but this I understand is not saving the users selection. private _getPeoplePickerItems() { pnp.sp.web.siteUsers.get().then((data) =>{ this.setState({ DeptContact: data }); }); } And the people picker in the render: <PeoplePicker context={this.props.context} titleText="People Picker" personSelectionLimit={3} groupName={''} showtooltip={false}

How can I update/merge Web.MembersCanShare property-value from the Sharepoint REST API

喜你入骨 提交于 2020-01-16 08:38:10
问题 GET https://microsoft.sharepoint.com/****/_api/Web/MembersCanShare returns 'true' 200 OK <?xml version="1.0" encoding="utf-8"?> <d:MembersCanShare xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml" m:type="Edm.Boolean"> true </d:MembersCanShare> then request to update to 'false' POST https://microsoft.sharepoint.com/****/_api

Read site page contents in Sharepoint using CSOM

二次信任 提交于 2020-01-14 06:50:26
问题 In my project I need to store the site pages locally. These pages may be of published or unpublished pages. I have tried with following code but unable to get contents of the page. ClientContext clientcontext = new ClientContext(url); var credentials = new SharePointOnlineCredentials(userid, SecurePass); clientcontext.Credentials = credentials; Web web = clientcontext.Web; clientcontext.Load(web, website => website.Lists); clientcontext.ExecuteQuery(); clientcontext.Load(web, website =>

How to enable JSON response for SharePoint 2013 REST APIs onpremise?

蓝咒 提交于 2020-01-14 05:32:24
问题 I am using SharePoint 2013 onprem and online version for integration purpose. While accessing REST APIs for online SharePoint, I was able to use application/json and application/xml as ACCEPT header with no issues. However, while accessing SharePoint 2013 onpremise REST APIs I could use application/xml as ACCEPT header and using application/json throwing below error: GET - http://xxxxxxx:8300/_api/web/ Header - Accept:application/json Response: { "error": { "code": "-1, Microsoft.SharePoint

Not able to call JavaScript function on onClick Event

风流意气都作罢 提交于 2020-01-14 05:26:06
问题 **I have created a custom edit form for a SharePoint online custom list. Where I have created a custom button via which I will start a Workflow. the issue is I am not able to call that function on button click. I have used a single comma also for the function call I have created a custom edit form for a SharePoint online custom list. Where I have created a custom button via which I will start a Workflow. The issue is I am not able to call that function on button click. I have used a single