Presentation is loading. Please wait.

Presentation is loading. Please wait.

November 11, 2011. MCT, MCITP, MCTS, MCP SharePoint Architect for Planet Technologies. Working with SharePoint since 2003. – Administrator / Developer.

Similar presentations


Presentation on theme: "November 11, 2011. MCT, MCITP, MCTS, MCP SharePoint Architect for Planet Technologies. Working with SharePoint since 2003. – Administrator / Developer."— Presentation transcript:

1 November 11, 2011

2 MCT, MCITP, MCTS, MCP SharePoint Architect for Planet Technologies. Working with SharePoint since – Administrator / Developer – Architect / Implementer – Troubleshooter / Brander

3 SharePoint familiarity discussion. Introduction to REST Connections. Create an Address List from a predefined content type. Tweak and modify the list to meet out needs (Demo). Use SharePoint Designer 2010 to add a Data View Web Part to display our Address on a new Web Part page (Demo). Use SharePoint Designer 2010 to create a REST connection to display the current weather in Beverly Hills, CA (Demo). Create a data connection to display the weather of the zip code from our Address List (Demo).

4 Really Expensive SharePoint Technology? Stands for Representational State Transfer. REST is not a protocol. At its most basic element, REST is a way for a client to retrieve data from a server over http. SharePoint has a RESTful web service which will allow us to grab data from lists and libraries.

5 To display the weather at a location that is stored in a SharePoint list.

6 The first thing that we will need to accomplish is to create a list to store our address. Click on Lists

7 Click on Create

8 Click on Lists 1- Select Lists. 2- Click on the list type. 3- Add a name (No spaces, Well fix this in a bit). 4- Click on Create when ready!

9 Now that our list has been created, lets tweak it for our requirements. Click List Settings

10 2- Set the content type. 1- Adjust the Title (add the spaces back). Not part of this demo…

11 1- Adjust the Title (add the spaces back).

12

13 No %20 in the URL User friendly name.

14 Default content type. We want to add an existing content type.

15 1- Select List Type from Drop Down. 2- Add Contact

16 1- Select List Type from Drop Down. 2- Add Contact

17 OTB Content Type Columns.

18 Our Available Content Types. Change the Default Content Type.

19 Settings Before

20 Settings After

21 Change Last Name to Location

22

23 Click OK to finish

24 What Columns do we really need?

25 Lets hide the ones we do not!

26 Lets edit the View

27

28 Finally, lets go ahead and Add a new item! Click Add new Item

29

30

31

32

33 Lets open up Designer and create a page to hold our information. 1- Open your site. 2- Select Master Pages. 3- Select the v4.master 4- Right click and select New from Master Page.

34 1- Save Page. 2- Ignore warning and click Yes

35 1- Within the PlaceHolderMain, select the Common Content Tasks. 2- Click Create Custom Content

36 1- Click inside of the PlaceHolderMain. 2- Insert a 4x4 Table.

37 1- Click inside the Upper Left table cell. 2- Insert an Empty Data View.

38

39 1- Ctrl + Click in order. 2- Insert as a Single Item View from the pull-down menu.

40 Our list data is finally inserted!

41 Remove Paging Paging

42 Remove the first column

43 Format Address

44

45 Click in the 3 rd table row.

46 Add New REST Connection 1- Select Data Sources. 2- Click REST Service Connection.

47 1- Name your connection. 2- Add URL. 3- Modify Parameters.

48 1- Modify Parameter. Our updated Properties.

49 Insert REST Feed Data View into 3 rd table row.

50 With the Weather Web Part selected, click Add/Remove Columns.

51 Lets remove the Displayed Columns.

52 Delete the description row (right click in cell).

53 Change the description Format type to Rich Text.

54 Ignore the Warning! Our updated page!

55

56 1- Select the address web part. 2- Add Connection

57 12 3

58 45

59 67

60 Add a hyperlink to the company web site 1- Select the company name (Planet Technologies) 2- Format Item as Hyperlink 3- Ignore Confirmation!

61 Edit Hyperlink Address 1- Click the function button 2- Select Web Page

62 Update Address

63 Open hyperlink in new page 1- Press the Target Frame button. 2- Select New Window as Target Frame.

64

65

66 Important SharePoint REST Starting Point Reference Information Accessing SharePoint 2010 Lists using RESTful Service.- Referencing lists from external site collections – Cross-site collection lookup with REST and the DVWP!- collection-lookup/http://hamishking.wordpress.com/tag/cross-site- collection-lookup/ SP2010: REST Data Sources within SharePoint Designer- Working with Data Sources and Web Services connections in SharePoint Designer 2010 (Has a list of all web services)- Overview of using REST in SharePoint Lab (This is very cool) Adding Dynamic Maps to Contact Forms with REST Web Services in InfoPath Background Information Representational state transfer- QuickStudy: Representational State Transfer (REST)- REST Web Service-

67 Blog: PCfromDC.blogspot.com


Download ppt "November 11, 2011. MCT, MCITP, MCTS, MCP SharePoint Architect for Planet Technologies. Working with SharePoint since 2003. – Administrator / Developer."

Similar presentations


Ads by Google