in
  • Thu

    SharePoint Update List WS

    Good articles on updatelist. 1. http://panvega.wordpress.com/2007/09/15/consuming-listsapsx-webservice-from-sharepoint/ 2. http://blogs.msdn.com/harsh/archive/2006/08/03/687759.aspx
  • Wed

    deploy dll to the bin folder

    1. Set Output path of the projects (Project in which you are keeping webpart control classes) to the site bin folder. You can find the path by navigating to C:\Inetpub\wwwroot\virtual directory\port number\bin 2. Build the solution and make sure it is compiling successfully. 3. Add a safe control entry to the web config file. Do not mention public key token. Do not strong name the project. 4. That's it, your code is deployed in the site's bin directory and its information is located in the...
  • Fri

    Formula for Calculated Fields

    http://office.microsoft.com/en-us/sharepointtechnology/HA011608661033.aspx?pid=CH011711541033
  • Fri

    include list data from other columns of other

    I have a list of Projects in SharePoint called as "Projects" and list contains following columns: 1. Project Name 2. Project Manager 3. Status I want to make another list called "Project Milestones" where one of the fields in this list would be the name of the Project from the "Projects" list. Is there a way to have this be a drop down that points to the "Project Name" field from the "Projects" List? Of course, yes! We can pull data from other lists...
  • Thu

    Ajax snippet

    <input id="ctl00_m_g_586e8380_969b_4279_b580_7006e04a96da_ASB_SS_scb_0_15" type="checkbox" name="ctl00$m$g_586e8380_969b_4279_b580_7006e04a96da$ASB_SS_scb_0_15" /> <table><tr><td id="tempTD"> Hello World! </td></tr></table> <script type='text/javascript'> var inputs = document.body.getElementsByTagName('input'); var checkbox = inputs["ctl00_m_g_586e8380_969b_4279_b580_7006e04a96da_ASB_SS_scb_0_15"...
  • Thu

    Active Directory Management tool

    http://manageengine.adventnet.com/products/ad-manager/download.html Allows admin to add AD attributes, create new users with new attributes, eidt user template. ... Once user's new attributes have been created, the AD schema needs to be updated: http://support.microsoft.com/kb/285172
  • Fri

    DataView Webpart with datalist

    A tutorial: http://msdn.microsoft.com/en-us/library/cc300164.aspx Custom View and Forms http://blogs.msdn.com/sharepointdesigner/archive/2008/07/04/training-site-template-part-3-custom-views-and-forms.aspx
  • Tue

    Template IDs

    AdminTasks Administrator Tasks. Value = 1200. Agenda Agenda (Meeting). Value = 201. Announcements Announcements. Value = 104. Categories Categories (Blog). Value = 303. Comments Comments (Blog). Value = 302. Contacts Contacts. Value = 105. CustomGrid Custom grid for a list. Value = 120. DataConnectionLibrary Data connection library for sharing information about external data connections. Value = 130. DataSources Data sources for a site. Value = 110. Decision Decisions (Meeting). Value = 204. DiscussionBoard...
  • Mon

    List and Document Library template

    Click on Site Actions > Site Settings. Look under Galleries for List Templates. Click on that and then upload the .STP file to the gallery. Now go into Site Actions > Create and you should have the option of creating a library based on the list from your other server. Same applies to document library.
  • Mon

    Invalid Template

    "The template you have chosen is invalid or cannot be found" I learned that you need to be very careful to avoid conflicts with IDs already used in Windows SharePoint Services. It is suggested to use UNIQUE values greater than 10,000 for the ID attribute. Also the template ID must be unique from the ID's used in all the webtemp.xml files, i.e. don't have two that specify ID="10001".
  • Fri

    add custom fields to a list

    create a new list using a blank template - programmatically add the custom fields to the new list - Update the list to commit the addition of the new fields - Create a new view based on the default “All Items” view - Add the same custom fields to the new view - Delete the original view - Make the custom view as the new default view Code Snippet SPSite site = new SPSite("http://localhost/sites/Sergey/default.aspx"); SPWeb web = site.OpenWeb(); SPListCollection coll = web.Lists; SPListTemplateCollection...
  • Mon

    Allow Anonymous Users under Forms Authentication

    First Way: In Central Administration > Application > Authentication Providers , check the "Enable Anonymous Access" checkbox for your site. Make sure the anonymous user (or Everyone if you're lazy) has read and script access to your site's folder using Windows security (the files are usually in inetpub\wwwroot\wss\VirtualDirectories\[port number] ). Be sure to set those permissions on all the child folders as well. Now for the fun part. In Central admin, switch your site back...
  • Wed

    permission level

    From the root, --> Site Settings --> Permissions Click on "Settings" drop down. From there, click on the "Permission Level", it redirects you to the /_layouts/role.aspx?Source=..... Click on one of the permission levels that you are going to edit. The page redirects you to the /_layouts/editrole.aspx?role=... page, from where you can edit permissions for this role. To create custom permissions: public SPRoleDefinition CreatePermissionLevel(string Name, string Description...
  • Sat

    Feature Stapling

    Feature: Different Features require different file formats, depending on the type of customization you are making. In most cases, a Feature.xml file contains a Feature element that uniquely identifies the Feature, specifies its scope, and points to an XML file whose top-level Elements element defines the elements comprising the Feature. <Feature Id="065E2243-B968-4F14-BAAE-610BB975EFB7" Title="A sample feature: LitwareBranding" Description="This demoware was created by"...
  • Thu

    The imported project "C:\Microsoft.CSharp.targets

    An error message saying "The imported project "C:\Microsoft.CSharp.targets". I had had this problem before, but I couldn't remember how I fixed it. I did a quick Google and nothing came up so I thought I would write a blog post about it both for my own reference and for anyone else that has the same problem. The solutions for me was to open the project file in notepad and then edit the following line: <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" ...
More Posts Next page »