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

learn more… | top users | synonyms (3)

3
votes
1answer
440 views

making an SP.UI print dialog

I'm thinking of adding a print button to my list ribbon , the minute I click on this button a print dialog appears showing the list of the available printers on my computer. so this printdialog i was ...
1
vote
1answer
958 views

RichHtmlField showing html markup in display mode

I am trying to render html tags with text in RichHtmlField control in SharePoint. Following is html code. <%@ Register TagPrefix="Publishing" ...
2
votes
0answers
25 views

“People or Group” field with both People picker & autocomplete capabilities inside the built-in forms

I know the following facts about "People or Group" column type:- Inside the built-in New & Edit forms they will be rendered as auto-complete fields. Inside custom forms they will be rendered as ...
0
votes
1answer
34 views

Setting default values for my new sub site during the sub site creation process

I have a site collection column named “Sub site Manager” which is associated with a security group named “Site Admis”. And inside our sub sites list, users select the related admin user when ...
0
votes
1answer
881 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 ...
1
vote
2answers
1k views

Causes of “The Web Part you are connecting from does not allow authoring of connections”

When I add my provider and consumer web parts to a web part page (following Walkthrough: Creating Connectable Web Parts in SharePoint Foundation) I find that the 'Connections' option on my webpart is ...
0
votes
0answers
26 views

SP2013 CSOM - 401 Unauthorized Exception from Server - What Feature/Service is the issue

I try to access a SharePoint 2013 Server via C# CSOM. The only thing I do is create the ClientContext, set the context.Credentials to my NetworkCredential, and ask for the Web Web web = context.Web;. ...
0
votes
2answers
17 views

How can I manipulate List-Data on a certain SiteCollection using a TimerJob?

I need to periodically execute code that reads and writes ListData within a certain SiteCollection. My first thought was a TimerJob. Can I create a TimerJob using a SiteCollection-Feature? How can I ...
0
votes
1answer
22 views

associating a “People or Group” column with a group that contain Everyone will not autocomplete any users

I have created a group named "Intranet Visitors" that contain Everyone as follow:- Then i associated a site column of type "People or Group" with the security group, as follow:- but now when i ...
2
votes
2answers
587 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
0answers
358 views

Adding an existing app part using the client object model( finding the xml)

I've recently found this nice thread on adding an existing webpart using the csom: Add an existing WebPart Using the Sharepoint client object Model I've tried the same approach for an app part (so an ...
0
votes
1answer
41 views

Unable to create a look-up site column at the site collection level, then override it at the list level

I want to create a new Lookup site column named "List Attendees" which will contain unique values for each list. so i created the new lookup at the site collection level, but i faced the following ...
4
votes
3answers
6k views

Getting the SharePoint Web Application URL Programatically

Is there an easy way to get just the web application URL in SharePoint, for example, SPWEbApplication has the following property spwebapplication.sites that would return URL's of all the site ...
0
votes
1answer
20 views

Changing the content type for a list will keep the old content type's columns inside the list

I have created a new Issue tracking list inside my Team site inside SP2013. then i removed the Issue content type from the list and i added the Event content type instead. but currently the list ...
0
votes
0answers
13 views

Renaming a site column at the list level , does not always get reflected inside the site templete

I am facing the following problem:- i created an issue tracking list inside a subsite, then i rename the Built-in Description field to be "Detailed Description" at the list level. and i change its ...
0
votes
1answer
31 views

Timer job runs multiple times

I have a timer job that run multiple times, even though I have specified the SPJobLockType to SPJobLockType.Job. My constcrutors look like this public TimerJobTest() { } public TimerJobTest(string ...
0
votes
2answers
23 views

Global variable value assignment inside function [closed]

If i change the value of a global value inside a a function will that change apply to other functions or after the function ends ir resets to the default value?
1
vote
0answers
30 views

Renaming a subsite (Name & change its URL) will not allow me to save it as templete

I was working on a subsite and i use to save it as templete without any problem, now i decide to change the sub site name and URL , so i rename it from CustomerPortal to CustomerportalTemplete. But ...
1
vote
2answers
36 views

Audit Documents in SharePoint Online

One of our Customer wants to audit opening and downloading of documents on Sharepoint Online.I know this is not available OOB. Is there any third party tools that we can use? Or is there any way to ...
1
vote
1answer
32 views

how to show a list of all subsites that are under a parent subsite using Web Parts. similar to the list inside the site content

I have team site collection inside SharePoint 2013. Where I created a parent sub site inside it. Then under the parent sub site I created many sub sites. Now I need inside the parent sub site's home ...
0
votes
1answer
32 views

Adding 'Link to Item' in SPView Programmatically

I am trying to add Link to Item to existing SPView in SharePoint 2010. The same view is further used in ListViewWebpart. I am using below code to add LinkToItem attribute for field 'SpecificGoal'. ...
0
votes
1answer
39 views

Any workaround to show the People Picker inside the built-in Edit & New forms

I am working on an Issue tracking list inside SP 2013, where I have associate the AssignTo field with a security group. but currently inside the built-in Edit & New forms I cannot select the ...
2
votes
1answer
598 views

Extract text from document in a SharePoint 2013 library

I would like to extract the text from documents stored in a SharePoint 2013 online document library. I have the document loaded using: ClientResult<Stream> data = file.OpenBinaryStream(); ...
1
vote
0answers
25 views

How to convert List Name and List Field Display Names to REST API?

I'm using SharePoint 2010 REST API and noticed the a unkonwn (at least to me and to my searches) translation function is applied over List Names which go in the URL and to Fields Names in the results. ...
2
votes
1answer
47 views

Sharepoint developer training for a company new to Office 365 [closed]

Sorry for the long question but I want to give you the background. I'm asking for training suggestions for beginning developers. My company is consolidating and moving to Office 365 from a mix of ...
1
vote
2answers
59 views

Modifying a default value for hidden column will set it as optional instead of hidden

Sometimes you are faced with problems that you can not understand. Now I have a hidden column inside my Issue tracking list, which is used to store a series of string to be read by the list workflow. ...
0
votes
3answers
237 views

webpart available for all users,

i have a custom webpart , this webpart needs to be available for all users in site. It has a button which redirects to newform.aspx . Everything works for all users except visitors cannot access the ...
1
vote
3answers
40 views

SharePoint DateTime conversion issue in ASP.NET

I am facing a strange issue in converting DateTime value received from SharePoint GetListItems method. Here is what the date string looks like - ows_DatePaid="2015-04-28T18:30:00Z". Now the problem ...
0
votes
0answers
11 views

Renaming a file with Event Receiver [duplicate]

I need to rename a file in a document library with an event receiver, so that the URL will not have %20's. Basically the File name or File path needs to be stripped of spaces. The problem I'm having ...
0
votes
1answer
27 views

Which site column type can held a list of external users

I am facing the following 2 problems inside my team site, and I can not find a suitable column type that can satisfy my requirements :- I need to create a site column which contain a list of ...
1
vote
1answer
26 views

Iterate all documents and folders in a document library,

We have a document library on our Intranet where documents are stored. The document library also has 2 folders with broken inheritance. I want to loop through all the documents in the document ...
0
votes
1answer
44 views

People Picker icon is not showing inside the built-in New & Edit forms, while it is showing inside custom New and edit forms

I have a site column of type People & group inside my SharePoint 2013 team site, now inside the built-in New and Edit forms the site column will not have "People Picker" icon beside (which can ...
0
votes
1answer
37 views

unable to hide the Recurrence , Workspace & All Day Event from a content type

I have created a new custom content type , that have the Built-in Event as it parent, and i want to hide the following columns from my new content type:- Recurrence Workspace All Day Event but ...
0
votes
1answer
13 views

Cannot deploy visual webpart from sandboxed Sharepoint 2013 solution

I'm trying to deploy a visual webpart to SharePoint 2013 site from sanboxed solution. My webpart RSSNews.ascx (it doesn't have custom code behind): <%@ Assembly ...
0
votes
0answers
23 views

Adding list item produces random effects

I have a list in SharePoint with various lookups add I add items to it: var itemCreateInfo = new ListItemCreationInformation(); var list = ...
0
votes
0answers
11 views

Issue when the custom web part added to community home page from code behind

I have an event receiver on list which will create the community web from code behind and add custom web part to the home page of newly created site. To add the web part I have following code: ...
0
votes
1answer
612 views

Check-In & Checked Out files inside folder in Document library using Client Object Model

I am not able checkin/checkout the files in sub folders in the document library using client object model. Below is the code I am using. public void CheckOut()// CHECK OUT FUNCTION { try { ...
0
votes
0answers
32 views

Renaming a file with ItemAdded Event Receiver

I am using an Event Receiver to rename a file in a document library. For some reason this doesn't seem to work. public class EventReceiver1 : SPItemEventReceiver { /// <summary> /// An ...
1
vote
1answer
20 views

How to change the Custom Timer Job's title after initial deployment

I created a SharePoint Custom Timer Job in Visual Studio 2012 following the steps given in this article by Ravi Rachchh. It works fine. However, I wanted to change the Title of the Timer Job. So I ...
1
vote
1answer
38 views

Authenticate with SharePoint 365 via CSOM using an API Key

I am trying to build a MSSQL 2014 SSIS Package to update our SharePoint Online Term Store using CSOM. The SSIS package operates in the same fashion as a Console Application. I would like to be able ...
3
votes
3answers
88 views

Unable to close the modal dialog from c#

I have created one custom action. On clicking custom action, I am opening an application page as a modal dialog. The page will allow users to add the data of fields. I have placed two buttons in the ...
0
votes
1answer
38 views

Managing shared & list-specific drop-down lists ,, should they be managed differently

I am working on a new SharePoint project, where we need to define a site template that has 4 issue lists. And end users will be creating sub sites based on the template. Now the problem I am facing ...
3
votes
3answers
2k views

Can not update Navigation programatically

I have following code var subWeb = newWeb.Webs.Add(subsite.Url, subsite.Title, subsite.Title, 1033, PublishTemplate, false, false); subWeb.AllowUnsafeUpdates = true; subWeb.Update(); PublishingWeb ...
7
votes
5answers
4k views

How do you remove fields from a custom list in SharePoint that have been added via the 'Add from existing site columns' menu item?

I have a custom list, and I've added a 'Page Image' field by clicking on the 'Add from existing site columns' link on the Settings page for the list. I would now like to remove the field, but clicking ...
1
vote
1answer
34 views

Creating Content Type using Schema.xml

I am trying to create a content type from a schema.xml but the fields are not getting created, any ideas? <ContentType ID="0x0101001CC4D99118BEC246AB8D5DF12A34B61F0101" Name="License" ...
1
vote
1answer
3k views

Load properties of list item client object model c#

I have a situation where I need to load items from the list and which columns to be loaded cannot be hardocded, as it will be decided on user input. I have following code. ocamlQuery.ViewXml = ...
5
votes
2answers
280 views

ListItem[“Property Name”] VS ListItem.Properties[“Property Name”]

When we try to get list item properties, three ways of getting property I remember are, ListItem["Property Name"] //always work fine ListItem.Properties["Property Name"] // works fine unless I ...
1
vote
1answer
33 views

Which approach to follow if I want to modify the built-in Issue Status Choices?

I have created an issue tracking tool, which come with built-in “Issue Status” field with the following built-in choices ; Active , Resolved & closed. Now I want to have different choices (open, ...
2
votes
2answers
514 views

Windows 8 App using COM dlls of Sharepoint gives error “Cannot resolve Assembly or Windows Metadata file 'System.Web.Services.dll'”?

I have created a sample app using Windows 8 C# XAML to get site info of SharePoint 2010 using COM Dlls. I have added reference of: C:\Program Files\Common Files\microsoft shared\SharePoint ...
0
votes
1answer
23 views

Adding Content Type To Document Library

I am creating a custom list and in that trying to add an existing content type. Below is the code used: testList.ContentTypesEnabled = true; SPContentType testContentType = ...