Showing posts with label List and Libraries. Show all posts
Showing posts with label List and Libraries. Show all posts

Monday, March 26, 2012

Labels

The labels are the function to create calculated field to ensure that important information about the document is included when it is printed, For example to insert the SharePoint Version Number. Setup an Information Management Policy on the Document library that enables Labels.

Define a Label:


Note: To enable versioning on this library: Go to Document Library > Settings > Versioning settings and choose "Create major and minor (draft) Versions Example: 1.0, 1.1, 1.2, and 2.0".
  1. Create a new Information Management Policy on the Document Library, if you have multiple Content Types select the Content Type where Version Numbers have been requested (The Default Content Type for a Document Library is Document). Go To Document Library > Settings > Information Management Policy Settings > Define Policy.
  2. There is a possibility to define it in the Content type level from the content type and not from the library.
  3. Define a new policy, check "Enable Labels". Do NOT check the "prompt users to insert a label before saving" or "printing or prevent changes to labels after they are added".
  4. Label format: Insert the following: “Version: {Version}”.  Note: {Version} is the field that will display the Version number.
  5. Modify the "Appearance" settings as necessary to design the label and Click "Refresh" to preview.
  6. Click "OK" to save.
Create a New Document
  1. Open Office Word document from the current library.
  2. In the Word Document, click the "insert" tab in the ribbon, then click "Quick Parts" in the "Text" button group. Under "Document Properties" click on "Label" to insert your SharePoint label as an Image.
  3. Save the Document, and close.
  4. Reopen the Document and you should see the label change to the actual SharePoint Version number of the Document.
  5. Now you can save it as template and for this content type.

Sunday, February 12, 2012

User Cannot Create Pages Based on Page Layout

When a user cannot create pages from a customized page layout, and the user has “Contribute” permissions, Grant the user permissions to the “Master Pages and Page Layouts” (“Restricted Read” permissions level is enough for that). This library has unique permissions and it not inherits from the sites permissions.

Collapse/Expand Is Not Working

When we have a list with a group by a choice field view, and we changed the values we might cause a little problem. After changing the values in that field, the view will show us the values in the headers, but when clicking on them it will display: “Loading…” for two seconds and will disappear without showing any items below.
The problem is when changing the values in that field, we need to change the values in the items as well.
The script searches in the list/library the exact value. If it has been changed from “1234” to “12345” it will not be a problem. But if it has been changed from “1234” to “1245”, or “12 34” or “12-34” or any other change within the value and not before or after it will cause a problem.