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
925 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
54 views

Migrate recursive checkbox of calendar from sharepoint 2007 to 2013 programatically

I am trying to migrate SharePoint calendar from 2007 to 2013 programatically. Here is my code. using (ClientContext clientcontext = new ClientContext(targetURL)) { clientcontext.Credentials = ...
5
votes
1answer
137 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
4k 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 ...
4
votes
1answer
714 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
9k 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: ...
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
789 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
611 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
405 views

Javacript only executed on first page load

I have javascript code included in my sharepoint site. When I load the page the first time, it is executed, but when I load it the second time, it is not running. It get's loaded in correct order but ...
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
259 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
5k 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
429 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
3answers
2k 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?
2
votes
1answer
49 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. ...
2
votes
1answer
62 views

how can i override the onclick event for events/items on a Calendar using JavaScript?

Right now when you click on an event on the calendar it selects it. I want to override that behavior. I can't seem to find what event to override. Any ideas? I know I can iterate through each ...
2
votes
1answer
731 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
4answers
620 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
1k 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
63 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
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. ...
2
votes
3answers
3k 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
173 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
386 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
444 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
182 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
40 views

Detecting change in users/groups on web

I want to execute some code when the users/groups with access to a web changes (addition and removal of users/groups). What are my options?
1
vote
3answers
931 views

How to get absolute previous url in event receiver?

I have a root site list which I am displaying on several sub-sites using CQWP based on a custom filter and entering the list values frm sub-sites itself to the root site list. So I am trying to ...
1
vote
3answers
4k 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
553 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
35 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
62 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
140 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
136 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
66 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
192 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
796 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
2answers
510 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
2answers
113 views

Prerender executing twice

I have some prerender code that is being used to get information from another list to add into the display of the main list. I am puzzled - the prerender code executes twice. (function () { var ...
1
vote
1answer
68 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
1answer
585 views

Created Outlook event timespans differs in SharePoint calendar

i have the following Problem. When I create an Outlook Event and Sync it to the SharePoint calendar the Event Times differs. For Example. When I create a Event from 8-10 o clock. The SharePoint ...
1
vote
0answers
334 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 ...