DCSIMG
August 2010 - Posts - Cizi

Cizi

From the desktop of SharePoint girl

August 2010 - Posts

Editing Page in SharePoint Designer 2010 with Yellow Marked Code (Advance Mode)

I have tried to edit a page after I have detach it from the page layout and got a code that was marked in yellow. In addition, the Ribbon was missing some of the tabs. I was unable to edit the code on the page.

1 yellow code

My colleague Armine, have solved the problem: Click on “Advance Mode” button that is located on the Ribbon.

2 after clicking on advance mode

Once you have clicked it, you’ll see the other tabs and you will be able to edit the page.

Connect to another library in SharePoint Designer 2010

Remember this?

2007Connect to another library

“Connect to another library” from SharePoint Designer 2007 allows you to display data from another sites. It seems to disappear from SharePoint Designer 2010. The only workaround I found is detailed here.

Here are quick steps according to this source, to show data from another sub site on your SharePoint site:

Open SPD 2010 in the site you would like to display the data view in.

Click on “Data Sources” (1) then click “SOAP Service Connection” (2).

In the Data source properties window  insert the URL address of the site, in which your target list / library is located (3).

In the end of the web address add “_vti_bin/Lists.asmx” (for example – http://server/site/_vti_bin/Lists.asmx).

4 connect to web service

Click “Connect Now”. Under operation chose “GetListItems”.

4 connect to web service2

Now, we need listName & viewName - Go to the view you would like to display – there you can determine which fileds you will see in your data view. Click “modify this view”.

1 modify this view

Drill down to the bottom of the page, where you will find the list ID and the view ID.

2 view list and view id

Now, you need to decode the URL, you can do it with the help of this site.

3 url decoder

Back to the data source properties window, fill the fields listName &viewName according to the URL address you decoded above.

Click OK.

6 view id

Insert the data into your page: detach your page from its layout.

8 deatach from page layout

Click “Insert” tab > Data View > choose your web service data source:

9 enter data view of lists

now you can edit your data view as usual.

10 the data view

See it in the browser:

11 from the broeswer