문제

I want to retrieve the user properties like Group,Email,Manager from User Profile using Web service in SharePoint Designer 2013 workflow. I trying with Call HTTP Web Service Action. Please explain me how to achieve this in detail?.

도움이 되었습니까?

해결책

  1. Create EndPoint workflow variable with value [%Workflow_Context:Current Site URL%]]/_api/Web/SiteUserInfoList/items?$filter=(ID eq [%Workflow_Context:AssignedTo%])

  2. Add Build dictionary action to get the the response in a JSON format you will have to update the Accept and Content-Type http headers of your Rest http call; more specifically:

Accept : application/json;odata=verbose 
Content-Type :application/json;odata=verbose:
  1. Go to property of call HTTP web service action >> set dictionary output to RequestHeaders parameter as shown in image.

    enter image description here

  2. Get result from variavle as shown in image enter image description here

    Reference Link: https://sergeluca.wordpress.com/2013/04/09/calling-the-sharepoint-2013-rest-api-from-a-sharepoint-designer-workflow/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top