|
|
Browse by Tags
All Tags » Tips and Tricks (RSS)
Showing page 1 of 3 (29 total posts)
-
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" ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
1
|
|
|