SharePointAds TextOnly
Friday, 5 February 2010
Tuesday, 2 February 2010
Sharepoint: Required Modifications for Podcasting
Podcasting in Sharepoint
From last 15 days I am trying to completing podcasting for my one of subsite. The PKS solution which has provided in codeplex solution is very good but still it’s in beta version(August 2009 Beta version) so it gives lots of problem specially URL referencing problems.
First time, as for practice demo I just installed on demo root site as suggested in documentation(Installation and Configuration Guide for PKS.docx), its working like charm for root site. After that I was trying to do same things for sub sites of different root site so that I followed Installation and Configuration Guide for PKS on Sub Site.docx file as for reference. But its gives lots of pain & problems to work.
The main problems I faced for PKS which are not specified anywhere.
- Problems to start media encoder service for other port sites.
- Changes in leftNav.xml file in PKS for subsite of subsite (In next post I will cover this!)
The main problem was of Media encoder service because in its config file we need to mention only one site at a time, so first time suppose to I installed PKS on http://sitename:101 port and suppose I want to install on different port site so I created new different site with name as http://sitename:102 so need to mention new site name in pks config file(FYI: you can find PKS config file at C:\Program Files\PKS\Media Encoder Service\ MediaEncoderService.exe.config ). So just simply follow the following steps to assign new PKS site name.
1. Uninstall the Media Encoder Service
2. Install new Media Encoder Service as per your Expression Encoder version(2 or 3) (Note: its Prerequisites to install Expression Encoder before PKS installation)
3. Follow all step as provided in documentation
4. Update MediaEncoderService.exe.config file and provide new site name.
5. Go to list PKS Media Encoder Monitor Locations and delete the entries in it
6. Go to PKS Configuration Settings list on the site:
a. Set the MediaEncoder.MonitorPath to you r location of External File Store
i. Example: C:\UploadFiles
b. Set the MediaEncoder.MonitorWeb to root of your PKS site collection
i. Example: http:// sitename:102
7. Go to the PKS Media Encoder Monitor Locations list on the site:
a. Click -> New Item
i. Update Title - Provide a unique title e.g. My Media Monitor List
Update WebID - you can get this from the Content Rating Configuration Settings , open the SharePoint site collection you have created. Go to Site ActionsàView All Site Contents. Open Content Rating Configuration Settings list under Lists section. There check for entry having value “/
ii. And other information as suggested in documentation.
8. Start Media Encoder service from Run > services.msc
9. And reset IIS, IISReset
Friday, 25 December 2009
Sharepoint: How to manage Feature activation dependency?
In Sharepoint need to manage the dependencies in different features
For exp: Need to activate Feature A before activation of Feature B, So add below lines in Feature.xml file in Feature B before < / Feature > tag
< ActivationDependencies >
< ! -- Feature A’s ID - - >
< ActivationDependency FeatureId="D4000102-848E-4434-A1C5-C60C862F429C" / >
< / ActivationDependencies >
Refere feature A’s ID.
(*Please remove spaces in tags..)
Thursday, 5 November 2009
Sharepoint: How to create new custom permission level?
How to create new custom permission level?
1. Goto Site Setting
2. Select Advance Permission
3. Goto Setting and click on Permission level
4. It will open new page, then click on Add a Permission level
5. Give Name, description for this new permission level select permissions from list as per your need.
6. Click on Create, It will display on permission level page.
How to assign this new permission to users?
1. Goto Site Setting
2. Select People and groups
3. Click on New Menu and select Add user
4. enter user name on people picker box, and select "" radio button
5. Find newly created permission level click on check box to assign user under this permission
6. Click on OK
Wednesday, 30 September 2009
difference between Authorization and Authentication?
Authentication is a process of identifying a user based on their credentials(means user id and password).
Authorization:
Authorization is process of determining whether an authenticated user is allowed to access a specific resource or not.
In Short,
Authentication is the process of validating a logged in person with user_id and password
Once a person is authenticated, Authorization is the process who check the person access or not for some places.
The "quick guide"
Identification: Who are you?
Authentication: Prove yourself
Authorization: Here is what you can do?
Monday, 21 September 2009
Sharepoint:Add new link to Quick Launch, Programmatically and through site settings
i. By Site Setting
ii. By Programmatically
1. How to add new link by Site settings?
Follow the following steps:
a. Login by admin authentication
b. Goto Site Action -> Site Settings
c. Click on 'Quick Launch' under 'Look and Feel' section
d. Click on 'Select Heading' and add 'Web Address' where you want to redirect (I use '#' which redirects to default.aspx page)and then give new name for this new section in 'description' text box(I use 'Custom Menu').
e. Click on OK, this will create new section in Quick Launch menu
f. Then click on 'New Link', it will open new window
g. Provide web address, and description (I use '/MyCustomPage.aspx' and give name as 'My Custom Page', this name will displaying in Quick launch menu)
i. Then select heading from combo box, select 'Custom Menu' heading
j. click on OK button
k. Now click on Home or goto default.aspx page
2. How can we create Quick Launch menu Programmatically?
use following code:
SPWeb web = SPContext.Current.Site.RootWeb;
web.AllowUnsafeUpdates = true;
SPNavigationNodeCollection nodes = web.Navigation.QuickLaunch;
SPNavigationNode navNode = new SPNavigationNode("Custom Menu", "#", false);
nodes.AddAsFirst(navNode);
SPNavigationNode headerLink1 = new SPNavigationNode("My Custom Page", "/MyCustomPage.aspx", true);
nodes[0].Children.AddAsFirst(headerLink1);
This will create new section in Quick lauch menu..
Really soooo easy :)
Friday, 4 September 2009
Sharepoint: Error while sending email alerts thro' sharepoint site
I also faced lots of problem with same issue, on development server alerts works like charm but on installable server, email alerts not working..
I searched for solution but didn't get anything, all outgoing email configuration in Central Admin correct.
So i checked email error from following utility, you can download from
http://www.codeplex.com/rodneyviana/Release/ProjectReleases.aspx?ReleaseId=19103
you can extract only the .exe file (SendMail\bin\Debug\SendMail.exe) and run it without any installation. This application will send an e-mail. Enter the url of a valid sharepoint site and a valid user login name for that site which will be the recipient of the test email message. The application will display the e-mail information from the sharepoint site user login name.
for more information please have a look at
http://blogs.msdn.com/rodneyviana/archive/2008/11/06/how-to-test-the-mail-settings-for-a-sharepoint-web-application.aspx