Month: December 2012

Media Web Part in SharePoint 2010

PM_logoSmall

Microsoft SharePoint 2010 Enterprise Edition has many new features useful for enterprises .One who knows all these features can save a lot of cost and leverage SharePoint for better management of assets including multimedia assets in organization.
SharePoint 2010 now also provides central repository for windows audio and video file.
One can upload this multimedia content to media\assets library and play them in browser using Silverlight media webpart
Microsoft SharePoint 2010 Media Player web part supports only following Media file Format as follows:-

  1. Windows media Audio(WMA)
  2. Windows Media Video(WMV)
  3. ISO/MPEG Layer-3 (MP3)
  4. MP4

In order to leverage this SharePoint Digital asset management feature follow the steps given below

Steps:-

  • Open site in browser and enter credentials .The user must be site collection administrator.

MediaWebPart1

  • Go to Site Action —>More options.

MediaWebPart2

  • Here number of templates are available, but now we are interesting in to create an Asset Library. So we choose Asset Library. we can choose directly from the front or we can go to library in side navigation bar then select Asset library

MediaWebPart3

MediaWebPart4

Or

MediaWebPart5

  • Give the Name to your Asset library, we giving the name JustRock. Then click on create button.

MediaWebPart6

  • It will take few second to create a library

MediaWebPart7

  • Now our library is created.

MediaWebPart8

  • Click on Add new Item to add new item in your library

MediaWebPart9

  • After clicking on Add new item, new window is open here we can upload our media file. Click on brows.

MediaWebPart10

  • After clicking on brows button we can browse media file from our local machine.

MediaWebPart11

  • As above mentioned it support only following media file :-
  1. Windows media Audio(WMA)
  2. Windows Media Video(WMV)
  3. ISO/MPEG Layer-3 (MP3)
  4. MP4

If other than this file format, we select another one its give a message Assets in this format cannot be played by the Media Player Web Part. Here we select a MPG file. So it shows the message in yellow strip.

MediaWebPart12

  • Now we are going to add FLV File again it gives the message.

MediaWebPart13

MediaWebPart14

  • Now we are going to add MP4 file. This time it not gives any message. Then click on Ok button.

MediaWebPart15

MediaWebPart16

  • Wait for few second, until file upload.

MediaWebPart17

  • After few second new window opens here we can put the information like title, keyword, comments, Author, time and date of creation and copy right information. Then Click on save button.

MediaWebPart18

MediaWebPart19

  • Now our media file is successfully added

MediaWebPart20

  • Now click on media file which we have uploaded, a new pop window is open in the side.

MediaWebPart21

  • Then click on play button. Now a video song is start.

MediaWebPart22

Note: – Before binding the media file ensure that our “SharePoint Server publishing Infrastructure” feature is active or not. If it is not active we are not able to see video and audio web part under the media section on ribbon when we edit the page.

  • Now we want to bind this media file with a web part. Then go back to your site. And then go to Site Action —–>Edit Page.

MediaWebPart23

  • Go to Editing Tools —–>insert

MediaWebPart24

  • In the media section of ribbon there must be a video and audio web part. Because “SharePoint server publishing Infrastructure” feature is not activated here .So it’s not shown here. For this firstly we need to activate this feature.

MediaWebPart25

  • Go to Site Action —–> Site Setting

MediaWebPart26

MediaWebPart27

  • Go to Site Collection Administration —–>Site Collection feature

MediaWebPart28

  • Here we can see SharePoint server publishing infrastructure feature is not activated. Click on Activate button.to start your feature.

MediaWebPart29

  • Now our SharePoint server publishing Infrastructure feature is activated.

MediaWebPart30

  • Now again we go back to our site. Then go to Site Action —–>Edit Page

MediaWebPart31

  • Go to Editing Tools —–>insert

MediaWebPart24

  • Now we are able to see Video and Audio web part in media section.

MediaWebPart33

  • Click on video and audio web part. After clicking we are able to see media webpart on our page .then click on click here to configure.

MediaWebPart34

  • After clicking on that we see the new option in left Most corner of the screen is Change Media.

MediaWebPart35

  • Click on drop down button and then click on “from SharePoint” option.

MediaWebPart36

  • Then select the location of media file from here.

MediaWebPart37

  • Now our media library name is JustRock .So click on JustRock and select media File then click on OK Button.

MediaWebPart38

  • Now our media File Successfully bind with Media Web Part .Click on play Symbol on .it will start.

MediaWebPart39

  • Now save the changes. Click on save button in ribbon. And go back to home page.

MediaWebPart40

  • Click on play button and Enjoy ………………. 🙂 🙂 🙂

MediaWebPart41

Thank You for your time …. … I hope you will visit this blog more time. 🙂 🙂 🙂

Advertisements

SharePoint 2010 List

List can be used to store the information or we can say track the information. SharePoint 2010 provides number of different kind of list. we are used tables to store information in database and Excel spreadsheet. If we see the structure of list, list contain columns and row which is is very similar to tables and Excel spreadsheet so we can say list is very similar to both. So we can store everything in list from contact to task.

We can categorized SharePoint List in three basic category.

  1. Communications lists are used to track announcements, contacts, and discussion boards.
  2. Tracking lists are used to track information such as links, calendars, tasks, issues, and surveys.
  3. Custom lists provides a facility to create a list as per your need.

After above discussion the very next question comes in our mind is what are the difference between list and library ?

Library is a one kind of special List which allows you to store files with in itself.Items which we are tracking in library they are file itself. So we can apply every thing which we know about list on library.

Determining which type of SharePoint list to use can be confusing at first. Do you need a Contact list or a custom list? Although all lists perform the same basic function of tracking information, some lists offer additional columns or menu commands that are unique to that kind of list.

All the lists in SharePoint 2010 use the Ribbon to display access to all list commands.

Comparison of SharePoint’s List Types

Type of List

When to Use It

What Makes It Superior

Announcements To display brief announcements on your site’s home page. You can enter expiration dates for announcements.
Contacts To track contacts, especially if you want to use Outlook for data entry. You can remove columns that you don’t need.
Discussion Board To create a discussion forum where people can post messages and reply to them. Evaluate third-party add-ons if you want a robust discussion forum.
Links To track hyperlinks. Uses a Hyperlink column that automatically formats entered text as HTML anchor links.
Calendar To track calendar items. Can synchronize with Outlook and knows how to handle recurring events.
Tasks To track tasks. Can synchronize with Outlook; Tasks lists can be grouped with summary tasks.
Project Tasks To track work items for a project. Can display as a Gantt chart. Many people consider this SharePoint’s Project Lite offering.
Issue Tracking To track trouble tickets. Works well with issues that have three states — open, closed, and resolved.
Survey To take a poll. Allows you to create a set of questions that users must walk through.
Custom To create a list with columns that you define. Allows you to create a list specific to your content and can for example act on certain content in special ways.
KPI (Key Performance Indicator) To display graphical status indicators. Lets you evaluate selected business data against specified goals and display that information in various formats such as scorecards and dashboards.
Import Spreadsheet To create a list based on an existing spreadsheet. Lets you use an existing Excel spreadsheet as the basis of the list; can help avoid rework and repeated effort entering data.
External To create a list based on a data source outside SharePoint. Lets you display data from other (non-SharePoint) databases or web services.

The lists here just scratch the surface of what you can do with lists in SharePoint. Lists can be used similar to how tables are used in databases to store the data for an application.

lists from your team site are stored in a single table in SharePoint’s content database.

enjoy …. 🙂 🙂 🙂

Document Set in SharePoint 2010

Hi friends today we are in Study mode so we have decided we are studying about SharePoint concepts and implement in our daily routine work and make our work simple, easier and faster .So Today we will Discuss about Document Set in SharePoint 2010 it is the new feature of SharePoint 2010.

What is Document Set?

Document set helps to manage group of documents as a single entity. A Document set is a special kind of SharePoint folder that combines Unique Document set attribute, the attributes of folder and documents, and provides user interface, metadata and object model elements to help manage all aspects of work.

Let’s start with activating the document set feature …

Activating the Document Set Feature

  1. Navigate to top level site of  the site collection
  2. Go to Site Actions à Site Settings
  3. Click on Site Collection Features
  4. Locate Document sets and click the activation button.

Doc1

Configuring Document Sets for a Document Library

Where ever you want to use Document sets, you will need to add Document Set content type to the document library.

  • In a document Library, navigate the Library settings — >Advanced Settings page and in the Allow the management of content types, Select Yes.
  • Doc2
  • Click OK, you will then returned to the Document Library settings page.
  • In the document library setting page, in the content type section, click on Add from existing site content types.
  • From the content type picker that appears , select Document Set Content Types , then Select Document set from the Available Site content types section , click add.

Doc3

  • Return to the document library, in the ribbon select the Documents tab and from the New Document Button, you should have the option to create a Document Set.

Doc4

  • Click on Document set and in the New Document Set dialog, enter a name for your document set, and a description if you wish, and click on OK button.

Doc5

  • Your Document set will start off as an empty container to which you can now add the documents.

Doc6

  • You can then upload documents to the document set.

Doc7

Done  …. 🙂 🙂 🙂

 

User Profile Synchronization Service Not Running

As per our promise we are here for Microsoft SharePoint 2010 and providing the best solution in SharePoint 2010 which makes SharePoint 2010 your Best friend.

Few days ago I have seen the one interesting issue in SharePoint 2010 while going to start profile synchronization ,  under application Management->Manage Service Applications->User Profile Service Application->Manage->Start Profile Synchronization

profileSynch2

it throws the message as below :-

ProfileSynch1

No need to worry we are here for that . just check your User profile Synchronization service under Application Management->Manage Services on Server->User Profile Synchronization Service it will bestop.

21

just start the User Profile Synchronization Service

recent

if you see in the services forefront Identity Manager Synchronization Service and Forefront Identity Manager Service will also start.

start_service forefront

restart The IIS and go back to start Profile Synchronization you will able to start the Synchronization.

sync

Done … 🙂 🙂 🙂

“Alert Me” Is Missing From SharePoint 2010

Today we will see Small but Interesting problems in SharePoint 2010.Some times we are not able to see ” Alert me ” in SharePoint List or Library .

alert2

Friends no need to worry just check your Out going Email Setting from Central Administrator. Central Administrator –>System Setting –>E-Mail and Text Messages (SMS)

alert2 alertme2

Click On Configure outgoing e-mail settings , the you will find Outbount SMTP server entry is missing

alert4

just do entry in the Outbount SMTP server and click OK. then See the  magic now you will able to see the Alert me option again. 🙂

alert5

Be ready for next SharePoint journey With ParallelMinds. 🙂 🙂

Restoring SharePoint FrontEnd Server

PM_logoSmall

Restoring SharePoint Front End Server

Previously we have we have done lot of SharePoint 2010 journey together and enjoyed more. Now we will go next SharePoint’s Adventure’s journey today.

While installing CRM my default SharePoint site– on 80 port was deleted from IIS. Creating a new site under The IIS and configuring to :-“C:\inetpub\wwwroot\wss\VirtualDirectories\80” did not work

Following are steps I followed to restore it back.

  1. Run the configuration wizard.Click next on welcome screen.

1

2.  Click yes on SharePoint Products configuration wizard

1.2

3. On Modify Server farm setting Page click on Disconnect from this server farm then click next.

1.3

4. Within few minutes you will be disconnected from the existing farm.

image11

5. Now again run your SharePoint Configuration wizard and repeat step 1 and 2.

6. On the very next screen you will see Connect to a server farm page, please ensure that connect to an existing server farm radio button is selected. And click on next button.

image4

7. On Specify configuration Database Setting Page Specify your database server name and then click on Retrieve database Names you will get your database name and click on next button.

image5

8. Enter your Passphrase on Specify farm Security settings which you have entered at the time of farm installation.

image8

9. Click Next on Completing the SharePoint Products Configuration wizard and verify Database name and database server name.

image9

10.  Your configuration starts shortly.

image11

11.  Click on finish button after successful configuration message.

image12

12.  Click on Start the wizard on configure your SharePoint farm.

image13

13. Click on finish button.

image_thumb14

After completion of these steps I am able to see my SharePoint – 80 port site back. And one satisfactory smiles runs on my face. Thanks everyone to tune with usJ.

HelloWorld iOS application

Hi folks,

This is very first post about iPhone app development .

I assume you people are familiar with basic of objective c and cocoa framework and Xcode.

So this post bring you the anatomy of first HelloWorld  application

let’s start…

Prerequisites

1. Xcode

2.basic of  objective c and iphone SDK

last and foremost  patience 🙂

Here are the following steps you need to build your HelloWorld application

1.Create new XCode Project

  Create your  project going through XCode ->File ->New Project and select  Empty Application .Name the project HelloWorld and click Save as shown in figure

XCode will create two file AppDelegate.h and AppDelegate.m . Difference between .h and .m file is in objective c all declaration goes to  .h file and implementation goes to .m file.

Now What  is AppDelegate  actually?

When you create your  project, main.m file under  Supporting files is generated by XCode

it looks like

#import <UIKit/UIKit.h>

int main(int argc, char *argv[])

{

    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];

    int retVal = UIApplicationMain(argc, argv, nil, nil);

    [pool release];

    return retVal;

}

 as in any C program the execution of Objective -c application starts from main().the main() function starts by creating autorelease pool and ends by releasing it. In between it makes a call to the UiApplicationMain() function. UiApplicationMain() is declared as follows

int UIApplicationMain(int argc, char *argv[], NSString *principalClassName, NSString *delegateClassName);

The UiApplicationMain() instantiate the application and the application delegate objects. after that,it sets the delegate property of the application object to the application delegate instance.

The Typical application delegate class looks like

#import <UIKit/UIKit.h>

@interface AppDelegate : NSObject <UIApplicationDelegate>

{}

@end

Notice that application delegate class inherits NSObject class and adopts UIApplicationDelegate protocol and implements the UIApplicationDelegate methods.One of the very first  method of UiApplicationDelegate is

 – (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{}

This method is starting point for developer didFinishLaunchinWithOptions is application life cycle method it is called when application will launch (onCreate() in Android )

Note : NSObject is the super class of all classes available in objective c and Protocol is  here interface 

 – (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

{

    self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];

    // Override point for customization after application launch.

    self.window.backgroundColor = [UIColor whiteColor];

    [self.window makeKeyAndVisible];

    return YES;

}

 above code simply illustrate that when application will launch  a new window will be allocated by

self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
and  set its background color to white by
self.window.backgroundColor = [UIColor whiteColor];
at last make it visible.

 2. Create User Interface using code 

 For your application very first object you need is appdelegate class which we have been seen above

now suppose you application has more than one screen so how will you create your screen(View)?

In iphone each screen is   ViewController (in Android Activity).

For this create a simple class which is a subclass of UIViewController going through

right click on AppDelegate.h  >>>newFile  >>Cocoa Touch >> UiViewController subclass >>next.

Name the file  and create it.

 3. Create object of your newly created UIViewController and add it to the main Window.

 modify AppDelegate.h file with following piece of code

#import <UIKit/UIKit.h>

#import “HelloWorldViewController.h”

 @interface AppDelegate : UIResponder <UIApplicationDelegate>

{

    HelloWorldViewController *helloWorldVC;

}

@property (strong, nonatomic) UIWindow *window;

@end

modify AppDelegate.m file
– (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

{

    self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];

    // create viewcontroller object

    helloWorldVC=[[HelloWorldViewController alloc]init];

   //add it to the window

    [self.window addSubview:helloWorldVC.view];

    [self.window makeKeyAndVisible];

    return YES;

}

what you have done so far is you have created  HelloWorldViewController and added it to main window. now create label in your controller

4.Create UiLabel and add it to HelloWorldViewController
  •  Open HelloWorldViewController.h file and declare UILabel
#import <UIKit/UIKit.h>
@interface HelloWorldViewController : UIViewController
{

    UILabel *label;

}

@end
  •  Open HelloWorldViewController.m file create label and set it’s property

#import “HelloWorldViewController.h”

 @implementation HelloWorldViewController

– (id)init

{

    self = [super init];

    if (self) {

        label=[[UILabel alloc]initWithFrame:CGRectMake(100, 250, 200, 30)];

        label.text=@”HelloWorld”;

    }

    return self;

}

  •  Add label to ViewController

-(void)loadView

{

    [super loadView];

    [self.view addSubview:label];

}

5. Build and Run

Run your project by clicking run button (top left corner in XCode).

 enjoy coding……

Feel free to comment .For any query mail me @ bpsingh@pmtsl.onmicrosoft.com