I have some code which does the following:
const string KEY_CHK = "Microsoft.IW.PartCheck";
SPWeb curWeb = SPContext.Current.Web;
if (!curWeb.Properties.ContainsKey(KEY_CHK))
{
curWeb.Properties.Add(KEY_CHK, "true");
curWeb.Properties.Update();
}
This runs as a webpart in a master page in Sharepoint 2007.
I would like to be ab...
So you can export a list to a spread sheet, but can you do the opposite? Preferably from an Excel sheet.
...
Hi,
I am using Sharepoint 2007 to host Excel 2007 files generated by my App, so that internal clients can download them. However, I sometimes (and it seems random) the bigger files fail to download (Internet Explorer and Firefox claim the download was successful, but the size of the file is smaller than expected and it is not usable). T...
We are developing a document management solution with Sharepoint 2007 and I'm having some issues figuring out a couple items with the structure. The documents are templates that are used to merge data into letters sent to clients. While the templates will be managed in Sharepoint, the actual letters that will be generated will be handl...
I set up a new scope and passed in the URL for a specific document libary that I created that hold 2 word documents.
For some reason when I start a full crawl, it does not see the 2 word documents.
The word documents have meta data and I've created Managed Properties that map the crawled properties.
I am trying to utilize the Advanced...
Hi,
I am developing an application that uploads documents to sharepoint document library using the object model. My application runs as a windows service under the LocalSystem user. Here, while uploading I need to set the context to another user. I have the user name with me. In MOSS 2007 I have an option to specify the user token while...
I need to swap out the out-of-the-box rich text editor with the Telerik editor for all article page layouts. Unfortunately, I only see three article layouts in Sharepoint Designer. When creating a new article page from within Sharepoint, however, it shows 4 article layouts. The one I see missing in Designer is the one with no option for ...
Using VSTO, I've created a custom tab in the Ribbon designer and added some groups and button controls there. When user clicks one of the buttons, I'd like to connect to a SharePoint site and open a word document from it in Word (an instance is already open). I'm able to connect to the SharePoint site already and have the URLs to the d...
Hi I was wondering which Layout I could use to get the search box in the top right hand corner. I used (Welcome Page) Blank Web Part Page) as the page layout but its missing the search box in the top right corner.
Also another question: How can I add my own layouts to the list in the Create Page, page. Thank you.
...
Hi I just uploaded some .php files to my sharepoint site. But when I go to these pages, instead of showing the page, it is showing the actual script.How can I sovlve this. Thank you in advance.
...
Is there a way to get a site's (site collection) site directory, the one which is defined within the web site collection setting of a collaboration or publishing portal?
Of course I could iterate through all the SPWebs of the site collection but I hope there's a easier way to get the directory as the information seems to be already stor...
I have users in the Site Owners group of a root site, trying to copy (or move) pages between Pages Libraries in two subwebs. The permissions of the subwebs are inherited from the parent, with no changes, so the Site Owners of the root are the Site Owners of the subwebs as well.
When a member of the owners group tries to move or copy a ...
I have a Sharepoint site that is restricted to users that are part of an Active Directory group (by creating a Sharepoint group called “site users” and adding the AD group to that).
Those users are able to create alerts (to which they receive an email confirmation), but they don’t receive any email alerts when things change on the sit...
What I'm trying to do is to create a webpart that has a textbox where you can set the value of a literal (h2) on the webpart and a "save" button that posts back and then sets the literal accordingly. This works with one huge caveat; when the page loads after the postback the literal has not been changed. However if I log what is actually...
I have an aspx page that get copied in the layouts directory of a Project Server instalation. The aspx is a web part page that has a web part zone. How can I add a web part in the markup of the page, within the web part zone?
...
Hello,
I'm building a SharePoint (MOSS) publishing site for employee information on my company website. I have an employee content type and am using the Contact E-Mail Address site column to store an employee's email address.
Want I'd like is the ability to encode email addresses at runtime to prevent the real email address from bei...
I have a list that looks like:
Movie Year
----- ----
Fight Club 1999
The Matrix 1999
Pulp Fiction 1994
Using CAML and the SPQuery object I need to get a distinct list of items from the Year column which will populate a drop down control.
Searching around there doesn't appear to be a way of doing this withi...
I've created an event receiver and have added to the GAC.
How do I bound an event receiver to a specific custom content type?
I need to do this from an XML file:
So far I have:
Feature.xml that points to an Elements.xml file but am not sure about the Elements.xml file.
How do you reference a specific content type? (I have the guid f...
If an employee leaves the company we need a way to find all the places that person has been granted permission in SharePoint. And then of course we would need to remove those permissions or if they are a site owner, change the owner to another employee.
Has anybody done this or have an idea where to start?
...
Hello,
I'm building a custom Content Query Web Part to display rollup information from an employee content type. This content type has a Publishing Image site column called EmpPhoto. My CQWP is working great and all the site columns I need are available.
I am now creating a custom xsl template to render the information correctly bu...