sharepoint2007

How to talk to Sharepoint: If I only got Full Name

Hi all, It seems like every effort talking to Sharepoint through its web services needs a domain\user name. For example: UserProfileService.GetUserProfileByName(string accountName) The accountName should be domain\user name. If I only got full name (FirstName LastName), is it possible to communicate with SharePoint? Is there any way...

Extract A Solution File From WSS.

I'm trying to figure out how to extract a solution file .wsp file from a SharePoint server. Is this possible and if so how? ...

specific format for a title in a Sharepoint Website?

I need to show in every webpage, the following structure of title: "title of the WebSite/Project" +","+ "title of the 1º site" +","+ "title of the 2º site" +","+ "title of the page" For example, i have a webpage with the title "Last news webpage" and I am in a site with the following path: /news/international/new1.aspx. The site "news"...

how to deploy web.config modifications in a Sharepoint web application?

I have a website in Sharepoint 2007. We use a wsp to deploy our projects. We can deploy dlls, usercontrols, features, but i don't know how to include new lines in the web.config. Which would be a possible way to make changes in web.config? Another thing, how can I include resources (resx) in the wsp? ...

SharePoint: Do not see any Filter Web Parts

Hi, In the official Office 2007 site there are numerous reference to Filter Web Parts. When I try to add one of them, the Web Part list in my Sharepoint doesn't show any Filter Web Parts. Please post if anyone experienced the same and any resolution. Thanks ...

Getting all the webpages of a SPWeb and subwebs that have a field with a value in Sharepoint?

I have a website in Sharepoint 2007. I want to make a query where the field "home" of the webpages is equal to 1 in one specific SPWeb and (this is the important part) its sub-SPwebs. I can make this work with the site in question and not with the subsites. That is to say: It is not recursive but I indicate it in the "webs scope='recursi...

Page Layout does not appear in the page layouts list

I have a feature that deploys a few site columns, a content type (inheriting from Page Publishing Content Type) and a page layout based on my content type. Everything is fine on two tests, performed on different servers, but on the third server, although the feature is being activated correctly and I can see the site columns, content t...

how to know KBs of document in a document library in Sharepoint 2007?

I have a website in Sharepoint 2007. I need to do a query of documents in a document library in a SPWeb/site and to know the KBs of the document. In fact, i have to extract which is the url of the document from a linkfield and then look for the KBs? Anyone can provide the query? or the method? Can i do this with a SPSiteDataQuery? ...

How to modify "Parent Content Type" in Sharepoint2007?

Hi, I have created a New content type with parent content type as "Document" in sharepoint 2007. Later if I wants to modify the Parent content type from "Document" to "Base Page" or something else. is it possible with out doing anything programmtically?? any solution will be appretiated. ...

Could this query to get the size of a doc be improved in Sharepoint 2007?

Well, as I am relatively new to Sharepoint 2007 I would like to improve my way of writing code for this platform, and refine some habits I already have. In the following code what i am doing is to ask the size of a document that is in the "Documents" list, but i have the impression i create to many objects to access the info. Isn't ther...

Configuring Outlook Webpart in Sharepoint 2007

I'm exploring sharepoint a bit. I would like to show the email inbox and calendar of the user logged in. The logging in of defferent users is no problem. We are running Exchange 2003 and we're using the webaccess. This works without any problems also. I added the OWACalendarPart to the default.aspx page. When I set mail server address t...

How to place resx files in App_GlobalResources folder using solutions (wsp)???

Hi everybody, I've made a lot of solutions (wsp) for SharePoint 2007 and I have almost automated all installation steps needed, but there is one thing I cannot automate. How can I make a solution that places resources (resx) files in the App_GlobalResources folder of the virtual application? Thanks in advance. ...

Office SharePoint Server Error 3935

I have a document library which contains a content type that has an expiration policy applied to it. Every day when the Information Policy services runs I find the following in the server event log: Event Type: Error Event Source: Office SharePoint Server Event Category: Information Policy Management Event ID: 3935 Date: 12/10/...

How would you display the menu of a Sharepoint 2007 website in a .net web application out of the Sharepoint context?

I have a website in Sharepoint 2007, as any page I use a .net menu to display the page hierarchy. This works when i am using it in a Sharepoint webapplication because i am in the Sharepoint Context. The problem is that I have a web application that is not a Sharepoint Application but must have the same menu as the website in Sharepoint ...

CustomAction not appearing in ListView web part for SPList that does not inherit permissions

I have a SharePoint document library created and it is set to not inherit permissions from the web. I've configured a ListView webpart to display the contents of the document library and it works fine. I created a user that has the Contribute permission to the document library, but can only read the rest of the site. I created a custo...

Why does SharePoint apply 'exempt from policy' automatically?

I have a custom SharePoint document library which allows items to be added of a custom content type. This content type is given a custom expiration policy based on a meta data column. The expiration policy is the following: <data> <formula id=""Microsoft.Office.RecordsManagement.PolicyFeatures.Expiration.Formula.BuiltIn""> <number...

Sharepoint BDC Error: The title property of entity tblStaff is set to an invalid value

I am just starting to create our Business Data Catalog(s) for our practice management system and I am running into an issue w/ our staff table. Background: I am using Business Data Catalog Definition Editor to create my ADF. I am using the RevertToSelf Authentication Mode. I have tried a few other tables and they seem to work just...

How to create a Global connectionstring to SQL Server Database for my SharePoint site

This is my connection string inside my web.config of my SharePoint site. Its sitting just below the closing SharePoint tag. <connectionStrings> <add name="SAMRASConnectionString" connectionString="Data Source=JOHANDEVVM; Initial Catalog=samrasDB; User ID=Johan; Password=password; Trusted_Connection=True" providerName...

How to get in CAML (Sharepoint 2007) the same results as SPNavigation.QuickLaunch?

I have a website in Sharepoint. To get a list of sites ordered by the exploration, that is to say, ordered by the user in the sharepoint administration, i would write the following code: SPWeb web = CurrentSite.OpenWeb(currentSite); SPNavigation nav = web.Navigation; SPNavigationNodeCollection nodeColl = nav.QuickLaunch; That is o...

Sharepoint 2007 template to site definition conversion

Is there a way to (semi) automatically convert a sharepoint 2007 site template to a site definition? This seems like it could be quicker than building a site definition from scratch, yet provide the benefits of the site definition. ...