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
2answers
89 views

Cannot return an item's Author and Editor properties in CSOM

I have a utility which makes updates without affecting the ModifiedBy/Editor field. Before any updates are made, I store the user value in one of two ways: CamlQuery camlQuery = new CamlQuery(); ...
0
votes
2answers
99 views

How to get all major versions of List or Library Item using C#?

I have document library which has over 100 items. Each item has over 30 to 40 major & minor versions. I want to get only major versions of particular item programmatically using C#. foreach ...
0
votes
3answers
41 views

Cannot add item to a list

I can create a list and add a custom column to it but there are no items present in the list when I try to add them programmatically. Below is the code snippet. Guid listId = ...
0
votes
1answer
123 views

SharePoint 2010 c# programatically find if site exists from non-sharepoint machine

.NET web application is hosted on machine A were no SharePoint bits are installed. SharePoint is installed in machine B. I can access the SharePoint sites hosted on machine B from machine A through ...
0
votes
1answer
322 views

Active then deactivate “SharePoint Server Publishing Infrastructure” inside my team site

i have a team site inside my SharePoint 2013. now i have enable the "SharePoint Server Publishing Infrastructure" from site Setting-->site collection features. which added the following libraries ...
0
votes
2answers
733 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. ...
0
votes
2answers
107 views

Creating new site columns or renaming existing ones,, which approach I should follow

I have a team site and I have created a new Issue Tracking lists inside it. Then I went to the Issue content type I found these columns defined by default:- Currently I need some of these and I need ...
0
votes
1answer
85 views

How can I get the mark-up for “add new item” link inside my list view, that opens inside a dialog box

I have the following list view:- But I need to add the “+ Add new item” link inside another page. So can anyone advice how I can get the mark-up for add new item which will display the form inside ...
0
votes
3answers
134 views

Dividing a tracking list items into two different edit forms, that have different permissions on each form

I am trying to achieve the following, using the Issue Tracking list inside sharePoint server 2013. First I have an issue item which have the following columns:- ID. Title. Date Created. Description. ...
0
votes
1answer
2k views

Modify my SharePoint 2013 alerts' email body to provide a link to the item , instead of embeding the item content

I am working on a publishing site inside SharePoint 2013, and i set an alert for users to send them emails when a new page is created or modified. but the problem is that the alert email will contain ...
0
votes
2answers
556 views

How to allow for autocomplete Person/Group for a new custom site column of type Person or group

I have added a new site column named “Assinged To” of type “Person or Group”, then I added it to the page layout. The final result was that I can search for our active directory user/groups.but if I ...
0
votes
1answer
44 views

unable to add a search core result web part inside my enterprise wiki site collection

I have two site collections inside the same web application; siteA & siteB. now inside siteA i want to display the latest items from siteB. i read a lot about cross-site query , and it seems that ...
0
votes
2answers
140 views

SP13: Master Page Centering

I am working changing the master page to center the content in the middle of the page. For an example, see the homepage to www.topsharepoint.com. To accomplish this task I have changed the master ...
0
votes
1answer
42 views

SharePoint 2013 workflow issue

We are developing custom workflow in our SharePoint 2013 project using Visual studio 2013. We have got one issue while updating list items in the custom workflow. Modified By field is changed to ...
0
votes
1answer
2k views

How to get specific list items in Document Library subfolder?

I'm attempting to retrieve items from a subfolder in a document library. I must get these items where value is 'Like'. How can I do this via C# using the SP object model or by CAML query? this is ...
0
votes
2answers
78 views

how to give popup for a panel?

I have panel control in my web part. I used some 10 controls in this panel with in a div so I need to show this div in the popup .so which I need to keep in popup either with panel ID or div ID. ...
0
votes
1answer
169 views

Retrieve all lists and libraries Sharepoint Online

I'm trying to retrieve all lists from my online tenant from Visual Studio. After much fumbling and unsuccessful attempts with: ListItemCollection listItemCollection = oList.GetItems(query); and ...
0
votes
1answer
3k views

“Value does not fall within the expected range” for Lookup field and its relation to Resource throttling of the web application

I was querying a list having many columns, some of them being look-ups. My query was to return a SPListItem based on one ID. Now, when I want to bind the value of look-up field from the SPListItem to ...
0
votes
1answer
1k views

Determine if field exists in client-side object model?

I want to check to see if a field exists in my program, but If I use : if (item[_strContainingFieldName] != null) { item[_strContainingFieldName] = fieldValue; } I receive an error stating ...
0
votes
1answer
50 views

Add google drive editing functionality to sharepoint

I am trying to upgrate from lotus domino to Sharepoint. I am currently using Domino with files where multiple people can work in the same time at. Like google drive where anyone who can edit the file ...
0
votes
2answers
130 views

Add file to subsite with C# knowing only URL?

I would like to use C# to add a file to a library in a subsite. I believe SPWeb will only reference the site I am on. In an ItemAdded eventreceiver, I want to use something like SPFolder ...
0
votes
1answer
148 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
1answer
26 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 ...
0
votes
1answer
176 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 ...
0
votes
3answers
346 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 ...
0
votes
1answer
451 views

User Impersonation in a High Trust SharePoint App using the client-side object model

As I understand it, high trust apps have the ability to impersonate a user (link): The app is considered high-trust because it is trusted to use any user identity that the App needs, because the ...
0
votes
1answer
30 views

Can not adding Solution to Sharepoint

In visual studio I am getting below error while deploying my project to SharePoint site. ** Active Deployment Configuration: No Activation Run Pr-Deployment Command: Skipping deployment step ...
0
votes
1answer
130 views

How can I differentiate an user from a workflow while in an ItemUpdating Event

Is there a way to differentiate an user from a workflow while in an ItemUpdating Event? To show the my problem here's the ItemUpdating method: public override void ...
0
votes
1answer
215 views

SharePoint adds +1 to time when I set it

I have an issue with SharePoint date time field. Basically I have a date time field, and this field contains for example 19/12/2014 11:30:00. I would like to get this date and remove the time part, ...
0
votes
1answer
329 views

How to read values from Secure Store Service Application in a timer Job

I have in my sharepoint application an external source that must be accessed by 2 parts of my application The first part is a page, where the users can search on a form, the external data. The second ...
0
votes
1answer
85 views

Conenct many list to one list

I must do in Sharepoint 2010 one list from 5-6 lists, and update this main conected list in the night. How Could I do this? Can I do this by Sharepoint Designer ?
0
votes
1answer
1k 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
272 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 ...
0
votes
1answer
99 views

wsp activation does nothing

I have created a site template, downloaded and imported my WSP into Visual Studio 2012, selected the needed lists and dependent columns. When I deploy to a new site collection from Visual Studio ...
0
votes
2answers
191 views

Prevent the `PublishingPageContent` value filtering when programmatically updating the field

If I save the html: <a href="tel:1-800-222-3334"> (800) ABC - DEFG </a> in the PublishingPageContent field it gets filtered down to: <a> (800) ABC - DEFG </a> How can I ...
0
votes
2answers
279 views

Intercept file open event and execute custom code

I'd like to intercept the event of opening a file/document stored on a SharePoint site (after a user has clicked on a file) and execute some custom code before synchronously proceeding with normal ...
0
votes
1answer
272 views

SharePoint Hierarchy

Can someone please once and for all explain to me clearly how it is with SharePoint hierarchy? The names that are displayed are all mixed up, the names of classes are all mixed up and the diagrams ...
0
votes
3answers
3k views

How to get a creation date from a SPListItem that is a folder in c#?

I am making a visual webpart in SP 2010, and I download the SPListItems from a document library. I need to get the creation date of all the documents and folder items. I can do it successfuly for ...
0
votes
1answer
43 views

Desktop application to check a users groups?

I'd like to write a desktop application to allow me to retrieve all of the groups that a user is in in a SharePoint 2013 environment is in. Unfortunately I don't have any idea where to begin - how ...
0
votes
1answer
396 views

Update Workflow Task from an external webpart

I have a sequential workflow which creates a task that contains the custom url to a custom webpart. The web part provides the option to select different statuses. When the user selects 'Approved' I ...
0
votes
1answer
2k views

Create a WebPart Page in Visual Studio 2010

I have a project that will have a few components: Lists, WebParts, WebPart Pages and an Application Page. I know how to create and deploy all of the above using Visual Studio 2010 to a SharePoint ...
0
votes
1answer
105 views

How to detect if the user exited page edit mode?

I am making a visual web part for SP2010, and the webpart hides shows content depending on if there was a postback or not. However the only exception to this, is the postback of exiting the page edit ...
0
votes
1answer
1k views

How to add “Title field with link to Edit Menu” to a View using code-behind C#?

all I am trying to attempt adding Title with Edit Menu in SharePoint 2013 through code-behind. However, I am unable to do so. Below is my syntax I am using: StringCollection strViewFields = new ...
0
votes
1answer
172 views

SP 2010 Visual Webpart - How to get all documents in a folder and sort them by caml query?

I am making a visual web part for sharepoint 2010. I have a SPFolder object and I want to get all items in it, but I want to sort it by a specific field. I want to do this by CAML query instead of ...
0
votes
1answer
427 views

How can I access/set stsadm properties from code?

I'm trying to set the ChangeLogRetentionPeriod stsadm property from code, which is normally set from the SP powershell. What is the best way to go about setting this property from code? Background: ...
0
votes
2answers
5k views

Could not load file or assembly or one of its dependencies. The system cannot find the file specified

I am really baffled by this issue. I am very new to SP 2010 Development, so Your speak will have to be really dumbed down. But essentially I have this activation method I re-factored - Still ...
0
votes
1answer
47 views

Customizing the SharePoint CRM List Part

is it possible to customize the CRM Listpart that is delivered by Microsoft. I would like to add a dropdown listbox to the presentation in CRM based on the documenttype in the library.
0
votes
1answer
159 views

How to increase the reliability of deployment?

Deploying solutions, both from within Visual Studio and a Powershell script seems really unreliable. For example, I have one package trying to deploy about 3 .dlls and on average it's taking 3 ...
0
votes
2answers
3k views

Delete Item in Document Libarary using Client Object Model?

I have custom Database, this Database having SharePoint Item URL like(http://site.com/Shared Documents/a.pdf), so my challenge to remove this file from sharepoint Library using Client Object Model.
0
votes
1answer
454 views

I want to delete attachment and listitem but using this code it deletes all the listitems

private void DeleteFromSharePointList(HyperLink hp) { SPWeb web = SPContext.Current.Web; web.AllowUnsafeUpdates = false; SPList myList = web.Lists["Document cv"]; ...