The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.
0
votes
1answer
10 views
rootFolder.ContentTypeOrder throws unexpected error for sandbox solution
I'm trying to add content types into a library list, in order to make "Visible on New" option ticked.
Firstly I enabled contenttypes in the library, then I want to do this:
SPFolder rootFolder = ...
0
votes
1answer
22 views
Could these errors be the cause of my timer job problem?
I have a timer job that runs every night at midnight.
The first part of the timer job is to iterate through every single site in a particular site collection (there are many).
The second part of the ...
1
vote
1answer
26 views
SPListCollection.EnsureSitePagesLibrary() throwing SPException (specified title already exists in this Web site)
I am attempting to call SPListCollection.EnsureSitePagesLibrary() upon FeatureActivated. The method is throwing the following exception:
Microsoft.SharePoint.SPException: A list, survey, ...
2
votes
1answer
21 views
How to Retrieve the Data from an Individual Blog Post
I am trying to brand a blog post according to our standards, and to do that I have simply created a custom visual web part to take the place of the SharePoint default. What I am wondering is how am I ...
0
votes
1answer
20 views
Detected use of SPRequest for previously closed SPWeb object
I've got an event receiver that fails, seemingly inconsistently. I've checked the ULS logs and I can see the 90hv Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb ...
0
votes
2answers
22 views
Can we find out in Event Receiver group Users like in a CS file
In CS file I used this code and it's worked:
SPWeb site = SPContext.Current.Web;
int managerGroup = site.Groups["Właściciele witryny Main"].ID;
if ...
1
vote
1answer
27 views
Multiple files upload to document library simultaneously & Custom property
I have a custom SharePoint 2007 document library which has a custom boolean column "Is it Important".
It works perfectly for all documents if I upload documents one by one regardless of if its a word ...
0
votes
2answers
40 views
get string from another method after setting it with SelectedIndexChanged event of asp-net dropdown
So I'm creating a contact form for my event management system at the moment.
I've got a Visual Webpart including
private string selectedEmail;
as a variable after declaring my class in code ...
1
vote
0answers
15 views
E-Mail appearing in 'My Settings' but not in user profile?
As title suggests, there's a user who has confirmed he has his e-mail populated based on what they see in 'My Settings'. However, when I'm trying to do something in code with their e-mail I can't ...
0
votes
1answer
39 views
Feature activation error: System.InvalidOperationException: Operation is not valid due to the current state of the object
i have taken one List Email event receiver(Type is EmailReceived) and that event receiver attach with document library. when i am activate that feature got error.
i have check on ULS Viewer. error ...
1
vote
1answer
19 views
Reupload the document (update)
I'm writing now code agains the document library, that code adds files to the document library. Basically what I want to do is, when the particular file already exists in the document library with the ...
2
votes
1answer
34 views
Send emails to multiple recipients via contactform webpart
Happy new year everyone,
so I'm creating a contact form webpart for my event management system at the moment which has a checkbox "send to all attendees". I'm using the SPUtility.SendEmail method to ...
1
vote
1answer
60 views
The remote server returned an error: (401) Unauthorized sharepoint
Here is my scenario:-
I have my Sharepoint server hosted on Domain A and I have my machine on Domain B.
There is not any trust between Domain A and Domain B.
I am trying to access the Sharepoint ...
2
votes
2answers
65 views
Updating a document library list ltem in ASP.NET code behind file
I am trying to update a list item's custom property in asp.net code behind file but getting Error 500 without any explanation or further error, while debugging I realized it happens while calling ...
2
votes
0answers
27 views
Help Return Lists With With No List Items
This is my first time posting and I'm looking for some help, so hopefully someone has an answer. I used the search, but didn't find anything.
I created a custom list definition, and content type ...