Questions tagged [delegate]

Delegate controls provide a means to specify candidate controls for a particular functionality and to choose a functionality provider for those controls.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Mass User Profile Management

Is it possible to script (or otherwise) a series of changes to a number of Profiles at the same time (such as automatically setup delegates for a number of accounts)
Razzmos's user avatar
  • 203
8 votes
1 answer

Differing ways to make executeQueryAsync calls - Function.createDelegate (is old IE8 code)

I want some understanding on two programming patterns I've seen and when to employ them. The question is about callbacks and delegate. In the first code there are two distinct functions, success ...
Orange Juice Jones's user avatar
0 votes
0 answers

Creating a new search box via a delegate control

We have a sharepoint site where the main home page is branded using our custom masterpage. Some of the subsites don't use the custom masterpage and instead use seattle. Initially when I created the ...
C. Poulain's user avatar
0 votes
1 answer

How do I access a Property argument in a SharePoint 2013 Workflow?

I have a "Property" argument in a workflow. I need to access it and pass it's value to another activity. It seems that I can't do this however. What am I missing? I found this which seems to be ...
David's user avatar
  • 595
1 vote
0 answers

How to delegate task to someone else when task assigned to person is out? [duplicate]

I have a situation where a task is assigned to a person thru workflow. That person is now gone. I know site admin can delegate the task to someone else. But I would like manager (say from a group "...
Rebecca Williams's user avatar
1 vote
1 answer

User control in delegate control

My question is regarding a delegate control called TopNavigationDataSource, normally when you create a delegate control you just define there some new properties etc. But what if I want to deploy ...
Shkipper's user avatar
  • 2,103
4 votes
4 answers

Programmatically adding SharePoint Lists to external SQL database

I need to export a SharePoint list to an external SQL database. My initial idea is to open the list as a datatable and bulk update. I created a console app I can run anytime I need to sync the data. ...
withoutIf's user avatar
1 vote
1 answer

MSOLAPSvc.3 service missing from kerberos delegation

I'm trying to configure PerformancePoint using this article and Analysis Services is running and configured on that box, but the constrained delegation won't let me choose the MSOLAPSvc.3 service ...
Mike's user avatar
  • 12.2k
5 votes
5 answers

Customize a Delegate Control in SharePoint 2010

I created a simple project to Customize a Delegate Control in SharePoint 2010 such as in msdn article ( Source code: Class: using System; using ...
Dmitry's user avatar
  • 51
15 votes
2 answers

Programmatically add JS/CSS to pages

I've created a Visual Studio SharePoint 2010 solution with an ASCX that adds some JavaScript files and CSS to the head of each page; this is based on this article. When I deploy the solution, it adds ...
Alex C's user avatar
  • 4,405
1 vote
2 answers

Delegate control appending to page while feature is deactivated

I have a delegate control that is appending to the AdditionalPageHead. This delegate control is appending a custom class of mine that inherits from Control. It runs some logic, and when appropriate, ...
Tim Gabrhel's user avatar
  • 2,325
4 votes
5 answers

SPSecurity.RunWithElevatedPrivileges working on Windows Server 2003/SP2007 and not on 2008/SP2010

I have this simple code in C# using SharePoint: SPSecurity.RunWithElevatedPrivileges(delegate() { SPSite site = new SPSite("http://localhost:333"); }); When I execute it on a Windows Server ...
user avatar
9 votes
3 answers

How do you "stop" activating a feature within the feature receiver?

I have a feature receiver with some long running code, hence I use SPLongOperation and delegate for better visual appearance. Basically my feature receiver looks like so: public override void ...
Dennis G's user avatar
  • 4,775
3 votes
3 answers

Trouble enabling custom ribbon with delegate control

I have a project with a number of custom ribbons: a couple are bound to contenttypes, some are activated through webparts and some are (sub)site-wide and are supposed to be activated by a delegate ...
Janne Louw's user avatar
2 votes
1 answer

Overriding GlobalNavigation Delegate control

I have overridden the GlobalNavigation delegate control and have been very pleased with the results. Now I would like to remove my global navigation from application pages that display in iframes (...
andrew.petersen15's user avatar
1 vote
1 answer

How do I set a property of the feature control loaded within a delegate control?

I'm currently have a delegate control as such; <SharePoint:DelegateControl runat="server" ControlId="MainNavigation" AllowMultipleControls="true"> I also have a feature which has a element ...
Brian Scott's user avatar
1 vote
1 answer

first visit to site loads page twice

I create a new Site Collection within an existing SP Web Application. The new Site Collection is created as a child of an existing Site Collection (the Root Site Collection in the Web Application) ...
Brian's user avatar
  • 1,612
2 votes
3 answers

SharePoint 2007 Delegate Control and WSDL

Is there a way to create custom delegate control in sub-sites without having to restart the IIS server? I have full admin/SharePoint designer access to the sub-site, just not the IIS installation. ...
TeckniX's user avatar
  • 312
7 votes
1 answer

Delegate Control Tutorial/Walk-through

Where is a good overview or walk-through of creating delegate controls in SharePoint?
SitWalkStand's user avatar