Sharepoint Publishing Meta Data Accessors

Posted by (JavaScript must be enabled to view this email address) on Fri 19 Dec 2008

You’ve spent the past four days writing the best code in the world to interface with MOSS 2007 and its publishing features. You run it and Argghhhhh! Whats going on, all your publishing data is not there!

Chances are you have done something like this to get the properties:
VB


dim startDate as DateTime = Convert.ToDateTime(item.Properties(“PublishingStartDate”));

C#


DateTime startDate = Convert.ToDateTime(item.Properties[“PublishingStartDate”]);

 

Instead, try accessing the properties like this:
VB


dim startDate as DateTime = Convert.ToDateTime(item(“PublishingStartDate”));

 

C#


DateTime startDate = Convert.ToDateTime(item[“PublishingStartDate”]);

Now get back to that killer code and get it fixed!

Your Comments

  1. Posted by Mauro Masucci on 10/21 at 02:21 PM

  2. unable to provision the project access website as it was failing with the error message:

    Need evening dresses,or gowns? Formal evening dresses from dresses shop, evening gowns from dress4sale,Laundry and dress4sale
    Wedding dresses
    evening dresses
    evening dresses sale
    Dresses sale
    Wide collection of prom dresses, evening dresses and gowns, cocktail dresses, summer dress, 2010 summer dresses,
    little black dresses, beaded dresses
    Abercrombie & Fitch
    Abercrombie
    Abercrombie & Fitch clothes
    replica watches
    Abercrombie Fitch
    Abercrombie Fitch UK
    ¡°The Project Application exist

    Posted by Mauro Masucci on 11/06 at 12:15 PM

  3. I can’t believe how much of this I just wasn’t aware of. Thank you for bringing moreinformation to this topic for me. I’m truly grateful and really impressed.
    celebrity lace wigs
    cheap lace wigs
    front lace wigs
    full lace wigs
    lace wigs
    remy lace wigs
    synthetic lace wigs
    anime cosplay
    cosplay
    cosplay costumes

    Posted by Mauro Masucci on 12/18 at 02:10 AM

  4. Posted by Mauro Masucci on 12/20 at 09:06 AM

  5. You may even want to wear a silk scarf with your outfit, which makes it look even more innocent and understated in nature and one can feel comfortable in one’s outfit, while looking sexy at the same time without even trying to.

    Posted by Mauro Masucci on 12/20 at 10:57 AM

  6. Posted by Mauro Masucci on 12/20 at 04:28 PM

  7. They are having a Breaking Dawn party, at my local bookstore. It’s wedding themed, and we are supposed to wear best gowns for the bridesmaid gown contest. I was wondering if anyone had suggestions as to what i should where how i should do my hair and makeup, and accesories. Please help me!!!
    lingerie

    Posted by Mauro Masucci on 12/22 at 04:26 AM

  8. Party Dresses Beach Wedding Dresses White Wedding Dresses mother of the bride formal gowns, apparel, outfits in Austin, Texas. Discount modest mother of the groom dress in petite Informal Wedding Dresses Classic Wedding Dresses Fashion Wedding Dresses Elegant Wedding Dresses Sexy Wedding Dresses ordered 4 dresses to be used as bridesmaid dresses in a wedding. I have just received them and they are more beautiful than I imagined. The dresses were made with great skill and craftma Sweet Wedding Dresses Colored Wedding Dresses Red Wedding Dresses Wedding Dresses With Embellishment What fabric is this dress made Silk Wedding Dresses Corset Back Wedding Dresses Simple Wedding Dresses Bridesmaid Dresses What color is shown on the model? Is it silver, taupe, gray? It’s hard to tell because of the Taffetta material. And will this dress be available for a couple months? Plus Size Bridesmaid Dresses Colored Bridesmaid Dresses

    Posted by Mauro Masucci on 12/25 at 02:25 AM

Commenting is not available in this section entry.
← Back to Blog Homepage

About our Blog

Brantas Limited specialise in Dynamics CRM, SharePoint and System Integration using the Microsoft Platform. We are all experienced developers in various fields with our own specialities complementing those of our team.

We have been working with SharePoint since 2003, including Installation and Administration, Migration, Development and Support.

Related Solutions

    No Related Posts Found

Related Case Studies

    No Related Posts Found