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
0answers
29 views

Change master page on runtime from catalagos

I have a question regarding setting master page at runtime, at this time i have deployed master page in the layouts directory, and in the run time, due to some cases i have, ...
0
votes
2answers
348 views

Open in a new window a document stored in SharePoint in C#

My problem is simple. From an aspx page, I need to open in a new window a document stored in Sharepoint. To access the document in SharePoint I need to provide credentials. To open the document in a ...
2
votes
1answer
419 views

Read connection string from Secure store service application

I have some application pages which connect to a DAL done in Entity Framework and connects to sql. However, the developers of this used property bags to store the username, db, password and dbname. ...
3
votes
1answer
104 views

Usage of RootWeb property instead of OpenWeb method

I am referring a SharePoint book and I found the following code snippet in an example in that book. using (SPSite mySiteCollection = new SPSite(mySiteUrl)) { using (SPWeb mySPSite = ...
2
votes
2answers
811 views

Event Receiver, Before and After properties

In an event receiver, Item Was Updated. I want to Compare the Moderation status on ListItems to perform some functionality.This is just some of the code. SPList list = web.Lists["DocLib"]; SPListItem ...
0
votes
2answers
67 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 ...
0
votes
0answers
147 views

Modified People Editor field not reflecting changes in Code Behind

As per my client's requirements I have created a completely custom list EditForm. Everything is working fine except for one thing. If I modify the manager field which is of type ...
1
vote
2answers
140 views

SP2010 Foundation SPServices Jquery Cascaded dropdown

I'm new to SharePoint dev and i've implemented SPServices Cascaded dropdown using Jquery. I managed to get it to work in a subsite of the top level site collection, without problems. But the problem ...
0
votes
1answer
162 views

“Invalid file name” error creating folder programmatically

I get the following error when trying to create a folder: Invalid file name. The file name you specified could not be used. It may be the name of an existing file or directory, or you may not have ...
0
votes
1answer
27 views

Deploying webpart on a single server

How can I deploy web part on a single server ? I have 5 front end servers in my farm and I have a solution file but i want to deploy web part to only 1 server I know i can add it using STSADM then ...
0
votes
1answer
64 views

SharePoint List add comments as formatted text

I'm not sure if this is even possible but thought someone must have done something similar. What I'm looking for is the ability for a user to enter a "comment" and that comment populate another field ...
0
votes
0answers
31 views

Why I can't access to “these permissions” in my custom workflow activity?

This is my code definition. <RuleDesigner Sentence="Add %1 to Object %2(Output log to %3)"> <FieldBind Field="Permissions" Text="these permissions" Id="1" ...
1
vote
1answer
218 views

How do I remove Skydrive and Newsfeed from the suite bar?

Using the following guide: http://blogs.msdn.com/b/findnavish/archive/2013/02/07/sharepoint-2013-customizing-suite-bar.aspx I've added some custom links to the suite bar, the main code from my control ...
0
votes
1answer
421 views

How do I programatically change the form template for an existing list

I've started creating all my SP lists in-code, because I find it to be way more reliable than using schemas. I can ensure lists on-the-fly, change existing fields during development, etc. And if ...
1
vote
2answers
85 views

AssociatedGroups collection of SPWeb?

I'm having a hard time understanding the purpose of adding an SPGroup to the AssociatedGroups collection (or its respective property bag item) of a site other than the group(s) appearing in the quick ...
0
votes
2answers
88 views

SPWeb.ProcessBatchData and checked out file

I'm using SPWeb.ProcessBatchData to update a bunch of items in an efficient way. However, when I try to update files that are in a folder that requires check out to edit, I get errors telling me the ...
0
votes
0answers
51 views

Processing the result of SPWeb.ProcessBatchData

I use ProcessBatchData to update a lots of items in a more efficient way. However, the result of the method is a string that contains some Xml. If an error occurs, there's no exception thrown. ...
0
votes
0answers
65 views

Can't find 'Documents' library on MySite programatically

I'm busy working on a timer job that manages document time to live on a SharePoint MySite collection. Programatically I can access the top level SPSite and iterate through each of the sub webs which ...
1
vote
1answer
72 views

Repeating headers in a 2010 DVWP for printing

I have a DVWP with several hundred rows. I have the print view set up correctly. The format looks good. The one requirement I have and cannot find a solution for is to make the column headers ...
0
votes
3answers
269 views

Finding all items in a list - slow performance?

I've created some code that identifies all of the site collections on a farm and then loops through all of the sites and lists within those collections . It's not ideal, but I've been tasked with it, ...
0
votes
0answers
63 views

Custom Feature Compatibility from SP2010 to SP2013 Question

I have a question concerning the compatibility of my SP2010 custom features in SP2013. Here is my setup: I have a wide range of Farm, Site, and Web features that all interact with each other in a ...
0
votes
0answers
11 views

Is there a single place from where we can read about SharePoint internals?

Is there a single place from where we can read about SharePoint internals? e.g., what is happening behind the scenes when a List item is selected and how office ribbon loads the exact context specific ...
0
votes
0answers
24 views

Best practice for listing all files in a document library?

The Microsoft Best Practices for SharePoint guide recommends not enumerating entire SPList.Items collections or SPFolder.Files collections. I have the need to generate a list of all files in the ...
0
votes
1answer
70 views

Cross-Site Collection query/cache

i wonder of this is technically possible. We have 17000 sites. Some people might have workflows in some of these sites with tasks assigned to them. Lets say a normal user can have up to 20 workflows ...
0
votes
1answer
69 views

How do I get a current content from URL field (or title field) in a workflow programmatically and convert to string?

I get a wrong value from field. private void onWorkflowActivated1_Invoked(object sender, ExternalDataEventArgs e) { SSPFieldUrlValue fieldValue = new ...
0
votes
2answers
214 views

setting cookie in custom webpart

I have a webpart and I need to set a cookie and read write from/to this cookie. I tried to read the cookie using Request.Cookies["Cookiename"] and setting the cookie using ...
1
vote
2answers
414 views

Checking permissions of a user that is in an AD Group within a SharePoint Group

I've been mucking around with checking permissions to a site (SPWeb) for a bit and it seems there is no straightforward way to do this. The SPWeb.DoesUserHavePermissions doesn't seem to care about ...
1
vote
2answers
61 views

Best practice for taking SharePoint data and putting it into an SQL database?

I need to do some reporting across site collections. In order to do this I intend on writing a service layer that crawls SharePoint and puts information about document libraries and files into an SQL ...
0
votes
1answer
154 views

Custom digital signatures (or hash) on list items

I am working for a customer who needs to implement digital signatures (and I emphasize digital, not just electronic) on SharePoint list items. Due to the context of the project, I have the following ...
0
votes
0answers
89 views

consuming WCF web service from client side in SharePoint 2010 Visual Web Part Sandbox Solution

I have a visual web part Sandbox solution. I need to attach an external WCF web service in order to submit data to database using the custom form I have created. Is there a way I can attach web ...
1
vote
1answer
81 views

Displaying a users calendar from Outlook, in SharePoint

I'm wondering if this is possible? Could this be potentially done by writing a web part to go to Exchange?
2
votes
0answers
123 views

How to add Calendar to every “My Sites” Globally?

I want everyone in my company have their personal calendar in their SharePoint "My Site". It means that I don't want to log in with everyone's credentials and go to their "my site" and add calendar ...
0
votes
3answers
587 views

How to redirect to another page using an event receiver?

I want to redirect to another page after an item is added to the list. I have referred many links and found the same alternative that is SPUtility.Redirect("https://www.google.co.in/", ...
0
votes
0answers
32 views

Deploy changes to SharePoint office 365 (app model) takes long time? any shortcuts?

When developing using the new SharePoint 2013 app model, anytime you want to deploy a change in Visual Studio, it has to uninstall the application from the SharePoint site and reinstall and upload, ...
0
votes
1answer
181 views

Adding to a document library using FileUpload

I am having major woes trying to add a file to the document library. I have modified a console app to use a FileUpload control. The major issue is that the file is not added to the library. Then I ...
0
votes
1answer
35 views

NullReferenceException from SPService.Delete()

I have a sharepoint service that inherits from SPDiagnosticsServiceBase. When I deactivate the feature, I have the following code: public override void ...
0
votes
0answers
118 views

Can I curl file with title to sharepoint?

Since file title is required field in my sharepoint folder, a file was in checkout status after I ran the command (curl --anyauth --user NAME:PASSWORD -T filename sharepointfolder) from Unix. My ...
0
votes
0answers
27 views

Get Sharepoint properties in Powerpoint Add-in

I am trying to develop a powerpoint add-in and for one of the opertations i need to pull some data from the sharepoint library where the presentation is stored. I would like to use the object model ...
1
vote
1answer
38 views

SPWebCollection.WebsInfo.Description - always null

I am trying to get Description value from each SPWeb's SPWebInfo object: DataTable _websinfo = new DataTable("WebsInfo"); _websinfo.Columns.Add("Title"); _websinfo.Columns.Add("Url"); ...
0
votes
0answers
18 views

Gain Experinece of Customized SharePoint Solution

Goal: Learn about C# coding in relation to SharePoint 2013 Problem: I have taught the foundation of SharePoint 2013 based on reading these book: Sharepoint 2013 Branding and User Interface Design ...
0
votes
1answer
657 views

How to dynamically populate a dropdownlist in a gridview header row

I have a gridview which contains a dropdownlist in the header row to allow users to filter the data: <asp:GridView ID="GV_Projects" runat="server" AutoGenerateColumns="False" CssClass="mGrid" ...
0
votes
0answers
10 views

File accessed by another process on Production environment so no debugging

I am tired of these exceptions being thrown on production server where I am getting bunch of files from document library and downloading them to a folder directory on server. Worse thing is that it ...
1
vote
2answers
307 views

SharePoint 2013: How to get workflow status?

I need to be able to get the status of a SP 2013 workflow using C#. I've tried getting the WorkflowManager for the SPSite and calling the GetItemWorkflows, but I never get any results from that. The ...
0
votes
1answer
189 views

Upload document to Sharepoint 2013 Online using webservices

I have a client who is implementing customer portals in Sharepoint 2013 Online. The current program distributes documents to the customers by mail. Now we have to upload the documents to the customer ...
0
votes
0answers
85 views

Copy document to another library after populating quick parts

Using a server-side solution, I am generating document and populating its metadata based on the content type. So far so good. The document gets generated and when opened, shows up all the fields which ...
2
votes
0answers
48 views

Cross Browser Local File Viewer in Content Editor Web Part

Is there a way to use the content editor web part (in SharePoint 2010 standard edition) to view files on a network (given an absolute path using and iframe) that will work in IE, FireFox, Chrome, ...
0
votes
2answers
198 views

Get SPUser object

I am trying this code to get SPUser object but it keeps throwing exception of user not found even when it returns true for DoesUserHavePermissions(..., does anyone know any fix or way around ? if ...
3
votes
0answers
250 views

SPAppToken (context token) is null

I have a Sharepoint 2013 on premise environment for which I am developing an provider hosted app using Visual Studio. The Visual Studio project has an app project which contains a custom ribbon ...
0
votes
1answer
71 views

“Could not load file or assembly” error when trying to call an external assembly, although it is in GAC and in the project package

I have been working on an empty SharePoint 2010 project in Visual Studio 2010 and everything works as it should until I try to call a certain external assembly - adding a reference to the assembly ...
1
vote
1answer
933 views

Get context token for SharePoint 2013 provider hosted app (on-premise) with web project hosted on azure

I have an on-premise SharePoint environment for which I'm developing a provider hosted app using visual studio. The web project is hosted an azure. The app project contains a custom ribbon button that ...