0
votes
1answer
6 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
21 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
11 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
13 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 ...
0
votes
1answer
17 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
22 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 ?
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
37 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
90 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 ...
0
votes
1answer
20 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
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)
0
votes
0answers
11 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 ...
2
votes
1answer
38 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 ...
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()); ...
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 ...
0
votes
2answers
38 views

CAML query returns all items instead of one

I am querying a list to return only items matching a certain title, but the query returns all items. It seems I built or execute the query the wrong way: /* SP is an alias for ...
0
votes
1answer
12 views

Add code behind files to a SharePoint App Project (provider-hosted)

Let's first describe my work context: I am working on SharePoint 2013 on-premise I have created an App for a SharePoint 2013 Solution using Visual Studio 2012 with provider-hosted option. Two ...
0
votes
1answer
19 views

Strange behaviour Generic List

I have written some code to delete minor versions after a specific time. I don't know how it is possible, but it only deletes uneven versions, and not the even ones. Below part is to find all ...
0
votes
1answer
21 views

Web control is not safe

I have a code which is deployed with the delegate control, but when i try to call it in the logs i see an error: class 'My.Custom.MyWebControl': The control with assembly name xxx' class name ...
-1
votes
0answers
17 views

How to create sharepoint 2010 workflow

How to create sharepoint 2010 workflow using sharepoint designer? How to check valid user in sharepoint 2013
0
votes
0answers
10 views

Problem with DWS Webservice and VS 2010

I have a problem since I switched from VS2013 to VS2010 for a compatibility problem. The problem is that I have my root site "Accueil" and a subsite "PiCRM" and my program can only create folders ...
0
votes
1answer
23 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 ...
-2
votes
0answers
21 views

How to take IIS backup in SharePoint Server

How to take IIS backup in SharePoint Server ? How to create Users and how to allocates permissions to the Users ?
1
vote
1answer
27 views

Web Part Namespaces include class name in SharePoint 2010

My client is upgrading from WSS 3.0 to SharePoint 2010 (yes, I know the year is 2014, but baby steps). I am migrating my custom solutions to work in in 2010. My current issue is the way SharePoint ...
1
vote
1answer
24 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
31 views

How to check sharepoint list date column is empty?

How to check sharepoint list date column is empty? I want to check in back end code. IEnumerable<DataRow> x = from laptop in dtList.AsEnumerable() join ...
0
votes
2answers
28 views

SPUtility Send Email for mulitple users

I am trying to send an email to multiple users using SP Utility Send Email I am using visual studio, c# But i am facing issue, as i am trying to specify email addresses as a ,b Should i be using ...
-1
votes
0answers
15 views

sharepoint and infopath issue

I want to get data from one of my sharepoint list to one of the field in my form. I have found the below code, please suggest me if it is good enough. GetSPListData() { //We need to get sharepoint ...
4
votes
1answer
49 views

How to programmingly create a “Link to a Document” in an ASP.net web application?

I have a asp.net web application which requires to upload files to a SharePoint document library. I got that working. Now, I need to know how to code using C# in my web application to create a "Link ...
0
votes
2answers
64 views

Create a new site collection c#

I'm trying to create a new site collection in Sharepoint Online tenant with Visual Studio. 1) I found http://msdn.microsoft.com/en-us/library/office/ms448720(v=office.14).aspx which says that the ...
0
votes
0answers
32 views

How to validate multiple fields with c# custom code on button click before submitting

My main goal here is to pop up a validation box that lists which fields have not been populated(still empty) before allowing the user to submit. I know you can use the method built into InfoPath but ...
0
votes
1answer
21 views

Wrong hyperlink is generated for custom central administration action group image

I have a custom action group deployed to central administration; something like "Contoso IT" in this picture: The problem is that that for some reason, the hyperlink for "Contoso IT" (the title) is ...
0
votes
1answer
24 views

What permissions are needed to develop apps on SPO 365?

I'm new with SPO365, but from what I read, to deploy and test apps I need a developer site (site collection), but I don't have access to create it, neither access to Central Admin. Does my developer ...
0
votes
1answer
42 views

Implement multi select lookup using listbox control in aspx page

How can I implement the multi look up select list items functionality in SharePoint using asp.net C#? Please help me with some code, I am using two list boxes and have added a add remove button on ...
0
votes
0answers
5 views

Timer Thread Method not executing properly

I have a method that refreshes a grid view, I need to run this method on a page every 60 seconds. To do so I have implemented the following timer thread: var timer = new System.Threading.Timer( ...
0
votes
2answers
30 views

How retrieve custom fields only when using SPListItemCollection?

Hi with following code I am retrieving a DataTable from a List: using (SPSite site = new SPSite("http:...")) { using(SPWeb web = site.OpenWeb()) { ...
0
votes
0answers
9 views

Translate GUIDs to library, list, webpart, or component name

I have a list of GUIDs used but I don't have a reference to tell what each guid is for. Could I programmatically convert these Guids to something more useful such as Guid ==> "Document Library" ...
0
votes
1answer
57 views

Programmatically (C#) set date field to blank in 2010

I have tried setting my date field to an empty string ("") and setting it to "01/01/0001". Both returned the error "String is not formatted as date time". I have several thousand items across a few ...
0
votes
2answers
47 views

Linq get Distinct or first from multiple group

Ok, I'm not understanding something here with what I am attempting to query here. I have a list like the following. Title Subject Content Date ...
0
votes
1answer
34 views

Developing Apps in Sharepoint

I want to learn how to develop apps for SharePoint. I created a new developer site collection. When I try to install NAPA I get the following message "Sorry this app is not supported on your server." ...
0
votes
1answer
33 views

CAML query where date field is greater than another date field

Is it possible to write a CAML query that uses another field as the Value part of the filter? For example in SQL it would look like this: WHERE Field1 > Field2 This was by best guess but it is not ...
1
vote
0answers
21 views

Replace default List View Web Parts

As the title explains, I am trying to remove the default Web Parts that are associated to list items and replace them with my own custom web parts. Here is what I've attempted so far: SPList list = ...
0
votes
1answer
19 views

how to check if domain group has any kind of permissions to web after ensure

I am adding user to web, he might be added or might not be. I want to only give him permissions if he already doesnot have/has. How can i check. SPSite site = new SPSite(webUrl); ...
1
vote
0answers
12 views

Does writing a custom RBS provider force one to put SharePoint into unsupported state?

It is well known that modifying a content database directly by running SQL queries results in an unsupported state. However, it is possible to develop custom RBS providers. Note that when an item is ...