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
74 views

Excel Rest c# program giving error

I'm facing these issues while I'm trying to compile a simple example of using the excel rest API: Error 4 The type or namespace name 'RangeResponse' could not be found (are you missing a ...
1
vote
1answer
68 views

Test-SPContentDatabase doesn't return information

I run Test-SPContentDatabase like this: public string Test_Associate(string DbName,string UrlApp) { Runspace runspace = RunspaceFactory.CreateRunspace(); // open it ...
0
votes
1answer
77 views

run SharePoint management shell with c#

I have some ps1 that I need to run it with SharePoint management shell. I dont have the possibility to run it with the traditionnal powershell even i havce the administrator role : public string ...
0
votes
0answers
25 views

How to create WebPart configuration page

I want to make my WebPart configurable by the configuration page, instead of standard toolpart. What I want to achieve, is that after opening the standard configuration of the webpart (Edit Page=>Edit ...
4
votes
4answers
482 views

Custom Sign In Page has an SPContext.Current that is always null

Important Update (based on feedback received so far) I do not have Visual Studio installed on the SharePoint 2013 Server. All code is compiled in Visual Studio 2012 remotely using references ...
0
votes
1answer
119 views

Visual Web Part as consumer of PPS Filter Provider

How do you turn an existing Custom (Visual) WebPart into a WebPart that is a Consumer-capable WebPart of Provider WebParts? References are applenty but very few are actual design patterns that ...
0
votes
0answers
100 views

Is it possible to show a 'My Activity' web part on a SharePoint site if 'My Sites' is not available?

Is it possible to show a 'My Activity' web part on a SharePoint site if 'My Sites' is not available? For example, say there's a SharePoint installation dedicated to particular (custom) SharePoint ...
0
votes
1answer
48 views

Unable to trigger workflow

A sharepoint info path form calls this ASMX web service. The webservice inserts items into a sharepoint list like so... item["Area"] = Area; ...
1
vote
5answers
292 views

How do I get SPUser Object?

I'm unable to get SPUsers/user. As an example I have here a User (Approver): <User ID=\"31\" Sid=\"\" Name=\"Approver\" LoginName=\"i:0#.w|domain\\approver\" Email=\"approver@domain.se\" ...
0
votes
2answers
78 views

How to read and output the XML within an SPFile?

I have this line of code that retrieves an XML file and saves it as an SPFile object SPFile XMLFile = SPContext.Current.Web.GetFile("C:\\Users\\maleem\\Documents\\XMLTest.xml"); I want to get the ...
0
votes
1answer
159 views

Can I deploy a sandboxed solution from Visual Studio to SharePoint online?

Apps are great for many things but hosting a service for a one-off customization of a host web seem a little overkill. I want to use a sandboxed solution for things like branding and data structure ...
0
votes
0answers
112 views

Office 365 Client Object Model, Unauthorized Exception

I have been trying to read the contents of a list from a Office 365 site. I used this link as reference. Code: var clientContext = new ClientContext(siteUrl); SecureString passWord = new ...
0
votes
4answers
100 views

How to develop/test Sharepoint functionality on a desktop machine?

so far I have very profound knowledge in C# developement of desktop applications with Winforms. Now my task is to learn sharepoint. But there are some points I do not understand. As far as I got it ...
0
votes
0answers
23 views

Mapped taxonomy field value

I have a taxonomy field that has 2 subcategories and each subcategory is having their own child categories. If my taxonomy field is mapped with to 'Category B' instead of 'Parent Category'. I am ...
1
vote
0answers
71 views

How do I make a dynamically created SPList read-only in browser, but editable in code?

In code, I create a SPList. I write to this list programatically, but I would like the list to appear read-only for all users (perhaps excluding admins only) in browser only, i.e. I don't want to ...
3
votes
1answer
62 views

Access Selected Items from List View

The following returns selected items correctly from standard list and document library types. var context = SP.ClientContext.get_current(); var items = ...
0
votes
1answer
78 views

Set BooleanField Value

I'm trying to set value for BooleanField on my custom NewForm. If I try to do it from codebehind, visually it doesn't change, but when the item will be saved this field will be empty (neither true nor ...
0
votes
1answer
21 views

Where to store custom logs that will be shown to end users?

I have a custom job that can process various documents. I'd like to show user-friendly logs of the processing summary on a custom CA application page, e.g.: "[time] Document1.docx from site ...
1
vote
2answers
66 views

SharePoint2010 is it possible to set an alert on change to column?

I have a user that would like alerts when specific columns in a list are changed. Is this possible OOTB or does it require some C#? If it requires some custom code, does anyone have resources to use ...
0
votes
1answer
66 views

Sharepoint list to XML including the headings?

We store data regarding Scrum sprint retrospectives in a SharePoint list. I have to create a chart for visualizing this information (which is not part of this topic/problem), so I need to somehow ...
0
votes
0answers
65 views

ListView exception on custom aspx page

I have a button "Upload file", which allows me to upload files to my custom folder inside some document library. I want to add a listview for that library, to see which files were already uploaded. ...
0
votes
1answer
97 views

Add HTML elements programmatically

I think it is a very simple question, but I'm just stuck on it. I'm developing custom page for my SharePoint 2010 portal, and I need to add a button (or other elements) to my .aspx page: <input ...
1
vote
2answers
270 views

Filtering List using CAML query and Binding it to dropdown in C#

I have the following code which retrieves all items from list "Employee Info" and bind it to Dropdown list EmployeeDD. if (!Page.IsPostBack) { DataSet ds = new ...
0
votes
1answer
35 views

SP 2010 Development Concepts

I'm building a custom addon for a SP 2010 instance. I've been able to get a Visual Web Part in visual studio deployed to my SP instance and debug it. As far as I can tell I have all the normal ...
1
vote
2answers
51 views

How to display charts dynamically other than by using MSCharts?

I would like to display a pie chart in a custom SharePoint application page. One option to do this is by using MSCharts and <asp:Chart> tag. However, getting this to work requires modification ...
0
votes
0answers
15 views

Sharepoint online + Crm online integration

I need to create one solution for SharePoint online which get data from crm online. Questions : How to authenticate to crm online from SharePoint online. How get data from crm online to SharePoint ...
0
votes
0answers
31 views

Calling sequential web requests asyncronously server side in SharePoint 2010

I have a SharePoint 2010 page that requires me to call 2 web requests sequentially, and then redirects a user to a website. This is what I have came up with, but have a feeling I am wrong ...
0
votes
0answers
54 views

Design tab and content assist missing for Application Page's aspx file

I have created a simple Application Page which I am deploying in SharePoint 2013. Everything works fine except the Visual Studio 2012 designer for aspx file does not show any content assist for ...
0
votes
1answer
45 views

How to get the version comments using webservice?

IN a Nintex workflow(not really relevant), I need to get the User comments for a page, (the last version comments), however Nintex does not show comments in the item properties. For this I need to ...
0
votes
0answers
95 views

SharePoint hybrid environment app deployment problem

I'm setting up the environment for developing low-trust apps - I want it to be a hybrid environment with SharePoint on premise installation and SharePoint online developer site, so the authentication ...
0
votes
0answers
23 views

Update BCS Value Programatically

Here is my issue, we had a BCS definition with a value being stored as an int. we had to update that definition so the value is now stored as a string. However do to most of our values being stored of ...
0
votes
2answers
62 views

Are farm admin privileges required to update SPContentDatabase property bag?

If I store custom data inside SPContentDatabase.Properties, must I be farm admin to be able to update it? E.g. SPContentDatabase contentDatabase = GetContentDatabase(); ...
1
vote
1answer
37 views

How to enable non-admin users to store custom application data at a farm level?

When a normal (non-admin) users click my custom-made ribbon button in a document library, I would like to write the document library's information to some persistent farm-wide store (or at least a ...
0
votes
1answer
115 views

How to deploy ItemAdded event receiver to the entire farm? [duplicate]

I have created an ItemAdded event receiver that is supposed to process new documents/files after they've been added to any document library in the farm - i.e., I'd like the event receiver to ...
1
vote
0answers
30 views

File name of previous versions when versioning is on

How to get the file name of previous versions in a document library with versioning turned on. The OOB version history UI does not show the previous file name if the file name is changed. Suppose the ...
0
votes
3answers
143 views

Collapsible asp.net control for SharePoint2010

I have a custom Instantiation form with a lot of CheckBoxes in SP2010. Now I've to put the CheckBoxes into different categories which should be collapsible, like you can see in the picture below. Is ...
1
vote
1answer
53 views

From Java World to SharePoint

I am newbie in Microsoft world. In fact I am planning to move in SharePoint development. I am just wondering, to ask some questions before moving to this world. I have knowledge in Servlet, and ...
0
votes
1answer
68 views

Create a sharepoint groups does not work, index out of range

The following code has been tested in dev, test environments and it works perfect. However when I run it on qa environment I get the following exception: ...
0
votes
0answers
154 views

O365 Autohosted App: CSOM read items from a list -> Unexpected response data from server

I have created an autohosted app for O365. I'm using a mix of the CSOM and SSOM. When I try to retrieve items from a list (MyList) with the below javascript code I receive an error: unexpected ...
0
votes
1answer
86 views

Can SPPersistedObject settings be updated by normal users if ran with elevated privileges?

I have a custom ribbon icon "Enlist" deployed to each document library. A normal (i.e. non-admin) user can click this icon; when he does, I would like to permanently save the document library ...
0
votes
1answer
41 views

Creating a .wsp for SharePoint 2013 from a SP2010 compatible project

I have a rather old SharePoint project that I believe goes back to SP2007, and is currently working fine with SP2010. My current process for creating a .wsp for sp2010 is to use WSPBuilder. It seems ...
0
votes
3answers
65 views

How can I provision Custom Default.aspx to sites?

I have created a Custom Default.aspx and through the code you see I can use it as "Home Page". SPWeb web = osite.OpenWeb("/anotherSite"); SPFolder oFolder = web.RootFolder; oFolder.WelcomePage = ...
0
votes
1answer
575 views

Load properties of list item client object model c#

I have a situation where I need to load items from the list and which columns to be loaded cannot be hardocded, as it will be decided on user input. I have following code. ocamlQuery.ViewXml = ...
0
votes
1answer
213 views

Export my Enterprise Wiki aspx pages to a PDF files

Our client has asked if we can add a link to their current Wiki pages named "Export to PDF", so when the user click on the link the Wiki content will be exported inside a pdf file ? i got confused if ...
0
votes
1answer
34 views

Unattended execution of C# scripts

I'm a beginner designing automatizing tasks. I have 2 scripts in C# .These scripts generate two XML docs which are connected and synchronized with two native lists in a SharePoint Portal through ...
0
votes
0answers
19 views

Limit filetype for one Document Library in a site? [duplicate]

I have a document library in our main site that I'd like to restrict to PDF's only. I know I can block filetypes for an entire site, but is there a way I can limit a particular library to only accept ...
0
votes
1answer
64 views

Coding best practice display name vs internal name in itemUpdated event receiver

In an itemupdated event receiver, when referring to list fields, is it better to use the field's internal name, or its display name? Is there a clear guideline or best practice, or is this a ...
1
vote
1answer
92 views

What's the fastest way to develop custom native-looking SharePoint pages?

I'm trying to develop a couple of custom application pages for SharePoint 2010 that will be accessible from the central administration page as a part of my application, basically serving as a front ...
8
votes
2answers
112 views

How do I delimit Property bag values so search treats them as individual searchable words?

currently I'm using the property bag with values that are comma separated something like: web.AllProperties["fruits"] = "bananas, apples, oranges, tomatoes"; Currently search is treating them as one ...
4
votes
1answer
128 views

Logging in Apps, where, and what other options do I have

If I am using a provider hosted app with the code below, its not clear to me how can I monitor logs, provider hosted apps runs in this case in a separate iis site, correct? The System.Diagnostics ...