Comunidade Bloggers |create|it|

Welcome to Comunidade Bloggers |create|it| Sign in | Join | Help
in Search

Browse by Tags

All Tags » Tips and Tricks   (RSS)
Showing page 1 of 3 (29 total posts)
  • SharePoint Tip #27: Choice Columns and DataSheet Views

    Using features to create Choice site columns is pretty straightforward (check this post for additional information). See below a sample feature element for that purpose. <Field     ID="{538c71e4-8650-4ce7-b021-920effa66346}"     Type="Choice"     ...
    Posted to André Vala (Weblog) by andrevala on October 30, 2011
  • SharePoint Tip #26: Comments in Content Type Definition

    There is an issue with SharePoint 2010’s CAML parser that causes SharePoint to ignore fields in a Content Type definition. When defining a Content Type feature element, avoid placing comments inside the <fieldrefs> element as that will cause SharePoint to create the Content Type disregarding all the fields, even though the XML is well ...
    Posted to André Vala (Weblog) by andrevala on August 6, 2011
  • SharePoint Tips #25: Beware of User Profile Import

    Among SharePoint 2007’s User Profile features, one of the most useful is the Profile Import. This feature allows you to import existing user accounts from Active Directory, an LDAP server or the Business Data Catalog, to the User Profile Store. Even better, it allows you to map the User Profile properties to user account properties (from Active ...
    Posted to André Vala (Weblog) by andrevala on January 31, 2009
  • SharePoint Tip #24: Changing a Web Site's Navigation Settings

    Changing a web site's navigation settings is pretty easy using the SharePoint user interface. You just click the Site Actions button, select the Site Settings option, and click on Navigation. But how do you do it programmatically? Most navigation options on a SharePoint web site are manipulated through the SPWeb object's property bag. Set the ...
    Posted to André Vala (Weblog) by andrevala on December 6, 2008
  • SharePoint Tip #23: Creating a Personal Site

    The User Profile is the central concept behind the personalization features of SharePoint (MOSS only). In addition to the User Profile, each user can have a My Site. A My Site is composed of:A Profile Page that shows the user profile data, according to the user viewing it and the privacy options of each profile field. You can find that page ...
    Posted to André Vala (Weblog) by andrevala on October 18, 2008
  • SharePoint Tip #22: Create a User Profile

    The best way to create SharePoint User Profiles is to import them from somewhere (Active Directory for instance). This is specially true if you want to create a lot of them at once. However, if you really want to do it manually, one at a time, you can. Just do it like in the snippet below.// open a site collection using (SPSite site = new ...
    Posted to André Vala (Weblog) by andrevala on October 16, 2008
  • SharePoint Tip #21: Importing User Profiles

    One of the best things of SharePoint's User Profiles, is that the profile data can be imported from several data sources (Active Directory or other LDAP directories, Databases and web services). It gets even better since you can schedule these imports to be performed automatically every given period of time. But what if you want to start a ...
    Posted to André Vala (Weblog) by andrevala on October 15, 2008
  • SharePoint Tip #20: Get User Profile

    User Profiles are a central concept to Office SharePoint Server 2007. They store all the information about the SharePoint users in a central location, the User Profile Store, allowing that information to be indexed and searched. The User Profile store can be populated and synchronized with several data sources:Active Directory directory ...
    Posted to André Vala (Weblog) by andrevala on October 14, 2008
  • SharePoint Tip #19: Using JavaScript in Body OnLoad Event

    When developing web parts or other controls that use JavaScript, it's quite common to need to call some function on the Body OnLoad event of the web page. The problem with this is that, in SharePoint, the Body element is in the master page and not in the control, so doing this is can be tricky. Fortunately, the SharePoint team gave the ...
    Posted to André Vala (Weblog) by andrevala on December 16, 2007
  • SharePoint Tip #18: Reading from and Writing to a User or Group column

    Each field type has a different way to be read from and written to. The most used ones (single line of text, multiple lines of text, number, currency, date and time and yes/no) are easy to use because SharePoint's object model makes it very simple to set its value: item["MyTextField"] = "My Text Value";However, some of the ...
    Posted to André Vala (Weblog) by andrevala on November 11, 2007
1 2 3 Next >
Powered by Community Server, by Telligent Systems