May 26, 2009
1) From the Site Collection go into ‘Site Settings’.
2) Under ‘Users and Permissions’ go into ‘People and Groups’
3) On the side menu go into ‘Site Permissions’
4) From the Toolbar click ‘Settings’ > ‘Permissions Levels’
From here you can create and edit your ‘Permission Levels’ aka ‘Roles’.
Took me a while to find this. Hidden in the depths of one of SharePoint’s sub-sub-sub menus. The API uses the term ‘Role’ however elsewhere this is known as ‘Permission Level’.
Leave a Comment » |
MOSS - Microsoft Office SharePoint Server 2007 | Tagged: MOSS, SharePoint |
Permalink
Posted by tidwtf
February 26, 2009
I had recently updated a custom Master Page. When trying to open this Master Page in SharePoint Designer I received this error.
soap:ServerServer was unable to process request. —> The file http://server/sites/site/_catalogs/masterpage/xxxxx.master does not exist.
I could see the page in the list however I couldn’t open it. All other files appeared do be fine and would open normally.
Back in a web browser I tried manually checking out the Master Page from the Master Page Gallery, which worked fine. However when I tried to check the file back in again it errored.
There is no file with URL ‘_catalogs/masterpage/xxxxx.master’ in this Web. at Microsoft.SharePoint.Library.SPRequestInternalClass.CheckInFile(String bstrUrl, String bstrWebRelativeUrl, Int32 iCheckinType, String bstrCheckinComment, Boolean bIsMigrate, Int32 iEditorId)
at Microsoft.SharePoint.Library.SPRequest.CheckInFile(String bstrUrl, String bstrWebRelativeUrl, Int32 iCheckinType, String bstrCheckinComment, Boolean bIsMigrate, Int32 iEditorId)
In the end I had to manually re-upload my custom Master Page into the Master Page Gallery.
This has fixed the issue however I am still unclear as to why it failed in the first place.
Leave a Comment » |
MOSS - Microsoft Office SharePoint Server 2007 |
Permalink
Posted by tidwtf
December 1, 2008
Using VS2005 to deploy a solution that I have been been working on previously without issues. One day it decided to play silly buggers.
“This solution contains two assemblies with the same name, or the SharePoint server already has an assembly with the specified name”
I went into the GAC and deleted all the assemblies related to my deployment. Deployment still errored but with another error (assuming this is progress).
“The solution can not be deployed. Directory associated with feature XXX in the solution is used by feature YYY installed in the farm. All features must have unique directories to avoid overwriting files”
I deleted my feature from \12\template\FEATURES and tried again (another error, but different this time).
“The feature name XXX already exists in SharePoint. You need to rename the feature before solution deployment can succeed”
To fix this you need to completely remove the feature from SharePoint.
go to the administration SharePoint site > Operations > Solution Managagement. Then retract AND THEN uninstall the feature from the same screen.
Deploying then worked. Unsure as to why this started to misbehave and if it happens again I’m just going to uninstall the feature straight away and try again.
Leave a Comment » |
MOSS - Microsoft Office SharePoint Server 2007 |
Permalink
Posted by tidwtf
November 7, 2008
This is how you add a My Link (aka QuickLink) in code.
Add a Reference to Microsoft.Office.Server
Import/using
Microsoft.Office.Server
Microsoft.Office.Server.UserProfiles
Dim context As ServerContext = ServerContext.Current
Dim profilmanager As UserProfileManager = New UserProfileManager(context)
Dim profile As UserProfile = profilmanager.GetUserProfile(SPContext.Current.Web.CurrentUser.LoginName)
Dim qlmanager As QuickLinkManager = New QuickLinkManager(profile)
Dim ql As QuickLink = qlmanager.Create(pTitle, pUrl, pQuickLinkGroupType, pGroup, pPrivacy)
Leave a Comment » |
MOSS - Microsoft Office SharePoint Server 2007 |
Permalink
Posted by tidwtf
September 3, 2008
I have SPItems in a various sub folders in a custom list. I have the subfolder however there didn’t seem to be any easy way of getting the SPList items for this folder. The best/only way I’ve found to do this is by using a SPQuery as demonstrated at winsmarts.com.
Dim query As New SPQuery
query.Folder = mySubFolder
Dim list As SPList = SPContext.Current.Web.Lists(mySubFolder.ParentListId)
Dim items As SPListItemCollection = list.GetItems(query)
Leave a Comment » |
MOSS - Microsoft Office SharePoint Server 2007 |
Permalink
Posted by tidwtf
August 8, 2008
Took me ages to find this – feel like I’m floundering!
Site Actions > Site Settings > Content and Structure
Leave a Comment » |
MOSS - Microsoft Office SharePoint Server 2007 |
Permalink
Posted by tidwtf
August 2, 2008
A great series of articles explaining how to style SharePoint from
http://www.cleverworkarounds.com which in itself looks like a useful place for all things SharePointy.
Remember to visit the other parts of the article.
Turns out that getting the CSS heirarchy right is a bit of a pain as you have little control over the position of CORE.CSS which will always gets rendered last so blows all your custom styling out of the water. So have soldiered on with the proposed solution in Part 3. Essentially using:
<SharePoint:CssLink runat=”server”/>
<SharePoint:CssRegistration name=”<%$SPUrl:~sitecollection/Style Library/zzzGlobalMaster.css%>“ runat=”server”/>
Where zzzGlobalMaster.css is my firm’s generic web styling. I’ve created a custom masterpage which makes us of the styles in this css. Note: This is using my own styles classes, I am not overwriting anything in CORE.CSS at this time. Then using the ’master page settings’ inside SharePoint to specify another CSS stylesheet that handles specific styling for the particular site (which will include CORE.CSS overrides).
Leave a Comment » |
MOSS - Microsoft Office SharePoint Server 2007 |
Permalink
Posted by tidwtf
August 1, 2008
Change the AppPool the virtual directory runs under to ‘SharePoint Central Administration’. Good tip from
blog.thekid.me.uk who has some other useful blog postings too.
Leave a Comment » |
MOSS - Microsoft Office SharePoint Server 2007 |
Permalink
Posted by tidwtf
June 27, 2008
1) Install AJAX 1.0 controls for .NET
2) Install RadControls
3) Install RadControls Help file
4) Open the help file and browse the contents for ‘Integrating RadControls in MOSS’ and follow steps.
Quite straight forward really.
Leave a Comment » |
MOSS - Microsoft Office SharePoint Server 2007, Telerik RadControls |
Permalink
Posted by tidwtf