The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

learn more… | top users | synonyms (3)

0
votes
1answer
143 views

Workflow security exception with custom dll

I have a workflow that uses a custom dll that I built. I have placed the dll into Inetpub website bin folder. custom dll has 2 classes XMLUtilities now refferd to as xml Sharepoint helper now ...
2
votes
2answers
538 views

Workflow for CustomList

I'm creating a Sequential Workflow on a CustomList in viualstudio 2010. My problem is: when I publish the workflow, the list forms (for NewItem, EditItem and so on) get changed and now just contain ...
0
votes
1answer
200 views

ChangeLayoutMode(null, true): what are the parameter names?

This saves a page you're editing in SharePoint: <a href="javascript:ChangeLayoutMode(null,true);">Save</a> What are the names of the two parameters to this method? More important, what ...
2
votes
2answers
289 views

how to show infopath form in an email

is it possible to have a form in an email? I'm needing to create a form that will be sent to a user based on a workflow variable. This email will have two field in it that will need to be filled out ...
1
vote
0answers
59 views

Everytime I try to add an existing or new project to my SharePoint 2010 Solution it says “File not Found”

Everytime I try to add a class library to my SharePoint 2010 solution (which consists of about 4 other projects), I get the error: Could not load file or assembly 'AF.XMLMapping, Version=1.0.0.0, ...
0
votes
4answers
1k views

Error: The Web application at http://[URL to SharePoint]/ could not be found?

I have googled it but am unable to find the correct answer to this problem. Below is my code that I used in my development server. Please tell me the exact solution related to that problem: The ...
1
vote
2answers
3k views

Lists.asmx returning 401 Unauthorized

I extended the DataFormWebPart to use a SoapDataSource and get the data from the lists.asmx webservice it works fine as long as i access data from the same webapplication but as soon as i try to get ...
1
vote
1answer
30 views

How to code against the navigation area next to the site actions

I'm trying to create a custom navigation area. Is there a way to get a custom coded control/web part, ect in this area? Any advice would be greatly appreciated. I'm trying to get a "most visited" ...
2
votes
1answer
666 views

UP sync - External content type picker doesn't show content type

I create simple content type in SPDesigner. After that I gave all privilegies to that content type (in CA->BDCService; for my user account). Also this content type has both necessary (ReadItem and ...
1
vote
1answer
746 views

How to create a custom web part using MVC

Is it possible to create a custom web part using MVC?
4
votes
1answer
2k views

Open modal dialog from code-behind with parameters

What I need to do is to open an aspx-page in a modal dialog when the user clicks on a asp:button. Currently I'm doing this: (Markup) <asp:Button runat="server" ID="TestButton" Text="Add ...
1
vote
5answers
1k views

SP2010 Show lists and libraries from a top site in subsites

I would like to create a web part page or custom layout page in several subsites which is displaying lists and libraries of my top site (root site collection). One of the solutions I found was the ...
2
votes
2answers
364 views

Programming without being at the SharePoint Server

From my understanding, if one need to use Visual Studio to do some programming (be it C# or VB) on the SharePoint Server, one need to be at the Server that have Visual Studio, SharePoint Server and ...
0
votes
2answers
156 views

how to calculate the other country time. using my local machine time in c#?

Example: My system having India time and my array contains all the countries GMT time. How to do the calculation to get the other country time? if my time is 5.00 P.M if the country is Pakistan it ...
2
votes
0answers
250 views

SPLongRunning in page_load without redirect

Is there a way for SPLongOperation not to reload the page but only to hide the processing-Wheel? My scenario is that when I open a model-dialog I want to show a loading/processing information to the ...
1
vote
1answer
302 views

Error in deployment from VS2010 - The type initializer for 'MyClass' threw an exception

When trying to deploy a SharePoint 2010 solution from Visual Studio 2010, I'm getting the following error: Error occurred in deployment step 'Add Solution': The type initializer for 'Singleton' threw ...
0
votes
3answers
4k views

Add values to lookupmulti field in c#

I want to add values to a lookupmulti field with c#. the form shows the field correctly but my code just won't work: SPList list = SPContext.Current.Web.Lists["testlist"]; SPListItem item = ...
2
votes
1answer
315 views

Security Exception - Trying to load MySite Blog

When I try to run this async query it fails: private void SomeFunction() { Thread thread = new Thread(GetBlogInfo); thread.Start(); } private void GetBlogInfo() { ...
1
vote
2answers
58 views

DispatcherTimer in Sharepoint 2010 [closed]

My dispatcher timer is not calling on timer_tick event. it's my code: DispatcherTimer timer = new DispatcherTimer(); timer.Tick += timer_tick(); timer.Interval = new TimeSpan(0,0,0,10); ...
5
votes
1answer
351 views

Client Object Model SystemUpdate

I need to have the SystemUpdate functionality from the Client Object Model. Is there any way I can do it since the ListItem.SystemUpdate() does not exist. Another solution would be to disable the ...
3
votes
3answers
3k views

FeatureActivated event receiver giving access denied when trying so set WebApplication property

When a Site event feature is activated I am trying to set some properties on the web application. My feature uses this value. public override void FeatureActivated(SPFeatureReceiverProperties ...
1
vote
3answers
2k views

Not receiving e-email notification when creating new tasks in a custom sequential workflow

I am setting the AssignedTo and SendEmailNotification properties for the SPWorkflowTaskProperties object, the task gets created and assigned correctly but no email is received. How can I check if ...
2
votes
4answers
512 views

why doesn't SPMetal generate Publishing Schedule columns?

Happy 2011 experts, I have a sharepoint 2010 publishing site that I use SPMetal to generate classes to. The problem is some fields do not get generated like: PublishingStartDate and ...
2
votes
1answer
441 views

Using Foundation Search and Search Server Express simultaneously

i am using the Sharepoint api to return search results which i am getting with Microsoft.SharePoint.Search.Query.KeywordQuery. On my development machine this is working fine. On the Server where ...
3
votes
2answers
179 views

How to programmatically detect if a solution is deployed?

Situation: There's a sharepoint farm with ~60 solutions. On some not specified time someone can deploy a new /update an existing solution to this farm. Everytime a deployment is successfull I need to ...
3
votes
3answers
219 views

How do you organize your sharepoint developments?

I am starting to do a lot of sharepoint development lately, and some of the things that I have done and I dont like is to use sharepoint designer directly for things like pagelayouts, lists ...
2
votes
2answers
119 views

SP 2010 Views on a list depending on the access rights

Is there a possibility to link views on a custom list to the access rights on this list? E.g. I have a custom list with information stored in diffrent columns I've created two views: one for owners ...
1
vote
2answers
450 views

FlexPaper in SharePoint 2010

I'd like to create a custom web part with the FlexPaper component so we can use it in SharePoint 2010. The user would go to the web part properties to select a SWF file (converted PDF) from the Site ...
2
votes
2answers
334 views

display a warning message visible on every page

Occasionally we would like to display a warning message on our Sharepoint site, for example to warn in advance users of scheduled downtime or that the site is temporarly overloaded. This message ...
0
votes
1answer
157 views

Right Management

I'm planing a sharepoint application. One part of the solution should be a list. Each list item should have two persons who are allowed to make changes on it (plus two Administratorgroups). The ...
2
votes
1answer
2k views

How to remove a permission to a SPPrincipal on a Item (programmatically)

I'm trying to work with privileges on elements of a list. I want the item to mantain the same privileges for all SPPrincipal I don't modify. This is the code public static void ...
2
votes
1answer
67 views

how to get webapplication from a site

I have a site object. How do I get the webapplication from the site? I do not have spcontext available. I am using SharePoint 2010. I am trying to do this in a feature event reciever when my feature ...
1
vote
2answers
439 views

Sharepoint site throws exception on clicking save button after uploading a file

I have deployed an event reciever with item added event on a document library in sharepoint site. In item added event I am calculating the number of pages for the uploaded document and updated a ...
1
vote
1answer
293 views

File Attachment control events in InfoPath 2010

Does anyone know of any kind of click events for the File Attachment Control in InfoPath 2010 forms? Here is a link to the control http://msdn.microsoft.com/en-us/library/dd958468(v=office.12).aspx. ...
0
votes
2answers
667 views

FeatureInstalled event receiver acessubg spweb

I am trying to add a propertie to a WebAplication on FeatureInstalled event receiver. public override void FeatureInstalled(SPFeatureReceiverProperties properties) { ...
1
vote
2answers
351 views

A way of setting custom configuration properties that can be changed via power shell

I have a few custom settings for my feature that I am creating. I want a way to populate these values on install with some default values. However if needed an admin should be able to change the ...
2
votes
3answers
2k views

SP2010 Activate feature through code

I'm using the below code to activate the "SharePoint Server Publishing Infrastructure" feature for a site collection. My code runs fine when I'm logged in as a site collection administrator. The ...
2
votes
1answer
125 views

Is there a way to execute commandline-arguments via code from a feature/webpart (Sharepoint 2010)?

I mean, for example, something like a deployment. Is it possible to force something like this from within a webpart using the "standard" sharepoint functionality? Using the central-administration is ...
1
vote
1answer
675 views

How to impersonate specific user in sharepoint foundation by code

I'm trying to impersonate another user by code.. I know in Sharepoint Enterprise there's a method which uses the UserProfileManager to impersonate... I wrote down this "trace code" without know if it ...
1
vote
3answers
1k views

SharePoint InputFormTextBox saving values to sharepoint list

I am using a input form text box here is the tag </asp:Label><SharePoint:InputFormTextBox runat="server" ID="respRichTextBox" ValidationGroup="CreateCase" Rows="10" RichText="true" ...
2
votes
1answer
271 views

How to implement chat using XMPP in SharePoint?

I need to implement chat using the XMPP protocol in a SharePoint site. Can anyone provide sample code, or recommendations about how this can be done?
0
votes
1answer
185 views

accordian view for webparts

is there an out of the box feature / other that will allow me to create a view to give an "accordion" effect to hide and show webparts? example: section1 webpart 1 webpart 2 webpart 3 ...
2
votes
1answer
769 views

How do I remove all users from an SPGroup object?

I have an SPGroup object populated, how can I remove all members from the group, so that essentially I start with a fresh group. I can't delete and recreate it, so I need a way to work with the ...
2
votes
2answers
183 views

Does installing sharepoint on local computer limit other .net development

we have sharepoint on a dev computer, but I was wandering if I install it on my local machine will sharepoint overtake iis? will there be any limitations when doing other web applications development? ...
1
vote
0answers
257 views

SPSite.Usage.Storage And SPSite.StorageManagementInformation Are Returning Different Values

When every I use SPSite.Usage.Storage and I use SPSite.StorageManagementInformation with to retrieve all the documents for the Site Collection then I sum the sizes of all the documents then I get a ...
1
vote
2answers
377 views

GetSubwebsForCurrentUser()

is there a way to pass a parameter to the GetSubwebsForCurrentUser() function? I'm needing to get the subwebs for specific users - not the current user. Any help would be appreciated. Thanks,
3
votes
1answer
112 views

Activating programmatically custom script on page load

I have small problem. The thing is I need to have a method on page load that will execute one script only if web.allProperties has one property, but I dont know how to call that script? So this is ...
2
votes
1answer
260 views

Sharepoint Toolpart Values Not Being Retrieved

I am looking to add custom properties to a tool part. I've been able to add the textbox as desired. I've been able to enter values and display it in the webpart. The problem is when I edit the ...
2
votes
1answer
86 views

Allowing the user to resize text - size is then set across all pages?

I'm wondering if there's a way to have a simple increase/decrease text option in Sharepoint, that doesn't purely rely on Javascript, ie if you set it on one page, any other page you visit will have ...
1
vote
5answers
1k views

for vs foreach when iterating over SPWebCollection

I was just wondering which of the two methods below is more popular, when it comes to iterating over a collection of SPWeb objects. for (int i = 0; i < SPContext.Current.Site.AllWebs.Count; i++) { ...

1 24 25 26 27 28 36