serge's profileSerge Luca (Sharepoint M...PhotosBlogLists Tools Help

Blog


    April 05

    Reusable content in MOSS

    It is strange, but I’ve met many Sharepoint guys  who had no idea of what Reusable Content was.

    Hands on !

    Let’s go to our collaboration portal and move the home page to edit mode :

    image

    Edit the content of one of the field and the Rich Html editor will show up :

    image

    Move the cursor to the following button in the toolbar :

    image

    We can insert content defined in a central location which is actually the following list (select view All Site content ) :

    image

    The Reusable content list allows 2 content types : Reusable HTML and Reusable Text :

    image

    Let’s create a Reusable HTML object :

    image

    image

    Click on the Edit Content option, add some text :

    image

    You can notice the checked Automatic Update option in the previous picture.

    Let’s get back to our home page and add the content in our field.

    image

    Select the content, Click on OK and publish the Homepage; you will get this :

    image

    If you change the Reusable content, all the references will be updated

    image

    image

    Easy, isn’t it ? I know that some people would like to get reusable content across several site collections and in the master page :-)

    April 04

    Sharepoint : Finding a stsadm option

    I just discovered this; you want to find a stsadm option containing a keyword, like “feature” for instance.

    Type this:

    image 

    and you get this

    image

    April 02

    Sharepoint : how to change the column width of a list

     

    I had to do it this evening : here is how to proceed :

    Let’s start with an existing list in Sharepoint, a task list for instance :

     

    image

     

    Start Sharepoint Designer and open up the corresponding view (AllItems.asxp, here)

    image

    Make sure the view shows up in design mode :

    image

    Right Click anywhere in the view and select the menu option “Convert to XSLT Data View”:

    image

    The DataFormWebPart will display the view;

    image

    You can now visually modify the list width :

    image

    Save the page; refresh your page in the browser.