In the world of SharePoint there are various types of Professionals:
All the companies won't be able to accommodate all these Professionals. In such cases an Administrator will do the job of others and vice-versa.Pages in SharePointAs you know, each page in SharePoint is constructed using a lot of server-side processing. Some parts of a page will be in the file system, some come from the content database and there will be a lot of role-specific content too.The following is the URL of my home page:http://hp/SitePages/Home.aspxThe following is the URL of my list page:http://hp/Lists/Expense/AllItems.aspxSharePoint DesignerWe can use SharePoint Designer to edit the page.The editing operation can include:
How to edit the PageUse the following procedure to create a sample of editing a page.Step 1: Open SharePoint DesignerStep 2: Open SharePoint SiteClick on the "Open Site" button and enter your Site URL.You will get to see the site opened as shown below:Step 3: Add the following codeWe are trying to edit the AllItems.aspx page of a list named Expense. Some pages won't exist until it is edited for the first time.Go to the "File" menu and click the "Open" button.Enter the URL of the page as in the following:http://hp/Lists/Expense/AllItems.aspxClick the "Open" button. You will get the following page in Design Mode.Click on the "Code View" tab on the bottom. You will see the following code view.Please note that there are certain area colored in Orange. These areas are coming from the site definition and in order to edit that you can use the "Advanced Mode" button from the tool bar. Scroll down to the end and enter the following code in the highlighted section.Save the changes to the file.Step 4: Test ChangesRefresh your list, thern AllItems.aspx and you can see the change is reflected.In the same way you can add <script> tags and <style> tags into the HTML pages. There are specific sections you need to study, for advanced manipulations. I recommend SharePoint Designer Certification or Course to do that.When to revert the Changes?We can Revert the changes on scenarios like:
How to revert the Changes?You can choose "SharePoint Designer" > "Open Site" > "All files".In the page that appears on the right, choose "Lists" > "Expense". You will get the following page.Click "AllItems" > "Toolbar" > "Reset to site definition".Confirm the Prompt and Save Changes. Your file is now reverted back.SummaryIn this article we have explored how to Edit and Revert a SharePoint Page using SharePoint Designer.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: