To get the snippet for wss workflows:
Using the Code Snippet Manager (if not seen, Ctrl-K, B or Tools -> Customize -> Commands, Tools, drag the Code Snippet Manager to the Tools menu), add c:\program files\microsoft visual studio 8\xml\1033\snippets\Windows SharepointServices Workflow to get the deployment xmls for the workflow (feature.xml, workflow.xml etc).
Tuesday, October 28, 2008
Monday, October 27, 2008
SmartPart: could not load
Problem: After adding a SmartPart on a webpart page, go to select a user control in the dropdwn of the tool pane, some user controls show 'Could not load '.
Soln: Select the user control anyway and click 'Apply', this would provided a detailed error message as to what's wrong. If there is a missing assembly reference (if the UC references it, but missing from web.config etc), then add the assembly reference to the web.config.
Soln: Select the user control anyway and click 'Apply', this would provided a detailed error message as to what's wrong. If there is a missing assembly reference (if the UC references it, but missing from web.config etc), then add the assembly reference to the web.config.
Friday, October 24, 2008
SPD does not open file
Installed a fresh copy of Sharepoint Designer on a new VM. Connect to the site with no problem. See all the files. However, when double-clicking to open a file, NOTHING HAPPENS! Very intruging.
Soln: Must activate the copy of SPD! They are not kidding when they say 'some features are not available'....why not just say 'you can't open the files unless you activate the software' or 'you need to activate NOW'....duh
Soln: Must activate the copy of SPD! They are not kidding when they say 'some features are not available'....why not just say 'you can't open the files unless you activate the software' or 'you need to activate NOW'....duh
Thursday, October 23, 2008
Allow anonymous
To enable anonymous to a moss site:
First enable it on Central Admin -> Application Management -> Authentication Providers, choose the zone, check 'Enable anonymous access'. This does not yet allow an anonymous user to the site itself though. Must also ALLOW anonymous on the site itself: Site Settings -> People and Groups, on the left nav choose 'Site Permissions'. On the Permissions list, 'Settings' -> Anonymous Access, choose the 'Entire Web Site' radio botton....
First enable it on Central Admin -> Application Management -> Authentication Providers, choose the zone, check 'Enable anonymous access'. This does not yet allow an anonymous user to the site itself though. Must also ALLOW anonymous on the site itself: Site Settings -> People and Groups, on the left nav choose 'Site Permissions'. On the Permissions list, 'Settings' -> Anonymous Access, choose the 'Entire Web Site' radio botton....
Wednesday, October 22, 2008
Take out the need for approval before publishing page
Just messing around with the Publishing Portal on my local VM. I decided I don't need to approval my own changes so I decided to take out the approval feature:
Go to the 'Pages' document library -> Document Lirary Settings, remove the workflow. Now there is a 'Publish' button when i going back to the page I was working on.
Go to the 'Pages' document library -> Document Lirary Settings, remove the workflow. Now there is a 'Publish' button when i going back to the page I was working on.
Subscribe to:
Posts (Atom)