Pages

Thursday, May 30, 2013

How to send files by clicking a button in SharePoint?



It’s tough for me to write an article. If someone wants to know something, I get an opportunity to write. Thanks Radhwen Maknin, for asking me to show, “how to create a send button and how to send files with that send button?”
There are different ways to create a send button in SharePoint.

  1. You can add a content editor web part where you can add a send button and perform your desired operation using javascript. You can create/update/delete list items using javascript. 
  2.  Using SharePoint Designer: When you add a list/app in your site, you get an input form where there is a save button by default. You can change the nobr:text using javascript or you can change the Display name of the button using SharePoint designer. I’m going to show this second one today. 
  3. Using Visual Studio: You can add a visual web part using visual studio. 

Let’s see, how to create a send button.

  1.  Create a list (say SendFile) where there should be a destination column. I’m going to add a people picker type column here. Actually I’ll add two people picker type column, one is for source and another one for destination. I’ll add another field named File Description.
  2. Now, open the new form of this list in SharePoint Designer. You know that, the design view has been removed from the SharePoint Designer. Only the code view is available here. You have to find out the save button inside the code and change the tag value. If you cannot edit your code, select Advance Mode. 
  3.   You have created your “send button”. 
  4.  Now, you have to send files to your destination. You can do so, in different ways and I’ll prefer you to use workflows on create an item.


[N.B.: Images will be uploaded if required]

Sunday, December 30, 2012

Create a Website in SharePoint 2010



In our previous articles, we have learned ‘What SharePoint is and why we should use SharePoint to develop our solutions”.
In this article, we will see how to create a website in SharePoint 2010.

It’s very easy to create a website in SharePoint 2010. If your machine is ready to develop SharePoint 2010 solutions, you can create a website/solution by just few clicks.

Step1. Click start menu at your operating system and search for “SharePoint 2010 Central Administration”. Then click at “SharePoint 2010 Central Administrator”. 

Step2. Click “Application Management”. Then Click “Create Site Collection”. 


Step3. The following window will appear here. Put the name of the Site Collection at the "Title" Text Box. Then, you can describe about your site collection here. Create the url of the site collection. You can create a blank site or use a template from the templates. Then Specify the administrator for this site collection. Only one user login can be provided; here, security groups are not supported. You can also specify a secondary administrator which is optional. Then click the ok button.



Step4. This the link or your new site Collection. You can go to your site collection by clicking here or you can put the url into the browser's address bar and go to your site collection. 

This your empty site collection. Now you can add sites under these site collection.


 5. Click "Site Action" then "New Site" to create a new website under this site collection.

Step6. There are so many templates here. you can choose any of them. But, here we have chosen a blank site. Give the site name and url. then click "Create" Button.



You have now got your website. Here, you can create new lists and libraries and so on...............................

 In our next article, we'll see what is SharePoint List and how to create SharePoint 2010 list in different ways..........

Thank You very much.

*N.B.: Please don't feel hesitant to ask any question.