Programming4us
         
 
 
Sharepoint

Sharepoint 2010 : Use the Text Editing Control in a Page (part 1) - Add a Hyperlink

12/13/2010 2:57:31 PM
Some pages have text editing controls embedded in them. This is true of all wiki pages and most publishing pages. You can type rich text in these controls, including pictures, videos, links, tables, and even web parts. The following sections explain how you can use this type of control to add or change these elements.

Edit and Format Text

To edit text in a text editing control, simply click anywhere in the control. When you do that, the ribbon switches to the Editing Tools ribbon, with the subribbon Format Text selected, allowing you to format the text as required (see Figure 1).

Figure 1. The Format Text subribbon of the Editing Tools ribbon allows you to set formatting for the text in a text editing control.


You use the ribbon and control as you would use any word processor; for example, to make part of the text bold, highlight it and click the Bold button (labeled B).

Add a Hyperlink

To add a hyperlink to text, highlight the part of the text that you want to make a hyperlink and switch to the Insert subribbon of the Editing Tools ribbon, as shown in Figure 2. In this ribbon, you can either click the Link button or open the menu under it to reveal the From SharePoint and the From Address options, as shown in Figure 2.

Figure 2. The Link button’s menu.


Selecting the From SharePoint option or just clicking the Link button opens a dialog that enables you to choose where the hyperlink will link to (see Figure 3). In this dialog, you are presented with the content in the current site, and you can navigate to content in subsites. You can double-click any site, list, or library to view what is in it, or click a site, a list, a library, or the items in them to add the link to the selected item to the Location box at the bottom of the dialog. Click OK to close the dialog, and the link is added to the text.

Figure 3. The dialog for adding a hyperlink from SharePoint.


Selecting the From Address option shows a much simpler dialog that asks you for the text to display for the link and the address that the user will be directed to when clicking on it (see Figure 4).

Figure 4. The dialog for adding a hyperlink from address.


After you have added the link, clicking on it in the text editing control allows you to switch to the Link Tools ribbon (see Figure 5). Here you can either remove the link or edit its properties (including the description that is shown when a user hovers over the link). You can also configure how it should behave, such as whether it should open in a new tab (or a new window) and whether it should show an icon next to the text to further signify that this is a link. You can change the icon’s image later (see the following section for information about changing existing pictures).

Figure 5. Editing a link using the Link Tools ribbon.



Other -----------------
- Working with the SharePoint 2010 Management Shell (part 9) - Performing Basic Administrative Tasks
- Working with the SharePoint 2010 Management Shell (part 8)
- Working with the SharePoint 2010 Management Shell (part 7) - Using Parameters
- Working with the SharePoint 2010 Management Shell (part 6)
- Working with the SharePoint 2010 Management Shell (part 5) - Using Verbs
- Working with the SharePoint 2010 Management Shell (part 4) - Understanding Properties and Methods
- Working with the SharePoint 2010 Management Shell (part 3) - Working with Objects
- Working with the SharePoint 2010 Management Shell (part 2) - Understanding cmdlets
- Working with the SharePoint 2010 Management Shell (part 1)
- SharePoint 2010 : Edit the Contents of a Page
- SharePoint 2010 : Change the Page Layout of a Publishing Page
- SharePoint 2010 : Authoring Pages - Edit the Properties of a Page
- SharePoint 2010 : Authoring Pages - Create a New Page (part 2)
- SharePoint 2010 : Authoring Pages - Create a New Page (part 1)
- SharePoint 2010 : Managing Systems Remotely with WinRM
- SharePoint 2010 : Installing Windows PowerShell
- SharePoint 2010 : Using Windows PowerShell: The Basics
- SharePoint 2010 : Modify a View
- SharePoint 2010 : Create Mobile Views
- Uninstalling SharePoint 2010
 
 
Most View
- Windows 7 : Working with Registry Entries (part 3)
- BizTalk 2010 Recipes: Business Rules Framework - Creating and Testing Rules
- Security in Cloud Computing (part 4) - Audit and Compliance
- Exchange Server 2010 : Upgrading from and Coexisting with Exchange Server 2007 (part 1)
- Exchange Server 2010 : Planning Cross-site Failovers (part 1)
- Exchange Server 2003 : Virtual Servers - Configuring Authentication
- Windows Phone 7 : Adding GPS Info to Pictures
- Protecting SQL Server Data : Implementing Cell-Level Encryption
- Performing Administrative Tasks Using Central Administration (part 25) - Upgrade and Migration
- Exchange Server 2010 : Designing and Implementing Transport Rules
Top 10
- Developing an SEO-Friendly Website : Keyword Targeting (part 2)
- Overview of Internet Explorer 8 (part 1) - Defining IE8 Accelerators
- LINQ to Objects : How to Return Elements When the Result Is a Sequence (Select Many)
- Cloud Security and Privacy : Regulatory/External Compliance (part 1)
- CSS for Mobile Browsers : Where to Insert the CSS (part 2) - Media queries
- Windows 7 : Windows Sound Recorder & Volume Control
- iPad SDK : PDF Generation
- The Art of SEO : Content Optimization (part 2)
- Mobile Game Networking Essentials : Multiplayer Game Basics & Network Game Problems and Solutions
- Windows 7 : Manage Your Network - Creating a Homegroup