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

Wopiframe in listview for sharepoint 2013

I would like to display the last 2 document in a listview, If it's an Office document, the URL have to contain Wopiframe, in my case I couldn't realize this. here's my code : ascx <asp:ListView ...
1
vote
2answers
59 views

Content in RichHtmlField not rendered as HTML

I have made a Content Type: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!-- Parent ContentType: Page ...
12
votes
9answers
9k views

Event Receiver Firing for all Lists - even when ListUrl is set

I have two custom list definitions - List 1 and List 2, both with different ID's for the Type in the elements.xml. List 1 is called 'List1' and the other is called 'List 2', note that the second list ...
2
votes
1answer
34 views

Sandbox Solution filling up Resource Quota (SharePoint 2013)

So, I created a very simple Event Receiver that triggers on the ItemUpdating Event for Document Libraries. All it does is get the original file modified date and changes the SharePoint file modified ...
1
vote
0answers
15 views

An image added to my enterprise wiki page is automatically added inside wrong location PublishingImages/Pages/Forms/my-sub/

I am working on an Enterprise wiki site collection, and when users add images to the wiki pages, these images are going to be stored inside the following folder automatically:- ...
1
vote
2answers
56 views

Attach file in CustomList Item using Sharepoint.Client object

Hi is there a way to attach file in specific Custom list item? Currently i tried to add files on the root folder using below code: using (ClientContext context = new ...
1
vote
1answer
48 views

Meeting Room Reservation permission logic realization

I'm new to SP. I need to create Meeting Room Reservation webpart. I have two rooms so that users can select the appropriate one and create a new event in calendar. At the initial step when user ...
1
vote
1answer
35 views

How to check if the workflow can be started on SPListItem?

I have created a custom action for starting the workflow on list item. When user selects the item, an item from ribbon is enabled to start the workflow directly on item. I have created on application ...
2
votes
4answers
4k views

SharePoint List items being used in an ASP Repeater

If I am returning items from a SharePoint list is there anyway that I can store the values in an array or a list to use them in an ASP Repeater? I would have 4 values that would need to be stored (the ...
1
vote
3answers
66 views

Programmatically copying attachment sporadically fails

I have an event receiver that copies a list item, including the attachments, to another list. Very rarely, the attachment fails to copy over and gives the error "Value does not fall within the ...
1
vote
1answer
29 views

How do I programmatically get sub terms in a reused term?

Lets say I have two Term Sets named: A & B. In Term Set A I have a term X that i want to reuse in Term Set B. Under X I have some "Child-Terms". How do i programmatically get the "Child-Terms" of ...
1
vote
2answers
63 views

Filter the list in sharepoint online?

I have a sharepoint list . There are 4 people(not fixed) from separate groups(say A,B) responsible for each issue. Now I've a requirement according to which, I'll have to design a page display the ...
1
vote
0answers
20 views

Keep SQL Connection Alive during ReadItem

Is there any way to keep a connection open during the ReadItem process or is there a best practice around this? Basically if i'm calling ReadItem in BCS 100K times, how can I streamline that ...
1
vote
1answer
58 views

Metadata navigation on document library, removing “Folders” from TreeView

Does anyone know how to add only one custom MetadataNavigationHierarchy? In my case, I would like to remove "Folders" from the TreeView, so my custom MetadataNavigationHierarchy is the only one being ...
3
votes
0answers
34 views

Export Event with Attachment to outlook

I am exporting SharePoint 2013 Calendar event from custom command > Export event to Outlook. But the problem is that I want to export attachment along with event: By default it's exporting only ...
2
votes
2answers
8k views

ListData.svc returns Error 400: Bad Request in Visual Studio

I wanted to use the REST Service in an application. So when I add the service reference in Visual Studio I get this error There was an error downloading ...
0
votes
0answers
11 views

TopNavigationBar not showing items

I am adding navigation items to the TopNavigationBar via code, and they are not showing up when checking the site but the code doesn't error out. I if I iterate through the nav items in the ...
0
votes
1answer
28 views

How do I programatically edit the contents of an .aspx SitePage or page or wiki?

I'm trying to programatically edit a page that is being transitioned from server #1 to server #2, #3... etc. I tried including the page inside a module, and later on opening it and extracting its ...
1
vote
0answers
19 views

Delay after a subsite is created

I'm stuck after creating a new subsite programmticly. I have created an remote event receiver after a employe is added a new subsite is created under /sites/employes/. That works fine but after the ...
1
vote
2answers
79 views

How to itetrate through files in a document library

I've been creating a provider hosted app and I'm stuck at retrieving Documents titles using CSOM C# my code is as follows. var spContext = ...
0
votes
0answers
14 views

Sharepoint 2010 retention on site per site basis

I have a site collection with existing sites underneath it and will be creating new sites through a site template written in VS 2010 using C#. The site has two document libraries which store custom ...
0
votes
0answers
18 views

DocumentSet.Create parameters and how they relate to fields

I'm looking at the DocumentSet.Create method to create DocumentSets programmatically and I'm a little confused about the name parameter. I presume this is going to populate the Name field in the item? ...
4
votes
2answers
470 views

Set a date/lookup in ListInstance elements.xml

I have two lists. The first one has customers and the second one has Orders. Now i want to add some (test) data in the elements.xml of the listinstances. For customers this works without a problem ...
0
votes
1answer
107 views

Remove user from SPFieldUserValueCollection

I have a "person or group" type column in my calendar list as "Participants". I need to add and remove users from this column. Adding users works fine. When trying to remove a user it does not get ...
0
votes
0answers
34 views

Add Check mark in gridview &#x2713; in c#

Ta I have a gridview display some columns from a list, and I have a column named "Tax" its type is boolean, I want to put ✓ if it's "Yes" and X if it's "No" here's my code : SPSite oSite = ...
0
votes
2answers
126 views

Sharepoint 2013 web part does't impersonate current user, while SP 2010 does?

I'm developing full trust web part deployed in GAC that access soap web service on localhost. Web service uses windows authentication. SP 2010 web part impersonates current user while SP 2013 sends ...
0
votes
1answer
25 views

How to get the unique item from sharepoint list

List Name Social Column name Category(Choice Field),Values(Text ) Category values modified ................................................ Facebook sameple ...
3
votes
7answers
5k views

ArgumentException when trying to access SPListItem value

I have a tool to update all items in SP (link replacement). The tool works most of the time but sometimes it throws me an ArgumentException ("Value does not fall within the expected range."). Here is ...
1
vote
1answer
65 views

Some javascript not working in web part

I'm noticing that not all of my Javacript - all of which worked in a basic ASP.NET Web Forms application - is working. I'm not sure what could be causing this. For example, the following JS/C# calling ...
0
votes
0answers
21 views

Modifying a custom Application Page in a Document Library throws Exception

We have a SharePoint (2013) Solution where we put ASPX Pages in Modules, which in turn are automatically deployed in a Document Library. Those files work fine with the Code behind Assembly that is ...
0
votes
2answers
62 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
19 views

Assembly Issues with Workflow

I updated a custom workflow (pure c# code) in SharePoint. Everything looked fine at first, but now I found the following errors in the ULS-Log: Load Workflow Assembly: ...
0
votes
1answer
29 views

Redirect after item is added in the main window, not in the pop up dialog box

I have an issue in SharePoint 2010, in ItemAdding event i've created some action to be taken when the action is happening and the item is being added, so after that i would like to make sure that the ...
0
votes
0answers
17 views

Sharepoint workflow tasks Items

Good day, Im trying to get a task id of a specific task in a workflow. I would like to do this in the createTask activity. I have tried using /taskProperties.TaskItemId/ but i seem to get back "-1" ...
0
votes
0answers
21 views

How to prevent my Issue tracking App from saving the images that are added to the list items , inside the same folder

I found this problem inside my Issue tracking App. now i added an Issue tracking App inside my team site. but i found this problem. let say a user wanted to add a new item and he did the following:- ...
0
votes
1answer
44 views

Users with different permission levels are seeing different page layouts?

I am working on an enterprise wiki site collection. And I have edited the EnterpriseWiki.aspx page layout , where I added some new columns and I have also remove the Page rating. Now users with ...
0
votes
1answer
10 views

Content Approval Set to No In SharePoint List

I want to set content approval "no" in sharepoint list in version setting programmatically at the time of list creation. How to do that?
0
votes
0answers
36 views

New custom Create form does not auto complete “Owner“ field

I have an Issue Tracking list , and I have created a custom Create form using SharePoint designer , as follow:- The problem I am facing is that the owner field will not autocomplete the people ...
-1
votes
1answer
49 views

Caching problem with my Visual Web Part when adding it to my List's Create Form

I have the following web part inside my visual studio :- [ToolboxItemAttribute(false)] public partial class VisualWebPart1 : WebPart { // Uncomment the following SecurityPermission ...
5
votes
2answers
2k 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 ...
0
votes
1answer
60 views

Get user session ID

I have a problem with SharePoint session. Is there any way to retrieve Session ID or Transaction ID of an user in SharePoint by C#?
1
vote
0answers
65 views

Office 365: Authenticating from Dynamics CRM Plugin to Sharepoint

I am trying to authenticate to Sharepoint 2013 from a Dynamics CRM 2013 plugin, all within a single Office 365 environment. I am ultimately trying to copy an email attachment from Dynamics CRM to ...
0
votes
1answer
37 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
1answer
41 views

Update Custom Webpart with timer

I have a C# custom webpart sharepoint 2013, display listview from a document library. This library is updated if we submit a form. I want to update this Webpart each x time. Here's my code ...
0
votes
0answers
28 views

Modifying a copy of the seatle.master instead of a copy of seatle.html

I wanted to do some modification to the seatle master page. So I took a copy of the Seatle.master using share point designer , and I paste it , then I rename the new file to custom.master. I wrote ...
2
votes
3answers
3k views

Create list item in sharepoint list using REST API using C#

I have a requirement to create list item in a sharepoint online list using the REST API and c#. How to achieve this. Most of the article show using REST API in jquery and Javascript but I have a ...
0
votes
0answers
16 views

You don't have Add and Customize Pages permissions [duplicate]

Currently when contributor users inside our enterprise wiki 2013 try to add a new web part to a wiki page, they will get the following error:- A Web Part or Web Form Control on this Page cannot be ...
1
vote
0answers
124 views

Create list using C# CSOM in a subsite on Office SharePoint O365

We have a SharePoint 2013 Provider-Hosted App using C# CSOM that has been deployed to a Developer site under the root site. One of the requirements of our app is that it should be able to create lists ...
0
votes
0answers
57 views

Sharepoint 2013: How to get all Lists a user has access to from Provider Hosted app using CSOM

I'm trying to get a list of all Lists that a user has access to in a given SharePoint 2013 site. Specifically right now I'm testing against a SharePoint Online site and authenticating via ...
0
votes
1answer
971 views

SharePoint Foundation DistributedCache Monitorable Token Cache: Failed to get token from distributed

I am working on an enterprise wiki site collection, currently when users try to add/edit a wiki page sometimes they got the following errors :- :- Sorry, something went wrong An unexpected error has ...