The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

learn more… | top users | synonyms (3)

1
vote
1answer
407 views

Sharepoint 2010 only displaying an item in the ribbon if using IE

I am using some JavaScript that can only be used in IE. Is there a way to hide my custom ribbon button if not in IE? Or only display it if it is IE.
1
vote
2answers
3k views

A button on an Infopath form that Prints the form and Submits it, too

OK I've been asked to put a print button on an infopath 2007 form. But they want me to amend the code so that the Click event submits the form to a Sharepoint 2007 Forms Library as well. I know this ...
1
vote
2answers
1k views

Issues after an Application Pool Recycle

My site is setup to use SharePoint 2010's automated Application Pool Recycling. I have 2 front end web servers. Sometimes (not everytime) the application pool recycles, and a custom webpart starts ...
1
vote
3answers
368 views

Notifications from custom app page

I have a custom application page with a form and a submit button. After Submit is clicked some code behind is executed and the user is redirected to the fill-out form again. I would like to add a ...
1
vote
1answer
273 views

Threshold limit problem

I am using the following Query to retrieve the latest documents of the current user: <Where> <And> <Eq> <FieldRef Name='FSObjType'></FieldRef> ...
1
vote
2answers
561 views

Remove Sharepoint RadioButtonChoiceField Focus on application page

I have an application page with a bunch of asp textbox controls and then a sharepoint RadioButtonChoiceField control. When the page loads it will always set focus to the RadioButtonChoiceField is ...
1
vote
1answer
312 views

Sharepoint Security Trim control & its permission

We have a Custom List in SharePoint 2007, all authenticated users are allowed to add a new item into it. Now, we have a page on which we are displaying the item details and it will be accessible for ...
1
vote
1answer
486 views

SharePoint 2007 Search Webservice client call - darrenjohn's API

I want to get the same result set as sharepoint search returns using webservice/object model, what is right way of doing it? Let's say: If sharepoint search core result webpart says 20 items/result ...
1
vote
1answer
2k views

ListAdded Event Receiver not Firing for List Instances

I have a List definition in Visual Studio which is instantiated using a List Instance. This list definition has an event receiver which overrides the ListAdded event. I am able to get the ListAdded ...
1
vote
1answer
90 views

SP 2010 Debuging problem

Please HELP, I creating custom SP2010 intranet site for last few months. During development i didn't have any particular problem with debuging except this one and now I can't figure where's the catch. ...
1
vote
1answer
1k views

How do I get an SPFolder from the UniqueID?

I have the Unique ID for an SPFolder object. I also have the SiteID that it is located at. How can I (in C# from a SharePoint feature) get this item starting from the Site? Is there a way to do it ...
1
vote
3answers
1k views

How do I programmatically alter sort and include columns in the “All Items” view?

How to programatically alter existing view "allitems.aspx" aka "All Items" to do an OrderBy (sort by first name and group by department) and only display first, last, m, date of birth, date of hire, ...
1
vote
1answer
388 views

Is there a way to nest buttons on a custom ribbon split button or flyout?

Is there a way to nest controls/buttons under a ribbon split button or flyout? I have a problem where I need to give some hierarchical representation to the menu items. For example: [category 1] &...
1
vote
2answers
778 views

How to customize XLV

On the first page of our web app we want some "boxes" with a image and some links. What is the best approach for this? My first guess is to render data from a custom list. For this I need very custom ...
1
vote
1answer
2k views

Entity Framework and Sharepoint

We have created some user controls which interact with the database using the entity framework. My question is how to use these controls in SharePoint. Do we have to copy the .edmx file to the /...
1
vote
1answer
686 views

401 authentication error when calling OpenWorkbook method of ExcelService.asmx

We are trying to call the Excel Services web service using SOAP with a Sharepoint/domain admin account. I see 401.2 errors in the IIS logs. There is no user name specified there. We are using ...
1
vote
1answer
183 views

First execution of workflow in the day always fails

I am experiencing a strange problem with a VS workflow deployed to the server. The workflow that runs when an item is added triggers fine (OnWorkflowActivated). After this there is a condition where ...
1
vote
1answer
412 views

I want to use ASPCOMPAT=true as an attribute of @Page directive

I get the following error on SharePoint pages: aspcompat not allowed on this page when I try to use it. Please help.
1
vote
1answer
564 views

Invalid field name error when calling GetAvailablePageLayouts()

UPDATE Worth noting that this is only happening when the site definition is called from SPWebApplication.Sites.Add, if I use the UI then this works fine. My code is impersonating the system account ...
1
vote
2answers
570 views

Can application pages be attached to a specific list

I have a scenario where I need to create an application page that is installed to the ECB menu of a specific list only. Is this possible? or is the only way to do it associating the elements file with ...
1
vote
1answer
28 views

Sharepoint client object model {File not found}

var onlineCredentials = new SharePointOnlineCredentials(ServiceUserName,securePassword); var context = new ClientContext(clientUrl); context.Credentials = onlineCredentials; ar cc = GetAllFiles(...
1
vote
1answer
18 views

Developing SharePoint 2013 app with calls to external service (Architecture advice needed!)

I have a client who is looking to show a list of links on a SharePoint page. Complication is that the links need to be generated to be specific for a physical location. We have the physical location ...
1
vote
1answer
26 views

Unable to referecne a column by its Internal name. Column does not exist. It may have been deleted by another user

today i created a new site column named "Business Category" inside my issue tracking list inside SP2013 server. the column type is a dropdownlist . now the internal name for the column is "...
1
vote
0answers
38 views

Feature that activates Custom List Action

I need to create a feature with Visual Studio that creates a custom List Action that does something. Per example, sends an e-mail, change the site name, etc. To be more specific, I want to know how I ...
1
vote
0answers
17 views

Read current site/site collection term store navigation page URL in the code

Dev Environment: SharePoint 2013 On-premise We have a web part on the home page, where we are displaying the terms (reading from Term store navigation). We are doing this by hard coding the term ...
1
vote
0answers
39 views

Upload a file and write version history comment using a custom “Author” / "Editor using C#

I'm trying to programmatically upload a file to SharePoint (2016)/ office 365 and modify the Created by /Modified by and also add a history comment along with this operation. The idea is I cannot ...
1
vote
1answer
25 views

Using resx file from javascript code inside elements.xml

I'm looking for changing my title using a file .resx. I thought i'll just have to change title with my resx file for example : title : Resources:MyFile,MyTitle but it's not working <...
1
vote
0answers
32 views

How to get distinct users from SPList in c# from list having people and group column?

My Team Discussion list having the column "AppreciatedTo" of type People and Group. Whereas I need to fetch the distinct users in current year (created date also there) in visual webpart in c#. Adding ...
1
vote
1answer
19 views

Access denied when impersonating SharePoint 2013 site collection admin

I have a SPUser which is site collection admin and included in the Owners group, and i am getting access denied error when to get the Documents library, knowing that library takes its permissions by ...
1
vote
0answers
22 views

Sharepoint dashboards interaction

On a SP BI solution there are two dashboards, both interactive. The wish is when someone click on a field in the left dashboard, an action is happening in the right dashboard, that is, sorting the ...
1
vote
0answers
31 views

Powershell Access user liste for SharePoint online

I would like to have a SharePoint online report for all users groups site, sub sites,library,items. For example: a user : Tood , i would like to know all the groups that he belongs to,all permission ...
1
vote
1answer
51 views

Visual Studio authentication issue with SharePoint app

I am working on a SharePoint app in visual studio and am running into issues when attempting to debug. I press start and as expected the Connect to SharePoint window pops up asking me for my ...
1
vote
0answers
14 views

Block Feature activation for a site template

Is it possible to block feature activation for a specific site template in SharePoint using C#?
1
vote
1answer
36 views

Get Video Source from variable

I am currently using SharePoint to query a pages library for a video, the aim is to then display this video in an iframe, I am currently using csom to get the video source from a Page, however this ...
1
vote
0answers
23 views

2013 CSOM development-accessing List directly as user doesn't have permission to access teamsite

I want to perform CRUD to a list from a console app or Asp .NET website. I am granted access to the list, but not the team site: accessing this https://mycompany.sharepoint.com/teams/teamname/a/b/...
1
vote
0answers
15 views

Weird workflow problem with custom activity

We have a Visual Studio workflow that I built with VS2013 and running on SharePoint 2013 (it is a SP2013 workflow). The workflow is an application for leave, and after it had been in use for a few ...
1
vote
1answer
47 views

How to handle currency values correctly in CSOM?

I have a currency field inside a SharePoint List. When I retrieve that field the result type is "double". As it should be according to the documentation. But we all learned that double is a bad ...
1
vote
0answers
43 views

How do I get the highest permission level a user has in a site using c#

I am working on a task to clean up all permissions by removing users that are given individual permissions and adding them to groups with same permission level. There are multiple permission levels ...
1
vote
1answer
78 views

How to make pagination through a SharePoint 2013 list view with GetItems and GetItemsInFolder?

I am developing a WCF service that retrieve items from SharePoint 2013 (Server Side Model), through views: var list = web.Lists[someLibGuid];//Document Library List var view = list.Views[0]; var ...
1
vote
0answers
16 views

Set Timeline XML with other Timeline XML

I have two timeline webparts: Source and Destination. I have to 'export' or duplicate the Source Timeline View in the destination Time Line. XmlDocument timelineXML = new XmlDocument(); ...
1
vote
0answers
22 views

Wrong resources fetched

I am working on a SharePoint project and we have an Arabic version and an english version. There are two ways of changing languages. Either switch SharePoint platform language, or sending the language ...
1
vote
1answer
155 views

“Invalid data has been used to update the list item. The field you are trying to update may be read only.”

I have created a custom content type based on the built-in "Event" content type. which have two columns "Start Time" and "End Time" of type Date and Time. now i can add a new item using the quick edit ...
1
vote
1answer
46 views

Start 2010 workflow using App Only client context in 2013 app

Have a provider hosted app that connects to my SPO 2013/O365 instance via App Only authentication. When the user submits through the app it creates a list item. I have a 2010 workflow set to kick ...
1
vote
0answers
41 views

Create a custom permsetup.aspx and add extra text fields for new groups

I have the following requirement: When a user creates a new site via Site Settings\Site Content\New Subsite, and he selects "use unique permissions", the user is redirected to the page: permsetup....
1
vote
0answers
29 views

interface sharepoint <=> own independent web application

I'm really sorry to annoy you with this, but I just don't get a clear answer though I try hard to find it. I've learned a lot about the REST interface - but it looks like that it is simply impossible ...
1
vote
0answers
14 views

Updating result source query using client dll

Is it possible to update the query in the query builder of result source using client dll ? If yes please show me some way.
1
vote
1answer
48 views

How to find site/web template title based on site url

I've applied a custom web template in a site. How to retrieve the template title based on site url in c#? FYI: My Custom Web Template name is "{guid}#MyNewTemplate" and title is "MyNewTemplate", ...
1
vote
1answer
100 views

Get Current User before ADFS authentication

I'm currently writing an HttpModule in the hopes of gleaning the currently logged in user and redirecting them if they are trying to authenticate with the Windows credentials instead of using a valid ...
1
vote
1answer
236 views

Upload a Folder with Sub-folders and Files Recursively with Pure CSOM?

Can someone please, share a CSOM (C# only) recursive method for uploading a folder with subfolders and files to a SharePoint Online Library? I know about WebDav and FileExplorer, but it's not a ...