In computing, an event is an action that is usually initiated outside the scope of a program and that is handled by a piece of code inside the program.

learn more… | top users | synonyms

5
votes
1answer
115 views

Is there an event when a workflow is added or removed from a list

I need to perform some tasks (in this case, add/remove content types) when a workflow is associated/disassociated with a given list. Is there an event that I can listen for/hook into? I am using ...
4
votes
1answer
579 views

How to call jquery method in different page event like pageload, ispostback, page refresh, onsubmit

In my master page I am calling the jquery method on pageload event. It will do some truncation operation in a SharePoint page. The problem is, if I have add new item to the SharePoint form and if I ...
3
votes
2answers
510 views

SP 2010 JavaScript events

I want to hook into certain events on a SharePoint 2010 site, specifically the modal dialog open and close events. Does SharePoint 2010 trigger any events for these kinds of actions? If so, how do I ...
3
votes
1answer
2k views

What is the scope of DisableEventFiring()?

When I call DisableEventFiring() what events are blocked? All events? On the current item? All events using the current EventReceiver? What happens if two threads change one item and one ...
3
votes
2answers
591 views

ULS Log event email notification

Is it possible to configure Sharepoint such that it emails me whenever an event with exception severity occurs? If yes then how do I configure it?
3
votes
3answers
416 views

Add file watermark as it's uploaded

I've been trying to add a watermark to files as they are uploaded to SharePoint. I tried using several events: ItemAdding, ItemUpdating, ItemCheckedIn. In ItemUpdating and ItemCheckedIn the file is ...
3
votes
4answers
900 views

How to make Grouped View work with the $(document).ready event?

I have a list that is grouped by date: Normally the list is collapsed, when I open one date, items under it are shown, like: [+] 2010-01-01 [+] 2010-01-02 [-] 2010-01-03 item1 item2 ... I ...
3
votes
3answers
782 views

Calculate number of pages in the document in document library

In my SharePoint Server 2010, I have a document library which contails word and pdf files. For each file in the library, I want to display the number of pages in the file as a column. I tried but ...
3
votes
0answers
179 views

Gantt View and Javascript Events [closed]

I'm displaying a Gantt view in a page in like this: <Module Name="DefaultBlank" Url="" Path=""> <File Path="EmployeeWorkspacePages\default.aspx" Url="default.aspx" > ...
3
votes
2answers
2k views

OnWorkflowItemChanged not firing when using SPListItem.Update()

I am experiencing a very weird behavior: After using SPListItem.Update() the OnWorkflowItemChanged is triggered (so the title is misleading), but sends the workflow into a sleep state it never wakes ...
2
votes
2answers
808 views

Attach an event receiver to profile property update

Do someone know if it's possible to attach an event receiver to profile updates? The goal would be to update an external system (such as a CRM) when a user is updating his profile.
2
votes
3answers
927 views

Update column status based on time

I'm creating a SharePoint 2010 application called HR Learning And Development. Basically it's an application to manage every employee trainings. Much like a college environment. I have a SharePoint ...
2
votes
4answers
361 views

Is there any event when restoring a SPWeb from the Site Recycle Bin

With SharePoint 2010 SP1 the Site Recycle Bin feature was introduced. When a site is deleted it appears in this recycle bin. From there the user can restore the site. Now, my problem is that I need ...
2
votes
2answers
3k views

Suggestions for SharePoint event attendee management

I want to manage attendees attending a number of events in SharePoint. The idea I have, and I believe IW site is the same, is to: Create a list for events - basic custom list. Create a list for ...
2
votes
1answer
510 views

Why are my external workflow events delivered twice?

I'm writing a workflow that uses pluggable workflow services to await an external event from an external program. My problem is that, no matter how I re-write it, the external event is raised twice, ...
2
votes
3answers
236 views

How can I know when user changes permission for an item?

Is there any event when user changes item's permission ? I tried to catch SPListItemUpdating event for a necessary list, but it didn't work. Or can I attach to Permission list to handle ...
2
votes
2answers
643 views

Sharepoint development without Visual Studio on server machine

Till now I was doing Sharepoint development with Sharepoint server and Visual Studio on same machine. Now there is a Sharepoint 2010 installed on my client machine with no Visual Studio installed. I ...
2
votes
1answer
43 views

ItemUpdated vs FieldUpdated

I have a user request where a Document Library with Content Approval turned on, wants the name of the person who approved the document. So I created an "Approver" column and want to create an Event ...
2
votes
2answers
140 views

Creation of a “Attend” button under each Event

I would like to ask if somebody could advise me how to create an "Attend" button in the Event form which appears when clicking on an Event. The goal is that there is a list of participants visible ...
2
votes
1answer
355 views

Upload a file into new document upon folder creation

I have a document library in which I want to store folders (people). Each folder have some metadata (person's properties). Then in each such folder I will hold documents (files) associated with ...
2
votes
3answers
180 views

Which javascript event is fired when remove person from people picker?

I want to handle the javascript event whenever the person is removed from the PeoplePicker control in new form of custom list. If any person is removed then corresponding department value should be ...
2
votes
2answers
150 views

How to add an event to a quicklaunch item in SharePoint?

I want to add an event to one of my quicklaunch items in SharePoint, but I don't know how to do that. Or maybe to link the item to a page that would do what I want and then close and then come back ...
1
vote
1answer
23 views

Fire a workflow on item fetching

Is there a way to fire a workflow or event receiver for every item before its fetched from a list automatically? I need to update columns on every item every time a user enter the list or open a form. ...
1
vote
3answers
3k views

Event Receiver in SharePoint using ItemAdded and ItemUpdated

I have an Event Receiver that is supposed to fire when a SPListItem is added or updated in a SPList that is a SharePoint Calendar. I'm using two methods, ItemAdded and ItemUpdating. When I add a new ...
1
vote
2answers
972 views

SharePoint 2007 Calendar event type

Anyone know what a calendar item with an eventtype of 5 means? I think its to do with specific instances of a recurring event but am not sure and can't seem to find a definitive list anywhere that ...
1
vote
3answers
536 views

Hide ContentTypes based on ListItem value

Users seems to have a hard time picking the right document template when the "New" list contains more then 50 items. As one of lists on the web contains a SPChoiceField it should be possible to limit ...
1
vote
1answer
51 views

Event or notification when a View is added to a List

Is there an event or notification or some way to execute a piece of code as soon as a new View is added to a specific List? I need to modify this newly added View (more specifically I need to edit ...
1
vote
1answer
126 views

What are the critical success factors to pulling off an SP Community event like SharePoint Saturday?

With most of my experience being in vendor driven events, I am wondering what everyone thought the critical success factors are for running community driven event such as a SharePoint Saturday (ie. ...
1
vote
2answers
78 views

simple way to run code after solution deployment

Is there a simple way to run code after solution install and before solution uninstall ? I know I can do that with feature but I don't want to use it.
1
vote
1answer
1k views

Loading script on every postback

I am trying to load a script (that remembers the clicked nodes for a xsltlistview in a jquery cookie) on every postback. The events when i postback should be: 1. save clicked nodes in cookie 2. ...
1
vote
2answers
2k views

DisableEventFiring using PowerShell

How can I call DisableEventFiring using PowerShell? C# code like this : Type typeInfo = typeof(SPEventReceiverBase); MethodInfo disable = typeInfo.GetMethod("DisableEventFiring", ...
1
vote
2answers
423 views

How to implement 'on document property update' logic?

I need a functionality in which something happens after the properties of a document in document library get updated. I need some kind of event to fire after the user clicks Save button in edit form. ...
1
vote
1answer
990 views

Mysterious Error 3355 - SQL machine not available every day at the same time

One my users reports that he cannot access our Sharepoint MOSS 2007 installation at midnight each night. I look in the Event Viewer and every day this error appears at 12:25:20 am: I'm confused by ...
1
vote
1answer
2k views

Deploy event receiver to sandboxed solution

I am working with Sharepoint Foundation 2010 on both my development and production machines. My production site is hosted. I am trying to deploy a sandboxed event receiver to the production site ...
1
vote
0answers
212 views

How do you Import a list item from a .cmp file using powershell?

I have implemented the code located at this link to export and import a list to a cmp file using powershell and the SPDeployment functions. While trying to better understand this code I came to the ...
1
vote
2answers
532 views

How to add on event a PeoplePicker Programmatically to a WebPart

I want to add a people picker to my webpart according to an event. To make it simple I want to add it when I click a button. The code would be very simple, like this: protected void ...
1
vote
0answers
16 views

change one of reccuring event from workflow

We need create a workflow which change for example category column(work-->done) When We create in Sharepoint Designer workflow with action update list item, this action change all series, however in ...
1
vote
1answer
59 views

Webpart updating event

is their a way to listen if a webpart has been updated. like a event reciver. i could not find anything about it, perhaps if i added a itemupdated event, for pages that have been edited when the ...
1
vote
1answer
108 views

The “ListFormWebPart” Web Part appears to be causing a problem

I have a list for events in which I have placed content editor web part in "NewForm.aspx", "EditForm.aspx" and "DispForm.aspx". to hide recurrence field using JavaScript The field is hidden ...
0
votes
2answers
443 views

I need a pop-up to appear when a new item has been added to a custom list

We have built a SharePoint environment in SharePoint 2013 Online (in Office 365). Within this environment we have a site with a custom list with various columns. I know we can create a view which ...
0
votes
2answers
269 views

How to detect when user goes from one site collection to another in the same web application?

I have a several site collections in the same web application and I need to handle events when user goes from one site collection to another. I need it for specific actions, like setting "lcid" cookie ...
0
votes
2answers
780 views

Programmatically registering a Sharepoint 2007 event handler

I have an event handler for the ItemAdding event of a document library. However, I cannot get it to handle the event unless I register the event handler using the Sharepoint Event Handler Manager. ...
0
votes
2answers
83 views

Trouble updating list using a custom query

Alright, this is driving me crazy. Ive been searching for a solution for several days but it just seems impossible. To see my updated list with the new query I have too click twice before the webpart ...
0
votes
1answer
338 views

EventReceivers not firing at all

I wrote some code to do some things before and after an item is added to some lists. The solution is sandboxed. I have checked and confirmed, through power shell, that the event receivers are bound ...
0
votes
1answer
276 views

Create EventReceiver for Permission List

I want to create event receiver for Permission list that located at /_layouts/User.aspx page. I think if i knew ListTemplateId of this list I would be able to handle its event. Does anyone know its ...
0
votes
1answer
5k views

SharePoint 2010 events: “SharePoint Web Services Round Robin Service Load Balancer Event: Initialization”

I'm running a SharePoint 2010 environment. Upon checking my eventviewer I noticed I'm regularly receiving the following events: Log Name: Application Source: SharePoint Foundation Event ID: 8312 ...
0
votes
1answer
257 views

Sharepoint Toolpart Event Not Firing

I have created a Sharepoint WebPart, and I have given it a custom ToolPart that includes a Grid (a Telerik RadGrid, to be exact, though that is rather irrelevant). I have populated the grid, and ...
0
votes
2answers
189 views

Switch off web part's events

I'm brand new to Sharepoint. How can I switch off web part's events like click and mouseover over title?
0
votes
1answer
318 views

Weekly events are not displayed in the Calendar, but daily OK

I have some Javascript code, that adds events to the Calendar list using Client OM. If a daily event is added, everything is OK. But there're some problems with Weekly events. The event is ...
0
votes
1answer
578 views

Custom Event Handler to handle Emails in Project Server

I am working on writing an event handler that handles the OnSending event of Project Server in 2010. I am very new to writing event handlers in MS Project and require your help in getting started on ...