Skip to main content

Questions tagged [events]

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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
206 views

Javacript with MDS loads each way only one time

i like to do a simple javascript execution with MDS and without MDS. To do this, I have used this Javacript only executed on first page load HowTo to get work. The Problem i have, is that the script ...
user25772's user avatar
0 votes
2 answers
45 views

Permission to selective calendar events

I want to set permission for calendar events based on certain column value. Users should view selected events based on their permission. How should i do it ?
Akul's user avatar
  • 125
7 votes
4 answers
12k 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 ...
Peter's user avatar
  • 225
5 votes
1 answer
2k 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 event/...
IMTheNachoMan's user avatar
0 votes
1 answer
1k views

How to display My Events calendar?

I have a calendar on SharePoint page where several people can add meetings and add attendees between them. No problem to show a calendar with a view for all the meetings. However, I need everyone to ...
tsap's user avatar
  • 465
5 votes
1 answer
104 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 = ...
Anil Pal's user avatar
  • 1,079
2 votes
2 answers
2k 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 ...
southskies's user avatar
1 vote
1 answer
185 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?
mhbuur's user avatar
  • 549
0 votes
2 answers
2k views

javascript event when a row is updated/changed in a Datasheet view?

Is there any way to catch update/changes in the Datasheet view of a list in JavaScript in SharePoint 2010? I see their are event receivers but nothing in Javascript.
IMTheNachoMan's user avatar
0 votes
0 answers
448 views

How to add events to Ribbon Buttons

I want to add custom actions to my save or check-in buttons when a page is in edit mode. The IDs from the buttons I want to add events: Ribbon.WikiPageTab.EditAndCheckout.SaveEdit.Menu.SaveEdit....
Florian Leitgeb's user avatar
1 vote
1 answer
786 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?
Florian Leitgeb's user avatar
1 vote
2 answers
388 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 ...
A Beginner's user avatar
3 votes
3 answers
8k views

How do I trigger onchange from a default SharePoint 2010 date field?

I am currently running a function on change when a user changes the value of a choice field. This function uses the date (previously selected) to filter items for another drop-down list. However, in ...
Caola's user avatar
  • 133
1 vote
1 answer
400 views

Moving item on ItemAdded gives Error

IN my event receiver, on Item Added event I have placed my custom method to move document based on a rule. The issue is when a document is uploaded in the Upload dialog I get an error saying item not ...
Shaamil's user avatar
  • 708
1 vote
4 answers
7k 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 ...
matt's user avatar
  • 1,305
7 votes
1 answer
35k 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: ...
TempaC's user avatar
  • 1,657
1 vote
1 answer
156 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 ...
Egor's user avatar
  • 45
0 votes
2 answers
102 views

Don't save the hidden events calendar fields

I hide some fields dynamically on my calendar event (SharePoint 2013) with jquery following a dropdown choice. When I create an event, it saves the default value of each hidden field but I don't want ...
Alex's user avatar
  • 1
1 vote
3 answers
3k 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 from sub-sites itself to the root site list. So I am trying to ...
Hardik Kothari's user avatar
4 votes
4 answers
6k 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?
Hardik Kothari's user avatar
1 vote
1 answer
98 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 'edit'...
Filip M.'s user avatar
1 vote
1 answer
1k 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 ...
users1100's user avatar
  • 3,230
5 votes
1 answer
155 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 ...
Jason's user avatar
  • 587
2 votes
1 answer
70 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. ...
Arturo's user avatar
  • 121
0 votes
2 answers
5k 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 ...
user3070000's user avatar
2 votes
3 answers
1k 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 ...
users1100's user avatar
  • 3,230
1 vote
1 answer
67 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 ...
Kirschi's user avatar
  • 512
0 votes
1 answer
198 views

How to handle events on SharePoint controls?

I have a custom list in which there is a people picker control and a taxonomy control. I want the taxonomy control to be filled automatically whenever any user is filled in the people control. ...
users1100's user avatar
  • 3,230
0 votes
2 answers
120 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 ...
Jukke's user avatar
  • 7
0 votes
1 answer
119 views

Cant access variables assigned in OnPreRender in a click event

Im trying to break down a problem Ive been having for several days. And I think it comes down too the code below. When I assign stuff in OnPreRender, I cant access them with my click event. What am I ...
Jukke's user avatar
  • 7
4 votes
0 answers
370 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" > <...
Ronen's user avatar
  • 119
2 votes
1 answer
100 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 ...
Bismarck's user avatar
  • 1,021
1 vote
1 answer
1k 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 ...
Sascha's user avatar
  • 940
1 vote
2 answers
299 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.
user16261's user avatar
0 votes
1 answer
513 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 PowerShell, that the event receivers are bound to ...
Geeky Guy's user avatar
  • 402
1 vote
0 answers
522 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 ...
Realistic's user avatar
  • 380
5 votes
2 answers
1k 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 ...
Fergal's user avatar
  • 415
0 votes
1 answer
368 views

Workflows not firing as I want them (New vs Changed)

To start with here is my scenario. I have a document library which all users have read-only access to. There are a few trusted people who can upload items to it. A small percentage of the items ...
Zak's user avatar
  • 75
2 votes
2 answers
1k 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 Button1_Click(...
Ziba Leah's user avatar
  • 1,987
2 votes
1 answer
857 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, ...
Mihai's user avatar
  • 354
1 vote
0 answers
17 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 ...
Adam Dybczyński's user avatar
0 votes
1 answer
2k views

SharePoint is not working after setting up the Outlook Web Access

I am working on SharePoint 2010. I am facing problem as SharePoint stopped unexpectedly. I am working on UAT server on client side. So its urgent. We are facing the problem since we were fixing the ...
MAK's user avatar
  • 622
0 votes
1 answer
704 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 ...
andDaviD's user avatar
  • 363
2 votes
4 answers
2k 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 ...
andDaviD's user avatar
  • 363
0 votes
1 answer
9k 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 ...
TempaC's user avatar
  • 1,657
3 votes
3 answers
742 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 ...
Roy Reznik's user avatar
3 votes
2 answers
2k 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.
E. Jaep's user avatar
  • 177
2 votes
1 answer
3k 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. ...
Amc_rtty's user avatar
  • 127
4 votes
3 answers
8k views

DisableEventFiring using PowerShell

How can I call DisableEventFiring using PowerShell? C# code like this : Type typeInfo = typeof(SPEventReceiverBase); MethodInfo disable = typeInfo.GetMethod("DisableEventFiring", BindingFlags....
Alexey's user avatar
  • 73
2 votes
2 answers
224 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 ...
Thoma Bigueres's user avatar