
- Ten Themes for Sharepoint in VSeWSS Projects
- Visual Studio 2008 Extensions for Windows Sharepoint Services 3.0
- Microsoft Office Sharepoint Server 2007 or Windows Sharepoint Services 3.0 (free for Windows Server 2003)
- Microsoft Visual Studio 2008
Welcome to the blog of Aditya Pamungkas. I share my ideas and findings on Sharepoint and many other technical things I am currently interested in. Please leave comments if you enjoy it to let me know and perhaps it could be a motivation for me to update this blog more frequently. Thank you for visiting.
Labels: microsoft, moss, sharepoint, theme, visual studio, wss
Posted by pamungkas at 9:35:00 AM 7 comments
A friend of mine referred to me to an application called Windows Live Writer so that I can update, edit, design and manage my blog easier. Get your copy here for the application. The application itself looks like Microsoft Office Word allowing you to change fonts, paragraph format and many others to create your blog easier. Windows Live Writer 2009 supports Windows Live! Spaces, Sharepoint Blog, Blogger/BlogSpot, WordPress, TypePad and many others. In fact, this is my first post using this application and I will let you know how it goes, the problem i'm having is that some framing is still confusing, since this is my first try perhaps it is because I do not know how to show hidden layers. After posting it seems perfectly fine, all goes as expected, publishing went seamlessly. All in all, this application looks great. Go try it yourself its free!
Labels: Blogger, Blogspot, sharepoint, Windows Live Writer
Posted by pamungkas at 4:39:00 PM 0 comments
There are several ways to change a port of a web application in MOSS 2007, the easiest is as easy as performing two simple tasks:
Labels: moss, port change, sharepoint, sps
Posted by pamungkas at 9:33:00 AM 0 comments
Continuing my previous post, to publish your InfoPath Form there are several method and here I will show you the easiest way to publish to Microsoft Office Sharepoint Server 2007 (MOSS 2007).
From you completed design on InfoPath which is fully web compatible and configured, you must save the file to a location (preferably on your local disk so you can update or edit at a later time when necessary).
If you closed the InfoPath 2007 application and want to open it again to publish it, right-click on the file you created and select Design.
To publish go to File>Publish... then a publishing wizard will appear. Select To a Sharepoint server with or without InfoPath Form Services then select next and enter your MOSS 2007 site (include the subsite and document library where you want to publish the form) then select next then check the Enable this form to be filled out by using a browser and select document library on the radio button below it then click next to continue.
Here you can select whether you want to create a new library or update a form template in an existing document library. I would suggest you to create a new library if you haven't prepared any yet and enter a name for it then click next, then in column name, you can enter which columns will appear on the document library list in the MOSS site then click next and click Publish to finish.
Once that is completed, you can finally close the InfoPath 2007 application and open web browser and go to your MOSS site to the document library where you published you InfoPath Form (usually ending with .../Forms/AllItems.aspx) then click on Settings on the top bar of the list and select Form Library Settings.
Under General Settings, click on Advanced Settings on the next page under the third category Browser-Enabled Documents select Display as Web Page then click OK.
Now open a new window, open the document library again and click on the downwards arrow just next to New on the topbar of the list, it should now show two options: New Document and New Folder, select New Document and the InfoPath Form should now appear as a webform instead of firing up InfoPath application. This way clients without Microsoft Office InfoPath can also open your form.
Labels: Design, InfoPath, microsoft, moss, publish, sharepoint, sps
Posted by pamungkas at 3:50:00 PM 0 comments
Let’s say you created a sharepoint site your root level (ie http://intranet/website) and six months later you decide it really should be contained under your IT subsite (http://intranet/it/website). You can use the program STSADM to move a site from one location to another.
Steps to move a WSS subsite.
1. Create the new target URL (I created a blank site @ http://intranet/it/website)
2. Fire up the command line
3. type the following including the quotes:
cd\"Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"
4. Export the old URL using the following Command (this will export and backup the whole site to a single file):
stsadm -o export -url http://intranet/website -filename c:\test\backup.cmp
5. Import the file back into Sharepoint using the the following command (this restores a previously backed up file to a defined site):
stsadm -o import -url http://intranet/it/website -filename c:\test\backup.cmp
That’s it! You have moved your website. You need to check user permissions especially if you are moving to a new subsite!
OTHER COOL STUFF: There is an option to -includeusersecurity while you do the export. You can also choose whether or not to pull all the revisionhistory over with the doc libs or not…
For a full view of options for Export / Import, run the following commands to see all your options:
stsadm -o export
stsadm -o import
These will print out all your possible options for doing these two operations!
Labels: backup, microsoft, moss, restore, sharepoint, site level, sps, stsadm
Posted by pamungkas at 2:28:00 PM 2 comments
Microsoft technology can be quite complex but pretty much straight forward. Here I would like to explain how to publish Microsoft Office Sharepoint Server 2007 (Sharepoint 3.0) on an active directory (joined domain) with Microsoft Internet Security and Acceleration Server 2006. Before we get going let me explain a little bit about it:
Microsoft Office Sharepoint Server 2007 (Sharepoint 3.0) is something of a content management solution (think joomla, phpnuke, etc where you need not develop a website from scratch but simply customize whats available and focusing on content you wish to deliver. The concept of sharepoint is quite different from joomla and other CMS as this is meant for enterprise solution, it is usually for intranet because it handles file sharing, forms and lots of features which requires huge bandwidth but of course you would want to publish some content you feel fit to be broadcast. Sharepoint main components are farms (think land/area in which many sites are placed in), site collections (think houses which are placed on the land/area, which can also be considered as website) and of course sites (think rooms inside the house, which is also considered as webpages).
Active directory is something like a domain consist many users inside it which holds user profiles, preferences as well as many other things. The benefit of using active directory is once registered, a user can use any computer (including server) joined in that domain using their username, profile and password stored in the active directory. Users of course are grouped accordingly to their roles such as administrator, approver, etc. and are cotained in a domain controller server.
Microsoft Internet Security and Acceleration Server 2006 is the main gateway for the internet to an internal network. Its hardware consist of 2 Network Interface Cards holding 2 ip adresses (1 for internal and the other for internet). ISA combines many features and roles, mainly firewall and NAT. Think of it as the main gate of a village which is well-guarded and secured.
So, to continue, you must already set all three components in your network as each will play a role in this article.
To start, lets say you have configured Windows Server 2003 R2 on all servers and all are joined in a domain set up in your domain controller server using a single administrator from that domain. On a server lets say you have installed Microsoft Office Sharepoint Server 2003 successfully including the site collection (which holds the main website for example access to the server can be reached by entering: sps.samplesite:80 in the address) and working locally within your network. On another server, lets say you have installed ISA server and configured it and is currently working properly (meaning the firewall rules are working and users in your network can browse the internet).
Now it would be unlikely to tell your network users to access your site by entering sps.samplesite:8011 because it would seem odd and difficult to remember. Go to the Sharepoint 3.0 Administrator, head for Operations>Global Configuration and find alternate access mappings. This holds the information of the url which is allowed to be used to access your website. Set a new public url and enter a good name, in this case sps.samplesite.com and set it as default. Once completed, your website can be accessed locally by entering sps.samplesite.com. However not on other computers. Please note that you should keep the default sps.samplesite:80 11 as if you change it, the whole site will change to the new name which in some cases could cause some problem.
Now head for the Domain Controller Server and go to Administrative Tools>DNS and inside Forward Lookup Zones, you will find your domain name, for example samplesite.com and you will see a list of names of computers registered in your domain. Now, right click on samplesite.com and select Add New Host (A) and enter sps so the FQDN (Fully Qualified Domain Name) would appear as sps.samplesite.com. Enter your Sharepoint server ip address and hit Add. Now you can browse to your website from any computer within the network by entering sps.samplesite.com.
Ok, your website is up and running locally and users can access and share information within the network. So lets take this website to another level so it can be accessed from anywhere in the world with internet access.
Head for ISA server, open ISA Server Management and inside Arrays, you will find the name of your ISA Server and inside it find Firewall Policy (Server_Name). You will find a set of rules created earlier which allows internet access, block specific sites, etc. Now right click on the Firewall Policy and enter new>Sharepoint Publishing Rule. You will be introduced with a wizard, follow it.
First you must set the name, lets say Publish sps.samplesite.com and hit next.
Now you are asked for your publishing type. If you wish to only publish a single web site, well, select it. But I would recommend you to select Publish a server farm of load balanced web servers which allows you to publish other sites within your sharepoint farm without having to configure it again.
Once you click next, you are asked whether you are using SSL or non-secured connections. Since SSL are quite slow and you already have ISA configured, I would suggest you to select Use non-secured connection because you are trying to publish a high-bandwidth website and you dont want to make it slower.
Next you are asked to enter Internal Site Name, enter sps.samplesite.com which you have just set in your DC-server.
Next you are to enter your sever farm name, click on new to add your farm. A New wizard will appear, enter your server farm name and click next, now inside it, add your server by clicking Add, enter your computer name or ip address. Once done, hit next. Now you must enter a method of the ISA to monitor the connectivity of your sharepoint server, I would suggest Send a ping request as it would be the fastest and easiest solution to check. Hit next and your done.
Click next again would allow you to enter the public name details. Enter your public name which is sps.samplesite.com (assuming you have registered the name sps.samplesite.com in your ISP). Hit next to continue.
Now you are asked to select a web listener. This means ISA would redirect users from this listener to your sharepoint website. Hit new, and enter your web listener name. You are once again then asked whether you want to use SSL or not, but if you selected non-secure connection previously, select Do not require SSL secured connection and hit next. Now you are presented with a list of sources which would access your website. Since you want to publish your site, you must assign 1 free public ip address provided by your isp. Click on External and click on Select IP Addresses. A popup will appear, select the third one since you don’t want all traffic heading to your website. Add a new ip and enter your free public ip address provided by your ISP and click add. Then on the web listener click next, which then would allow you to choose how your users are able to login, as starters, I se HTML Form Authentication which then allow users to login using a login page provided by ISA. On the bottom, you are asked how ISA will validate the credential, select Windows (Active Directory) since you have DC-server configured and all users are logged in using joined domain. Hit next and uncheck the Enable SSO since you dont need it and your done.
Next you will be asked for Authentication Delegation, select NTLM Authentication if you have set it in the sharepoint administrator 3.0 or leaved it as default.
Next you will be asked for Alternate Access Mapping Configuration, select Sharepoint AAM is already configured as you have set it in the beginning from sps.samplesite:80 to sps.samplesite.com and hit next.
You will be presented with user sets, if All Users is already in the list hit next, if not then add All Users. Hit next and your done!
You can check your sharepoint website and make sure its working, if not, see if you missed something or if you’re still stuck feel free to leave comments here. Have fun!
Labels: active directory, ad, intranet, isa, microsoft, moss, publish, sharepoint, sps
Posted by pamungkas at 1:59:00 PM 0 comments