Tag Info

New answers tagged

1

Two options come to my mind: Implementing a Delegate Control and deploying it to the AdditionalPageHead control ID (see here and here for reference) a custom action that inject a piece of javascript, through which you check if the user belongs to some SharePoint group (see here an example of how to do that) and otherwise redirect to the homepage.


0

I had implemented a similar functionality in one of our Intranet portal where I had to check if the currently login user is a Contractor or a permanent employee. I had done this with a visual studio web part. You can create a visual studio web part and deploy it to your SharePoint farm. Then insert that web part on your home page and make that web part is ...


0

Have you considered using the Content Organizer feature to route documents to the appropriate location instead of using custom code?


1

Yes this is possible. I have successfully used the the onvaluesetfrompicker function of a Date field, like so: $('#specificDateFieldID').get(0).onvaluesetfrompicker = DatePickerChanged; function DatePickerChanged() { // Do stuff } But this was in SharePoint 2013. It seems from this that it should also work in SharePoint 2010 with custom forms, but ...


0

There is no straight forward way to do this. The reason being when you click the calendar icon. It open the calendar control in an IFRAME. It is not possible to attach any event to elements inside the iframe. And thus we can't capture date click event. When we click on a date, there is a JavaScript running behind the scene which will update the INPUT ...


0

Here's how I did it but in most situations it is best not to disable event firing outside the event handlier/receiver: $web = Get-SPWeb -Identity http://yoursharepointweb #FILL IN WITH YOUR WEB URL $list = $web.Lists["YOUR LIST"] #THE LIST NAME FOR YOUR LIST $item = $list.GetItemById(YOUR NUMERIC LIST ITEM ID) #THE ITEM ID $assembly = ...



Top 50 recent answers are included