Posts

Showing posts from June, 2010

just started working with Infopath

InfoPath 2007 enables the quick and easy creating of user forms. One thing that has bugged my is the "form" word. In english language, "form" means the aspx pages created to insert content, but also mean the "parts" that are added to the page that contain the New/Update/Insert form. So, to create those insertion forms, infopath is really cool cause it creates filled out out-of-the-box templates and may create document libraries or site collumns and content types all together. To use infopath, you can let it use/create a document library or you can create a "form library". Note: as discussion boards, the form libraries will only be available for selection once "Team Collaboration Lists" feature is active on site features. resources http://www.bizsupportonline.net/blog/2009/06/3-ways-deploy-infopath-form-templates-sharepoint/

Login / Register / Recover Password Forms

http://weblogs.asp.net/paulballard/archive/2007/05/01/sharepoint-moss-2007-forms-based-authentication-login-registration-web-part.aspx

Setting up Forum in SharePoint 2007

SharePoint 2007 does not have any forum template or whatever by default. If you do need something like this, for what I've found so far: - Use the Discussion Board List ("Área de Debate" in portuguese) under Communications in the "Create" area from View All Site Content. Note: This list template will NOT be available until you activate the "Team Collaboration Lists" in Site Features. - Use SPForums from CodePlex - Whatch out for updates in the Community Kit for SharePoint Commecial apps: Kwiz.com WebParts http://www.lightningtools.com/lightning-storm-forums-for-sharepoint/default.aspx More info: http://social.technet.microsoft.com/Forums/en-US/sharepointgeneral/thread/0db41a08-f607-4d86-ba36-5706e11f9989 http://office.microsoft.com/en-us/sharepoint-server-help/create-a-discussion-board-HA010086728.aspx

Feature Stapling in SP2010

All sites, excluding blank site <FeatureSiteTemplateAssociation Id="Feature_ID" TemplateName="GLOBAL" /> Blank site <FeatureSiteTemplateAssociation Id="Feature_ID" TemplateName="STS#1" /> Set "Is Hidden" to true if you don't want the feature to appear in site features See full msdn video by Ted Pattison http://channel9.msdn.com/learn/courses/SharePoint2010Developer/BestPractices/DesignConsiderations/

All about PowerShell regular expressions and more...

http://powershell.com/cs/blogs/ebook/archive/2009/03/30/chapter-13-text-and-regular-expressions.aspx

Reuse a Feature Solution

Either upgrading a wsp from 2007 or just simply copy-paste the folder to create a new feature from a starting point of another, will end up in solution and feature id errors such as: (using my2010thingy as the name of the wsp as example) A solution with the same name "my2010thingy.wsp" or id "xxx-x-x-x-xxx" already exists in the solution store. my2010thingy.wsp: The Solution installation failed. If the time lost creating everthing from scratch is unberable, try this: 1) open "my2010thingy.csproj" on the root folder 2) search for feature and package ids at the bottom and change them using the Visual Studio guid tool to trow registry-type guids (keep the old guids somewhere!) 3) go throw the folders in the solution, changing the old feature and solution(now package) ids for the new ones: - Features\[Feature_Name]\Feature.feature - Package\Package.package Now you may try repackaging, but I normally change the ids also in the existing package folders just to m...

get master properties from website

get-spweb http://sharepoint/mtsubsite/perso2 | select MasterUrl, CustomMasterUrl

string to byte array and back

http://www.chilkatsoft.com/faq/dotnetstrtobytes.html

telephony service = hell breaking loose

1) cannot create vpn connections 2) cannot start services such as remote access connection or telephony service 3) cannot open phone and modem options in control panel debug info sc query tapisrv: SERVICE_NAME: tapisrv TYPE : 10 WIN32_OWN_PROCESS STATE : 1 STOPPED WIN32_EXIT_CODE : 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0 attempting manual start in services.msc: "The Telephony service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs." attempting to open phone and modem optionsin control panel: Trying to open phone and modem options control panel throws: "phone and modem control panel can not be opened. you may have a problem starting telephony service." Event viewer data: "The Remote Access Connection Manager service depends on the Telephony service which ...

stop all shares

make sure no folders are available for network users to mess up with your computer 1. turn off all network options 2. turn off shares from all folders (\\my_computer_name to check) 3. stop sharing printers 4. stop "Remote Registry" service for turning off sharing for scheduled tasks 5. turn off sharing for folder C:\Windows\system32\spool\PRINTERS (print$)

activate/deactivate teredo in vista

out netsh interface teredo set state disabled in netsh interface teredo set state client teredo.ipv6.microsoft.com 30 0 check netsh interface ipv6 show teredo