The Channel 9 Learning Center is the destination for free technical training on MS Technologies.
Currently it has updated the portal with SharePoint2010.
Thursday, January 14, 2010
Sunday, January 3, 2010
Validations on InfoPath2007?
I did two projects on Infopath2007 . I got the chance to work on high level info path object model and have played around one year on infopath surface.
I would like to post one of the simple screenshot which explain the validation of the form.

After reviewing related docs Supervisor group should change task status based upon errors.
In this screen shot based on Minor and Major errors(s) user should select the proper approval choice (COMPLETED, COVERWRAP, INVALIDXEMID, REJECTED, ALREADYAPPROVED, AWC, NOTSTARTED, FAILED and SUBMITTED etc).
These three controls would depend upon each other. I implemented rules to select proper options based upon severity else show error message on the form.
I would like to post one of the simple screenshot which explain the validation of the form.
After reviewing related docs Supervisor group should change task status based upon errors.
In this screen shot based on Minor and Major errors(s) user should select the proper approval choice (COMPLETED, COVERWRAP, INVALIDXEMID, REJECTED, ALREADYAPPROVED, AWC, NOTSTARTED, FAILED and SUBMITTED etc).
These three controls would depend upon each other. I implemented rules to select proper options based upon severity else show error message on the form.
Wednesday, December 30, 2009
Variations in MOSS2007
From Last few months i have been working on WCM features for one of the world class intranet portal. Especially on PageLayouts for publishing article pages,List templates,Site Definition ,Conent Types,WebParts,Social sites from NewsGator and Variations.
In this post I would like to explain how to implement multilingual on MOSS.
1. Open the Site Settings of the top-level site and click on Variation Settings.
2. On the Variation Settings page

3. In the Site Settings page, click now on Variation Labels.
A. Click New Label and create the source label.
B. Enter English as the label name.
C. Set English as the display name.
D. Set the local to English (United States)
E. Check Set this variation to be the source variation.
F. Select appropriate site template
(In the below screencast we are using custom site definition)
G. Click OK.

4. Like that we r using 10 variation Labels

Based on the profile settings and browser settings default locale page would open.User can select required language based on the user control
In this post I would like to explain how to implement multilingual on MOSS.
1. Open the Site Settings of the top-level site and click on Variation Settings.
2. On the Variation Settings page
3. In the Site Settings page, click now on Variation Labels.
A. Click New Label and create the source label.
B. Enter English as the label name.
C. Set English as the display name.
D. Set the local to English (United States)
E. Check Set this variation to be the source variation.
F. Select appropriate site template
(In the below screencast we are using custom site definition)
G. Click OK.
4. Like that we r using 10 variation Labels
Based on the profile settings and browser settings default locale page would open.User can select required language based on the user control
Wednesday, December 2, 2009
Knowledge Champion on MOSS?
On 18th Nov Winners League'09 held in HCL,Noida.
I have selected as a SharePoint Knowledge Champion and am HCL T2ID SharePoint Trainer also.

I’m really pleased to get the award, as it’s nice to be recognized by HCL T2ID for what I’ve done. I find it useful (to me anyway!) to have a bit of reflection on what I’ve been up to for the last year.
I have selected as a SharePoint Knowledge Champion and am HCL T2ID SharePoint Trainer also.

I’m really pleased to get the award, as it’s nice to be recognized by HCL T2ID for what I’ve done. I find it useful (to me anyway!) to have a bit of reflection on what I’ve been up to for the last year.
Friday, November 20, 2009
Importance of PortalSiteMapProvider in WCM?
PortalSiteMapProvider provides a nice automatic caching infrastructure for retrieving list data. The class includes a method called GetCachedListItemsByQuery that was used in this test. This method first retrieves data from a list based on an SPQuery object that is provided as a parameter to the method call. The method then looks in its cache to see if the items already exist. If they do, the method returns the cached results, and if not, it queries the list, stores the results in cache and returns them from the method call.
SPQuery strQuery = new SPQuery();
strQuery.RowLimit = 1;
//Retrieve the items for the specified Target location from the Target list
strQuery.Query = "CAML query... ";
PortalSiteMapProvider ps = PortalSiteMapProvider.WebSiteMapProvider;
PortalWebSiteMapNode pNode = ps.FindSiteMapNode(web.ServerRelativeUrl) as PortalWebSiteMapNode;
SiteMapNodeCollection pItems = new SiteMapNodeCollection();
pItems = ps.GetCachedListItemsByQuery(pNode, "targetListName", strQuery, web);
//Check if there are items for the specified target location
if (pItems.Count != 0)
{
try
{
//Retrieve the most recently created item for the specified Target location from the list
foreach (PortalListItemSiteMapNode pItem in pItems)
{//TODO}
catch (Exception ex)
{}
}
SPQuery strQuery = new SPQuery();
strQuery.RowLimit = 1;
//Retrieve the items for the specified Target location from the Target list
strQuery.Query = "CAML query...
PortalSiteMapProvider ps = PortalSiteMapProvider.WebSiteMapProvider;
PortalWebSiteMapNode pNode = ps.FindSiteMapNode(web.ServerRelativeUrl) as PortalWebSiteMapNode;
SiteMapNodeCollection pItems = new SiteMapNodeCollection();
pItems = ps.GetCachedListItemsByQuery(pNode, "targetListName", strQuery, web);
//Check if there are items for the specified target location
if (pItems.Count != 0)
{
try
{
//Retrieve the most recently created item for the specified Target location from the list
foreach (PortalListItemSiteMapNode pItem in pItems)
{//TODO}
catch (Exception ex)
{}
}
Monday, November 9, 2009
How to install Visual Studio 2010?
Tuesday, November 3, 2009
How to Display SAP Preferred Welcome Name?
I got the requirement that based on preferred name the welcome name should come.
Go to Shared Services Administration: SSP1 > User Profile and Properties > View User Profiles
Modify ur preferred name as per screenshot

Refer How to modify profile properites
Go to My site click on details link and modify ur name filed with ur prefer name.

Run the below cmd

After the sync has been performed the User Info table will be updated with the values from the My Profile details.
Go to Shared Services Administration: SSP1 > User Profile and Properties > View User Profiles
Modify ur preferred name as per screenshot
Refer How to modify profile properites
Go to My site click on details link and modify ur name filed with ur prefer name.
Run the below cmd

After the sync has been performed the User Info table will be updated with the values from the My Profile details.
Subscribe to:
Posts (Atom)
