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

learn more… | top users | synonyms (3)

5
votes
2answers
259 views

ListItem[“Property Name”] VS ListItem.Properties[“Property Name”]

When we try to get list item properties, three ways of getting property I remember are, ListItem["Property Name"] //always work fine ListItem.Properties["Property Name"] // works fine unless I ...
1
vote
1answer
12 views

Which approach to follow if I want to modify the built-in Issue Status Choices?

I have created an issue tracking tool, which come with built-in “Issue Status” field with the following built-in choices ; Active , Resolved & closed. Now I want to have different choices (open, ...
2
votes
2answers
495 views

Windows 8 App using COM dlls of Sharepoint gives error “Cannot resolve Assembly or Windows Metadata file 'System.Web.Services.dll'”?

I have created a sample app using Windows 8 C# XAML to get site info of SharePoint 2010 using COM Dlls. I have added reference of: C:\Program Files\Common Files\microsoft shared\SharePoint ...
0
votes
1answer
17 views

Adding Content Type To Document Library

I am creating a custom list and in that trying to add an existing content type. Below is the code used: testList.ContentTypesEnabled = true; SPContentType testContentType = ...
1
vote
1answer
473 views

SiteMapProvider for MySites' breadcrumb

My question is regarding the site map provider. I have a breadcrumb in the mysites and i use SPContentMapProvider to build the breadcrumb, but the problem is it always shows 'Home', so if im on my ...
0
votes
2answers
8 views

How can I remove excess code in Content Query Web Part Body text on Home page?

I have a Content Query Web Part added to a SharePoint 2010 site home page. I've got it set to pull in all Announcements from all sub sites. I've set the content to pull in the Body content of the ...
0
votes
1answer
12 views

Creating a TimerJob that renames files

I have been tasked with figuring out how to rename files that are coming into SharePoint. We have an External list that does not have pictures stored as blobs or even images within the SQL Database ...
3
votes
2answers
54 views

Unable to close the modal dialog from c#

I have created one custom action. On clicking custom action, I am opening an application page as a modal dialog. The page will allow users to add the data of fields. I have placed two buttons in the ...
1
vote
1answer
763 views

In a SharePoint List I cannot see items that are in a folder

I have a sharepoint list (Not Library), where I am programmatically adding in a folder: SPList list = web.Lists[ListID]; SPFolder parent = list.RootFolder; SPFolder child = ...
0
votes
1answer
12 views

Enable programmability in InfoPath 2007

I have a 2007 InfoPath form that I'm hosting on my SharePoint (not web-enabled) to which I'd like to add some C# code to make it more robust. I am well aware that InfoPath 2007 is programmable with a ...
0
votes
1answer
15 views

How to Retrieve the shared link of a file Programmatically

I am using C# to programmatically access files on our Office 365 SharePoint site using the Microsoft.Sharepoint.Client.dll. In one of our shared folders all the documents are Shared with anyone with a ...
0
votes
1answer
18 views

How to add restrictions on who can delete a wiki page

We are running an enterprise wiki site collection, now to improve contributions we have defined all users as Contributors to the wiki site, so they can add, edit, delete any wiki pages. And we have ...
0
votes
0answers
10 views

Lookup field not based on the ID or value, but on a custom column [on hold]

I have a list field that references items in another list (using Sparqube Lookup Classic if that matters). Let's call the 2nd list Category and the 1stBook. The data that I insert into Book come ...
1
vote
1answer
476 views

how to update properties of item in doc set with client object model

I've been able to create doc sets and upload files to it with the client object model. I am having difficulty updating the properties of the files in the doc sets. Here is what I've tried: public ...
0
votes
1answer
16 views

How to get Project Site connected with project in Project Server 2013?

How I can get the Project Site connected with particular project in Project Server? Because I want to get all SPLisItems from Risks List related with concrete project site of project server. Thank ...
0
votes
1answer
26 views

Download file without taking ownership

I have a few files in a document library which were never checked-in. I have that list of files available through the document library settings page or in c# using SPDocumentLibrary.CheckedOutFiles ...
5
votes
2answers
4k views

SharePoint 2013 email templates

I have a SharePoint 2013 instance that I would like to modify the default email template. I want to put my company's logo as a header and the company contact info as a footer on every email that is ...
0
votes
0answers
2 views

can SPCheckedOutFile have metadata associated with it

I am trying to get all the checked out files which do not have any major versions checked in. Is it possible that despite of having no major checked-in version, the file ma still have custom metadata ...
1
vote
1answer
24 views

Get Checked out items in a document library

I have a document library which has 18000 items. When I go to the All Site Contents page, I see 18000 items against the document library name. But when I query the items in C# as foreach(SPListItem ...
0
votes
2answers
349 views

Notify item update by JavaScript

I created a popup window that updated the metadata information of my item. When the operation of updating is complete I would like to close my popup and show the notify alert. I succeed to close the ...
4
votes
1answer
2k views

System.ServiceModel.ServiceActivationException “A relative URI cannot be created because the 'uriString' parameter represents an absolute”

The client object model code in my application is throwing the following exception. How to solve it?. System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be ...
5
votes
2answers
1k views

SharePoint 2007/2010 Custom Access Request Page

Does anyone know were to start to create a custom Access Request Page or how to modify the default behavior. We would like to use our own workflow behind the Access Approval for a specific site ...
1
vote
0answers
42 views

Unable to show a list of all the sub sites under a parent sub site

I have team site collection, where I created a parent sub site. Then under the parent sub site I created many sub sites. Now I need inside the parent sub site to show a list of all sub sites under it. ...
3
votes
1answer
3k views

Find a farm's database server and instance in PowerShell

How can I find the SQL server name AND instance where my databases are stored using PowerShell? Assuming I am not using an alias and can't check cliconfg. In servers in farm, I can see the server ...
1
vote
1answer
28 views

Getting the User Profile Picture URL by E-Mail via CSOM

I've seen many questions about how to achieve the User Profile Picture URL via the CSOM (Client-Side-Object-Model) API. However none of the solutions worked or they required the Account Name of the ...
0
votes
0answers
17 views

Developing a custom menu web part for SharePoint 2013

I've developed a 3 tiered custom menu using visual studio and the standard 'Menu' control available from the toolbox. My code reads from an xml file and creates menu items dynamically within a web ...
4
votes
3answers
6k views

Error occurred in deployment step 'Recycle IIS Application Pool': Invalid namespace

I am trying to test developing for SharePoint 2010 on a Windows 7 machine. I created a new empty SharePoint project, added a web part and deployed, which worked fine. When I try to run or deploy a ...
3
votes
0answers
30 views

CRUD between two Sharepoint farm

Please give advice for this case. I have two separated SharePoint sites: The first site is in one SharePoint farm. On this site we contain the private data and we use this site as the internal site. ...
0
votes
3answers
71 views

managing the relationship between Parent and its child content type

I am a bit confused about the relation between Parent and child content type. Now I want to create a new content type that have the Issue as its parent content type. So how I should be managing the ...
0
votes
1answer
724 views

Web service timeout issues

I've seen some posts on timeout errors but nothing I think that will help me. I have a custom web service running on a sharepoint server. It creates site collections and is being called through a ...
1
vote
1answer
428 views

How to programmatically access and manipulate Discussion item and replies?

How to access and manipulate Discussion item and replies? I have a discussion board that has a check box, based on the input I switch the permissions of that discussion post for a specific user (from ...
3
votes
3answers
2k views

How can I implement SharePoint JSGrid filtering and grouping functionality?

I am working on SharePoint JSGrid. I am able to implement the sort functionality in JSGrid. Now I want to implement the grouping and filtering in my custom JSGrid. For filtering we have to attached ...
0
votes
2answers
42 views

SharePoint - Reference file in item properties

(Disclaimer: This is the first time I deal with SharePoint) I am trying to add a file in SharePoint and reference it in a property of a list item. The property type is 'Sparqube Lookup Classic' (I ...
1
vote
2answers
49 views

Modifying a site column at the list level versus creating new site columns

I have the following questions on when/why to use these approaches:- To create a new site column Or to use the same site column, but modify it at the list level. I have these business case ...
11
votes
4answers
5k views

How to get List by Url using SharePoint 2013 CSOM

SharePoint 2013 CSOM API contains the following methods for accessing List object: ListCollection.GetById method - returns the list with the specified list identifier ListCollection.GetByTitle ...
-1
votes
1answer
18 views

How to import SP.ListOperation namespace in C#?

I would like to use the SP.ListOperation.Selection Class but I cannot import it in C#. I am building a SharePoint 2013 solution.
1
vote
1answer
40 views

Site permission settings will not be included in the site template

I have saved a sub-site as a template. Then, I created a sub-site based on the template. But it seems that the template will not include the site permissions. So can anyone provide any advice on this? ...
1
vote
2answers
468 views

Check Home Page Sharepoint 2010

How to check page is homepage/default page programmatically in C# sharepoint 2010
2
votes
0answers
33 views

how to manage sub sites that have been created using a template in a centralize way

I am facing problems in understanding how i should be managing sub sites that have been created using a template. now i have followed the following process :- I created a new sub site (the sub site ...
0
votes
0answers
10 views

Select a single first field and include additional selected fields

I've got a table of lots and am wanting to bring back one lot but currently I can return many due to the fact that they have different dates with the same lot number. The query I'm running is: ...
2
votes
3answers
39 views

How to retrieve profile-picture and workphone from user profile

How can I get profile image from spuser and also phone? Guid fieldID1 = item.Fields.GetFieldByInternalName("User").Id; string valueField1 = item[fieldID1].ToString(); SPFieldUserValue userField = ...
0
votes
2answers
36 views

Listing all users in user profile service using UserProfileManager and Linq

I'm trying to return a list of all users in the user profile service using linq. Unfortunately I can't see a way to do this, and have become stumped at the following: public List<SPUsersEntity> ...
0
votes
1answer
467 views

SharePoint Claims authentication on external zone : Could not retrieve the IIS Settings. Parameter name: context

SPClaimsUtility.AuthenticateFormsUser(Context.Request.UrlReferrer, txtEmail.Text, txtPassword.Text); This authenticates the user properly and lets me through to a page that needs authentication on ...
0
votes
0answers
19 views

Modifying the default content approval process for a wiki page

I am working on an enterprise wiki site collection inside SharePoint 2013. currently i set the following content approval inside the versioning settings:- So currently I have 1-phase approval where ...
0
votes
0answers
6 views

List make by WP with erro in filter

Good morning, I have a WebPart that generates a list from a filter. however I am having trouble ordering DATA (publication). example: 10/10/2014 02/02/2011 02/01/2014 using System; using ...
2
votes
1answer
165 views

How to only get username

How could i get only the username from my list? Right now my username gets displayed as a string so there are some characters in front the username that should not be there? 18;#Bart Simpsson like ...
1
vote
0answers
25 views

Reading a value from site collection list inside my workflow

I have created a site template which have a workflow inside it.and inside the template there is a workflow, now i need the workflow to be dynamic in a way that can work with newly added sites. the ...
0
votes
1answer
14 views

Approving workflow programaticaly

I am trying to reject a workflow task programaticaly but the problem I am facing is the outcome is not being updated.below is my code ht[SPBuiltInFieldId.PercentComplete] = 1.0f; ...
2
votes
1answer
2k views

Register a global.asax into a SharePoint Site

I'm trying add a .asax file into a SharePoint site. I've been following this tutorial. It's quite simple but I'm new to web programming, and I didn't understand where I must insert (and how) the ...
0
votes
2answers
579 views

Upload attachment in a document library using c#

Our client is running CRM and SharePoint and they would like to upload attachments from CRM into SharePoint 2013 Online. I started searching the web for some help and I came to this Microsoft page. ...