Microsoft SharePoint is a platform and a family of software products developed by Microsoft for collaboration and web publishing. Its capabilities include developing web sites, portals, intranets, content management systems, search engines, wikis, blogs, and other tools for business intelligence.
3
votes
2answers
44 views
Order Retrieval System with a SharePoint Backend
I have an ordering system that uses SharePoint. Below I've included a small snapshot of the system that is used in a WPF form when the user clicks a button to refresh the order listing. The outcome is ...
2
votes
2answers
84 views
Sharepoint Authentication Helpers
I'm working on a rather large SharePoint project that's going to contain helper classes for a variety of item levels (sites, webs, lists, items, etc').
When writing code I'm expecting that the same ...
3
votes
2answers
166 views
CRUD operation class
This code is a chunk of big project, so I am sorry in advance for not adding everything as it's just not possible.
...
8
votes
3answers
410 views
Checking if website exists and adding +1
I am trying to find if a subwebsite exists in sharepoint, and if it does, then add +1.
I think the loop can be improved.
...
4
votes
1answer
198 views
SharePoint and JSON output project
I'm working on a project that reads a series of SharePoint lists and outputs them into JSON file(s) which will later be uploaded via FTP to use on a website.
I'm aware that there's a lot I could be ...
1
vote
1answer
57 views
Change Task Edit form of workflow in SharePoint 2010
I want to change task edit form of the workflow when approver want to approve/reject task. I have created some code to change task edit form. Please review and suggest me improvement. Or it will be ...
2
votes
0answers
230 views
Get username from active directory if you know active directory Id in SharePoint
I have created JavaScript code using REST API for getting the username of a SharePoint user from an active directory if you know the ID. Please suggest any improvements.
...
0
votes
0answers
101 views
Getting ID of Task List item in Sharepoint 2013
I want to do some operation by taking an ID of a Task List item in SharePoint on UI front. I've just wrote some jQuery code by traversing the element. I got the ID and performed operations what I ...
2
votes
1answer
77 views
Transforming complex strings into simple arrays
Some time ago I wrote a series of functions for turning a string of user information from multiple users an array containing the information needed: Name, username and location. The raw ...
1
vote
1answer
238 views
too many conditions
I have this piece of code I developed but it doesn't look efficient to me, can anyone improve it please.
...
1
vote
1answer
364 views
using (IDisposable) in c# factory pattern
How will this example affect the using implementation in GetSite?
...
4
votes
2answers
1k views
Splitting a string of random length
I am currently using this code, but I am pretty sure there is a better way of doing it:
...
3
votes
1answer
253 views
Surely there's a better way to write this statement?
I have the following, quite ugly statement - is there a better way to write something of this nature?
...
3
votes
2answers
10k views
Better way of parsing string to boolean
At the moment I am using this to check a boolean property in sharepoint 2007 using C# and .Net Framework 3.5
...
1
vote
1answer
307 views
How can I improve upon my SharePoint Class?
To help learn the SharPoint Object Model (Primarily for SharePoint 2007) I've been working on a class library with a number of useful functions. I'm a junior developer and this is my first C# project ...
2
votes
0answers
239 views
Is there any better way to insert and retrieve data into SPList?
I am using this code to insert and retrieve:
...
2
votes
2answers
2k views
Getting SharePoint users and comparing them with SPList
I have a custom SPList that has a field Assigned To, now I can add as many items as I want, and they can have same title and ...