Skip Headers
Oracle® Universal Content Management
10g Release 4 (10.1.4)
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next

Making a Fragment Library Read-Only

Making a fragment library read-only can be very useful, especially if you're working with multiple designers in the same organization. The sample fragments that come with Site Studio are all stored in read-only fragment libraries to prevent accidental erasure or overwriting.

By making your fragment library read-only:

To make a fragment read-only, perform these tasks:

  1. Log onto the content server and search for the fragment library.

  2. Open the Content Information Page for the fragment library.

  3. Right-click the Web Location file (with the .xml file extension), choose Save Target As, and save it to your system.

  4. Check the fragment library out of the content server and download the native file (with the .zip extension).

  5. Open the .xml file in a text editor and add the text readonly="true" to the root element <fragments> tag. The resulting tag should look like this:

    <fragments name="SS_Fragments" readonly="true">
    
  6. Save and close the file and then check both files back into the content server, specifying the .zip file as the Primary File and the .xml file as the Alternate File.

    It may be necessary to refresh the Toolbox in Designer to see the read-only fragments.

As an alternative to these steps, you could also use Designer's Download Fragment Library feature, extract the .xml file out of the downloaded zip, re-archive the zip, and use Designer's Upload Fragment Library feature to return the library to the content server. (See Uploading and Downloading Fragment Libraries)