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
2answers
752 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 ...
5
votes
1answer
130 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
646 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
1answer
3k 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
1k 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.
3
votes
2answers
687 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
525 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
1k 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
1k 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
229 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
3answers
1k 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
2answers
4k 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
4answers
388 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
1answer
635 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
405 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
799 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
51 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
3answers
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", ...
2
votes
2answers
161 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
369 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
298 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
170 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
41 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
1k 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
547 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
2answers
3k views

Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance

I'm running a SharePoint 2010 environment consisting of one Web Front End Server and one Database Server. When I view the event logs on the Web Server I see several errors with the Event ID 6482: ...
1
vote
3answers
868 views

which one is better considering performance, workflow or event receiver?

Using events like ItemAdded, ItemUpdated which one has the good performance on custom list. What can be preferred considering there are large lists?
1
vote
1answer
32 views

How to handle DeleteItem in external list

We have an external list bound to data source by the WCF service. It displays a metadata of "tasks", and for every "tasks" we have in another document Library a special folder. When user selects ...
1
vote
1answer
59 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
136 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
1answer
28 views

Save/Leave Event after editing a Page

I need to fire some functionality from javascript when a user has finished editing a page and saves it or leaves the editing mode. Is there a possibility to catch the event?
1
vote
2answers
40 views

How to trigger an event before a page loads?

In my sharepoint site I want to check whether a user is in sharepoint group or not and then only allow it to go to the home page. This should happen when a user goes to my sharepoint site for the ...
1
vote
2answers
129 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
2answers
715 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
1answer
2k 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
471 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
2k 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
1answer
43 views

How can i write exception errors to a multiline text field in a SharePoint list from an event receiver

I have a document library on my SharePoint online site, when a user uploads a file in the library a c# itemAdded event is triggered to read the file and store the information in a separate list. This ...
1
vote
0answers
294 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
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
62 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
336 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
122 views

How can I call a custom JavaScript function after a form has validated?

I have a form for submitting events to our calendar. What I want is to call a function once the form has validated. Something like this: User edits item User clicks save button Form validates ...
0
votes
2answers
1k 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
1answer
453 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
2answers
288 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
887 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. ...