Presentation is loading. Please wait.

Presentation is loading. Please wait.

Host web App web SP TFS Azur e SP TFS.

Similar presentations


Presentation on theme: "Host web App web SP TFS Azur e SP TFS."— Presentation transcript:

1

2

3

4

5 Host web App web

6 SP TFS

7

8 Azur e SP TFS

9

10 App Serve r SP

11 App Serve r SP ACS

12 Azur e SP TFS

13 Azur e SP TFS

14

15 public class DocSetEventReceiver : IRemoteEventService { public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties) { //sync } public void ProcessOneWayEvent(SPRemoteEventProperties properties) { //async }

16 //Add the remote event receiver list.EventReceivers.Add(new EventReceiverDefinitionCreationInformation(); { EventType = EventReceiverType.ItemAdded, ReceiverName = "AppWorkItemEventReceiver", ReceiverUrl = "https://devcontoso.azurewebsites.net/DocSetEventReceiver.svc", SequenceNumber = 10 });

17

18 App Serve r SP

19 Page iframe postMessage('getItemDetails‘…) postMessage(‘{ listId: …, docSetId: … }‘…)

20 Azur e SP TFS Page iframe

21 Azur e SP TFS

22

23 //Get the webpart manager for the page and insert the web part File homepage = ctx.Web.GetFileByServerRelativeUrl(pageUrl); LimitedWebPartManager manager = homepage.GetLimitedWebPartManager(PersonalizationScope.Shared); WebPartDefinition scriptEditorDef = manager.ImportWebPart(ClientWebPartXml); ctx.Load(scriptEditorDef.WebPart); manager.AddWebPart(scriptEditorDef.WebPart, "WebPartZone_Top", 1);

24

25

26

27

28

29

30 MySPC

31


Download ppt "Host web App web SP TFS Azur e SP TFS."

Similar presentations


Ads by Google