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
1answer
13 views

Pass Credentials on a SharePoint site and get a Response

I'm trying to pass credentials against a SharePoint site (It uses Windows Authentication). This is the code I'm using to do so, SPServices.Lists sourceListService = new SPServices.Lists(); ...
0
votes
0answers
6 views

Lookup Threshold value override using C# code..!

In Production Environment, the Lookup Threshold value set to Default :12. Because of this Value my code give me an error. So If increase this value to 20 then my code works fine. So i want to override ...
0
votes
1answer
16 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 ...
7
votes
5answers
540 views

What are the benefits of grabbing a list by Guid compared to any other way

I know its always best to access a list by its Guid since it won't ever change, compared to accessing a list by Title or Url, but what are the other benefits of grabbing a list by the Guid? There ...
2
votes
1answer
3k views

How to add a registration button to a calendar list / list form?

my use case is: I want to create an event management system without using meeting workspaces (sadly I/We can't use them, at least the senior dev. told me). There shall be: One Calendar List, ...
1
vote
3answers
31 views

Can I create a C# Program for a SharePoint site

I'm trying to access a SharePoint site from an Application created on Visual Studio, this application will pass credentials against the SharePoint site. The application will then be able to create ...
1
vote
2answers
2k views

Get context token for SharePoint 2013 provider hosted app (on-premise) with web project hosted on azure

I have an on-premise SharePoint environment for which I'm developing a provider hosted app using visual studio. The web project is hosted an azure. The app project contains a custom ribbon button that ...
1
vote
0answers
13 views

creat navigatin headings in sharepoint online programatically

Is there a possibility to create headings with multiple links in the navigation bar (i.e. top link bar) in SharePoint online using c3 or powershell? My initial guess was to use ClientContext to gain ...
7
votes
4answers
4k views

How to rename title column in Document Library using code?

Everybody loves renaming columns. The title column is a favorite of mine and I can't seem to rename it via code: SPList list = web.Lists.TryGetList("MyList"); Guid guid = new ...
0
votes
1answer
26 views

how can i display the latest items from another site collection

I have a web application, with three site collections . and i want inside my team site to be able to display the latest pages that have been added to my enterprise wiki site collection. so what are ...
0
votes
1answer
23 views

what is conversion=“false” used for? [on hold]

What is conversion="false" used for when seen in an HTML a href link? I have been trying to find out and cannot seem to find a source to share with me. Please help? Thanks in advance.
0
votes
0answers
9 views

How to directly open an empty wiki page with rich text editor

I am working on an Enterprise Wiki site collection, and I want to add a link which directly open an wiki page with rich text editor directly. As follow:- Currently if I want to open this page I have ...
0
votes
0answers
12 views

How to invalidate ClientPeoplePicker?

I'm trying to add simple validation to ClientPeoplePicker. If the person entered to ClientPeoplePicker already exists in the field on the list it should go back to my custom edit form and display an ...
1
vote
0answers
24 views

How to share source code between ver2010 and ver2013

Following this good article: how-to-migrate-a-sharepoint-2010-solution-to-a-2013 I migrated a project from: Sharepoint 2010 + Visual Studio 2012 + .NET 3.5 to Sharepoint 2013 + Visual Studio 2013 + ...
1
vote
0answers
14 views

how to add WebControl to my page layout

I want to add the following code to my page layout to fix a bug in SharePoint 2013:- [ToolboxData("<{0}:CustomValidationRequiredFieldsOnPage ...
1
vote
2answers
429 views

Adding ListViewWebPart with CSOM

I have to add a few webparts to a default page using the Client side object model. For the most part this goes fine, I can add a XSLT and content query webparts. However, when i try to add a ...
0
votes
1answer
18 views

Does site collection backup , also backup any custom web parts

I have created a custom web part inside my visual studio 2012, and i publish it to a site collection. now i have backup the site collection to move it to another server. but my question is, if I ...
0
votes
0answers
12 views

"Task upgrade has failed with a PostSetupConfigurationTaskException An exception of type Microsoft.SharePoint

I have SharePoint server 2013 , and i run the configuration wizard, it worked successfully but at the last step i got the following error:- "Task upgrade has failed with a ...
0
votes
2answers
23 views

SP13: Opening PowerPoint Presentation into Slide Show

I am using SP13 and wanting to upload a PowerPoint presentation to document library. After I upload the document to the library I would like for the presentation to open into a slide show. I have ...
0
votes
1answer
15 views

Why does a Content type revert to default content type on its own?

This is a large, multi-disciplinary site that is routinely grouping and filtering documents by content type. If the content type is changing on their own this is going to break our views and make all ...
0
votes
3answers
26 views

Changing visibility of text/controls in a visual web part

I need to show/hide a section of text and controls in a visual web part when a button is clicked. I've seen references to doing this via JS but can't connect the dots for how to integrate that into ...
0
votes
0answers
12 views

Go through all items then delete them and then set boolean to yes for last item

I want to go through all items in a share-point list, then i want to delete them one by one after gotting there details. I want to set flag to yes for last item; how ?
0
votes
1answer
415 views

Build a visual web part that shows a document library

Ok so I need to build a visual web part (Has to be Server side and done in visual studio c#) that shows a document library. On selection of the document library, the web part must output the entire ...
2
votes
1answer
455 views

How to update metadata?

I have following code (didn't list the whole code) behind a button on a InfoPath Managed Form. and it works meaning I can submit data to a list. Now I have 2 controls on the form that is ...
1
vote
1answer
341 views

Upload document to Sharepoint 2013 Online using webservices

I have a client who is implementing customer portals in Sharepoint 2013 Online. The current program distributes documents to the customers by mail. Now we have to upload the documents to the customer ...
0
votes
1answer
2k views

Limit a user group to a specific view created via InfoPath 2010

I have created a new view called 'RequesterView' (via InfoPath 2010) to add items to a issue tracking list. The purpose of this is to limit the visibility of certain fields such as 'Assigned To', 'Due ...
1
vote
1answer
26 views

Webpart - Get user ID of user profile

I am going to create a webpart located in user profile page. That webpart should get the user ID of user's profile. For example, I login as user A and access to profile of user B, the webpart located ...
0
votes
2answers
39 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 ...
2
votes
3answers
96 views

Getting Minor Version, Major Version, TimeCreated, TimeModified of document using CSOM

As a follow up to this post: http://sharepoint.stackexchange.com/a/111685/32419 I have a document that I am downloading from OneDrive library using CSOM. private static void ...
2
votes
2answers
198 views

Create list from custom template using csom, c#

I would like to create a list based on a template (.stp uploaded to the list template gallery), it almost works with this code: ClientContext context = new ClientContext("<Your Site URL>"); ...
0
votes
1answer
21 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 ...
2
votes
1answer
39 views

download file from OneDrive using Microsoft.SharePoint.Client

I have a winforms application and I need to download files from a SharePoint OneDrive directory. Currently, given my code below, I am able to read the "Title" of the file, but I can't find anything to ...
2
votes
2answers
22 views

SharePoint group not visible

I created a new SharePoint group using UI. I do not see the group using: $web.Groups | select Name Why? (I need to access to the group by CSOM but the group is not found)
3
votes
2answers
428 views

SPAppToken (context token) is null

I have a Sharepoint 2013 on premise environment for which I am developing an provider hosted app using Visual Studio. The Visual Studio project has an app project which contains a custom ribbon ...
0
votes
0answers
12 views

How can I return differences between versions and access properties that changed?

i have a list in SharePoint 2010 that has fields "title,count" .one of the fields (count) possible to change. I FROCE TO USE CSOM CLIENT SIDE OBJECT MODEL ... NO SHAREPOINT.DLL BUT ...
0
votes
1answer
690 views

Render label using itextsharp to pdf and word

Could not load file or assembly 'itextsharp, Version=5.4.1.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca' or one of its dependencies. The system cannot find the file specified. I have added ...
1
vote
1answer
263 views

workflowAssociation not displaying workflow

I have created a feature. In the FeatureActivated event I am creating some lists. I am then trying to attach a custom workflow to one of the created lists. However when I do this the workflow history ...
1
vote
1answer
25 views

Hide / Show custom action in ribbon conditionally

I have a question regarding Custom actions: Basically what I would like to have is a custom action to shown only when the list.RootFolder.Properties.ContainsKey(). This action is located in the ...
0
votes
1answer
267 views

Error 401 on ExecuteQuery SharePoint 2013 production SharePoint Server

I create a farm solution that query in a list of SharePoint 2013. When I run my solution in a development server using Context.Credentials = new NetworkCredential('user', 'pass', 'domain'), the query ...
1
vote
1answer
595 views

InfoPath code to delete all rows of repeating table and then add back one default row

I have the code on a clicked event to reset a repeating node (deleting all existing rows - see code)... I am looking for the best way to add back a default row. I tried using xmlwriter, but this ...
0
votes
1answer
461 views

Creating an Approval workflow based on the list values using visual studio 2010

I have a list with the company name, business process and workflow initiation. The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be ...
0
votes
1answer
437 views

Modifying List View in C# Doesn't Work?

I am trying to modify a view for a list in a Feature Event Receiver. The list is created in the same function; and the columns all added to it. When I look in the List Settings via the web interface, ...
1
vote
1answer
270 views

Workflow gives “Error Occured” when uploading file to document library

I am mapping one xml document to another. When it is done, I am uploading that document to a document library. Here is the code that does that: MemoryStream ms = new MemoryStream(); ...
0
votes
0answers
31 views

Get Lookup field ID from DataTable

I have this code : SPListItemCollection CatList = LinkList.GetItems(query); SPListItem test = CatList .GetItemById(1); SPFieldLookupValue tmp = new SPFieldLookupValue(test["Category"].ToString()); ...
3
votes
1answer
2k views

ListView Web part - customization

I created and deployed link list (default template (103)) from code and after that I added ListViewWebPart also from code which looks on default view of my link list. And that works. Problem: How can ...
2
votes
2answers
274 views

Looping retrieved Items throws an InvalidCastException

I have some very simple code using the client object model to retrieve a list and all items from that list from a SharePoint 2013 Online site. When the ExecuteQuery() fires, I use Fiddler to view the ...
4
votes
3answers
5k views

Is there a hack to installing SharePoint 2013 on Windows 8?

Apparently SharePoint 2013 is not officially supported on Windows 8 (which does not make sense to me). And, just like the Vista hack for WSS 3.0/MOSS 2007 I am looking for a hack to install ...
2
votes
1answer
991 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 ...
0
votes
1answer
513 views

How tu change a date format in CAML

I have got a wrong format of date to a CAML. I have got (yyyy-mm-dd) and must to be understand by CAML to the format(dd-mm-yyyy), how could I done this. Please help me. I tried by ...
1
vote
1answer
30 views

IF statement containing both AND and OR

Here is the gist of what I want to do. Hoping someone can help. =IF ([value1]="" OR [value1]="Select") AND [value2]="" THEN [value3]="" ELSE [value3]="assigned value" I can get this close without ...