Month: January 2010

SharePoint 2010 Site Templates are now Solutions

There are still Site Template in SharePoint 2010, but they’re no longer .STP files. Instead, they’re packaged in .WSP files just like web parts and features. No longer is there a “Site Template Gallery”, instead there is a “Solutions Gallery”. You can find the solutions gallery here: http://sharepoint/_catalogs/solutions/Forms/AllItems.aspx To create a Site Template, browse to the Site you want to create from. Go to Site Actions –> Site Settings –> Save site as template (under the Site Actions heading). If “Save site as template” is not there, you can go directly to it under the site’s layouts directory here:...

Read More

Active Directory Attributes List

Quick reference guide for me to remember what things are called in Active Directory:   ADSearch User Property Attributes: Display Name ADSearch Name International ISDN Number (Others) internationalISDNNumber accountExpires accountExpires accountNameHistory accountNameHistory aCSPolicyName aCSPolicyName adminCount adminCount altSecurityIdentities altSecurityIdentities Assistant assistant badPasswordTime badPasswordTime badPwdCount badPwdCount City l codePage codePage Comment comment Company company controlAccessRights controlAccessRights Country co Country Abbreviation c countryCode countryCode dBCSPwd dBCSPwd defaultClassStore defaultClassStore Department department desktopProfile desktopProfile destinationIndicator destinationIndicator Division division dynamicLDAPServer dynamicLDAPServer E-Mail Address mail E-Mail Address (Others) otherMailbox Employee ID employeeID Fax Number facsimileTelephoneNumber Fax Number (Others) otherFacsimileTelephoneNumber First Name givenName garbageCollPeriod garbageCollPeriod Generational Suffix generationQualifier groupMembershipSAM groupMembershipSAM groupPriority groupPriority groupsToIgnore groupsToIgnore Home Address homePostalAddress Home Drive homeDrive Home Folder homeDirectory Home Phone homePhone Home Phone (Others) otherHomePhone Initials initials International ISDN Number primaryInternationalISDNNumber IP Phone Number ipPhone IP Phone Number (Others) otherIpPhone Job Title title lastLogoff lastLogoff lastLogon lastLogon legacyExchangeDN legacyExchangeDN lmPwdHistory lmPwdHistory localeID localeID lockoutTime lockoutTime Logon Name userPrincipalName Logon Name (pre-Windows 2000) sAMAccountName Logon Workstations userWorkstations logonCount logonCount logonHours logonHours logonWorkstation logonWorkstation Manager manager maxStorage maxStorage mhsORAddress mhsORAddress Middle Name middleName Mobile Number mobile Mobile Number (Others) otherMobile mS-DS-CreatorSID mS-DS-CreatorSID mSMQDigests mSMQDigests mSMQDigestsMig mSMQDigestsMig mSMQSignCertificates mSMQSignCertificates mSMQSignCertificatesMig mSMQSignCertificatesMig msNPAllowDialin msNPAllowDialin msNPCallingStationID msNPCallingStationID msNPSavedCallingStationID msNPSavedCallingStationID msRADIUSCallbackNumber msRADIUSCallbackNumber msRADIUSFramedIPAddress msRADIUSFramedIPAddress msRADIUSFramedRoute msRADIUSFramedRoute msRADIUSServiceType msRADIUSServiceType msRASSavedCallbackNumber msRASSavedCallbackNumber msRASSavedFramedIPAddress msRASSavedFramedIPAddress msRASSavedFramedRoute msRASSavedFramedRoute Name cn networkAddress networkAddress Notes info ntPwdHistory ntPwdHistory nTSecurityDescriptor nTSecurityDescriptor o o objectSid objectSid...

Read More

Windows 7–Get Rid of “Group By” in Explorer View

Windows Explorer on Windows 7 tries to be intelligent and offers to group the contents of a directory according to certain parameters. A lot of times when it cannot do this, it lumps them in a group named Unspecified. I find this grouping affair very irritating, especially when selecting files using the keyboard. To turn off Group By completely: Open any directory in Windows Explorer. Right-click and choose Group by → (None) Press the Alt key, so that the Explorer menu bar appears and choose Tools → Folder Options. Go to the View tab and click Apply to Folders. This will apply the Group By setting to all...

Read More

SharePoint 2010–Multitenancy and Hosting Service Providers

Multitenancy in this context mean isolation of data (including backups), Isolation of usage (what data and services are exposed to the users), isolation of administration (administration of sites, services, customizations), etc. If we consider a hosted environments like SharePoint Online it offers customers 2 mode of hosting 1. Standard: This is a shared infrastructure where multiple customers will be hosting their web applications/site collections (what we call as multi-tenant mode) 2. Dedicated: This is a separate infrastructure of the customer Some of the biggest challenges that existed in MOSS 2007 for multitenancy include: 1. Where do we host a tenant.. Should we create a separate Web Application or creating a separate site collection will suffice… Of course both have their own pros and cons 2. Services were part of SSP and the alacarte model did not exists and one cannot keep creating a separate Web Application and SSP for each and every tenant 3. Other major challenge was around customizations as the 12 hive folder is a shared one 4. Ensuring the performance of customizations of one tenant does not affect others So what is that SharePoint 2010 offers to overcome the above challenges SharePoint 2010 has introduced a new concept called Site Subscriptions to group site collections based on the tenants even if all the site collections are part of the same Web Application. Site Subscriptions not only...

Read More

SharePoint 2010–Hiding Your Scripts Library from the Browser

When dealing with SharePoint, I’ve found that I like to keep all my scripts in a single directory, both because it’s clean and it helps to separate out the site wide scripts from other files on the site. However, once you’ve created your scripts library, often times you don’t want the average user poking around inside these directories. By hiding a scripts library from the browser you can keep your site secure (ish). There’s no way around poorly written code, but at least you’re not putting out the welcome mat and allowing browser access. Hiding the library allows you to prevent the casual inquisitive eyes from wandering through your script code. 1. Create a document library in the root of your web application. Use the document template of none. 2. Your naming convention for this library should be something simple. I use /Scripts but you can name it anything like. Just be consistent as you’ll always want to have a standard to make your pages somewhat portable from one site to the next. 3. Once the library is created you want to hide it from the browser, this option just eliminates the browser navigation. If you know the URL it can still be accessed through the browser, just hidden from normal navigation. You always have access to it through SharePoint Designer (SPD). To hide from browser open your site...

Read More

10 Years After Y2K

It’s been 10 years since the rollover to the new century, a time when many expected the greatest computer crash in history: "I cannot be optimistic…It’s clear we can’t solve the whole problem, so we have to allow some systems to die so mission-critical systems can work… Pay attention to the things that are vulnerable in your life and make contingency plans…. Don’t panic, but don’t spend too much time sleeping, either." – Senator Robert Bennett, then-Chairman of the Senate’s Special Committee on the Year 2000 Problem, Y2K Citizens Action Guide It was a fear fest of epic proportions. Magazine headlines predicted that the end of the world would shortly befall us. They told harrowing tales of feral computer systems going awry the minute the clock struck midnight on January 1st, 2000–planes would fall from the sky, power grids would fail, the global economy would crash, nuclear power plants would go into meltdown mode, lines of communication would be cut, and the contents of bank accounts would vanish, dogs and cats would live together. The trouble, it turned out, was averted. This is a part of the story usually overlooked by those who mock the Y2K episode. Billions of dollars were spent, and scores of thousands of man-hours were dedicated, to mitigating this problem. Programmers went into these old legacy systems and either successfully reprogrammed them or changed out...

Read More