Tagged Questions

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

SharePoint document library Multi User field set only odd position users in case of Office documents

I am trying to set users in Multi-User field of document library documents by using CSOM. It works properly for normal documents(non-office docs) but for office documents it is setting only odd ...
0
votes
1answer
10 views

Accessing Custom Web Part Attributes From Javascript Functions

I am developing a web part currently which has custom attributes which are defined through C#, but most of the logic has been completed using javascript. I am having trouble getting the attributes ...
0
votes
1answer
17 views

Single wsp VS multiple WSPs (100 +)?

So we have created Sharepoint 2013 Webparts for a Specific solution. As we didn`t have TFS and had multiple developers work within one install on a remote server , we separated into multiple projects ...
0
votes
1answer
27 views

Getting (403) Forbidden.Error for another ClientContext

using (ClientContext tenantContext = new ClientContext("https://site-admin.sharepoint.com/")) { SecureString password = new SecureString(); foreach (char c in ...
0
votes
0answers
10 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 ...
2
votes
1answer
22 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
10 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
1answer
20 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
2answers
17 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
2answers
35 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 ...
1
vote
1answer
15 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 ...
1
vote
3answers
39 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
16 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 ...
3
votes
0answers
22 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 ...
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
42 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 ...
0
votes
0answers
8 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
26 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
15 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
45 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
9 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? ...
0
votes
1answer
26 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
20 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
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 ...
0
votes
0answers
11 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 ...
1
vote
1answer
41 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
16 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
50 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
17 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
23 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
14 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
17 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
38 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
8 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
2answers
73 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
0answers
28 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
34 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 ...
1
vote
0answers
32 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 ...
5
votes
2answers
543 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
33 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#?
0
votes
1answer
27 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
26 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
27 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 ...
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
68 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
35 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
208 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 ...
0
votes
0answers
13 views

Updating Wiki Page Name will not affect its title and the page will have wrong title when searching for it

Yesterday I have noted that my Wiki Page will contain two properties “Title” & “Name” not sure why. For example yesterday I created the following new page and I gave it the following name:- ...
0
votes
0answers
23 views

Update the wiki Page name will raise an unexpected error when saving the wiki page

I am working on an enterprise wiki site collection, and everything was working well. But when I edit a wiki page and I update the its name as follow:- and then i saved the page , I got the ...
0
votes
2answers
84 views

SharePoint 2013 Workflow - How to retrieve the SPWorkflow object associated with a SPListItem?

Here's the scenario: I have a SPListItem in hand, which i know has a started workflow associated. The workflow has a task created for approval. I want to access the SPWorkflow and then the ...