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
2answers
945 views

CAML query returning everything?

I am busy messing around with lists and CAML queries: SPQuery query = new SPQuery(); SPList list; SPListItemCollection collection; query = new SPQuery(); query.Query = ...
7
votes
4answers
895 views

What are the dangers of using a static class that contains your SPWeb object?

When creating my SharePoint 2010 solutions, I often create a static class that contains helper methods and lists, documents, list items, etc that I use frequently. What would the dangers of putting my ...
2
votes
4answers
3k views

Custom Timer Job/Solution Deployment Problems

I have a single solution that consists of the following: Custom Timer Job (WebApplication scoped) Custom Content Type and List (Web scoped) Custom Logging Area (Web scoped) These features are set ...
1
vote
2answers
669 views

Deploying custom webservices

I am working on an old project, not currently used, that I pulled from our source backups. I have experience as a Sharepoint user but this is the first time I have been developing for or ...
0
votes
2answers
190 views

How to Refresh Web Service Value

I have an InfoPath 2010 form that is pulling data from a web service. For example, I have a text box, a button, and a drop down list. The button submits the text box value to the web service. The ...
1
vote
2answers
216 views

Installing a custom webservice

I am trying to install some (old) bespoke software which contains Sharepoint webservices. Unfortunatly I don't have the documentation for this software, if there ever was any. I have been reading up ...
1
vote
4answers
147 views

SharePoint Development Sever Yes\No

My department head is insistent on having a Development and Production Server for our SharePoint sites. After speaking with some other professionals and working with the technology for several months, ...
0
votes
2answers
75 views

Access title-element

I've created a contentype that inherits from the item contenttype. So the contenttype automaticaly has the field: Title. But how access this field (I want to add some custom validation and define if ...
0
votes
1answer
163 views

Leaving Content Type behind on solution retraction?

At first, I'm wondering if this would be a good idea, at all... However, I have a project (http://sharepointadlds.codeplex.com) that creates two Content Types as well as two Lists in Central ...
1
vote
3answers
4k views

Update multiple items, Sharepoint workflow activity

I am new to share point, and I am trying to get my workflow to update every item in a list that match a particular expression. for instance lastname = 'smith'. From my understanding the update item ...
4
votes
1answer
3k views

Can the zoom/scale on JS Grid conrol in gantt mode be changed?

I have created a webpart with a JS Grid control with gantt enabled. I want the gantt view to display months instead of weekdays. Anyone have an idea how to do this? Update: The following link is what ...
1
vote
1answer
252 views

Display the actual attachments(Image) in Announcements list?

I have a custom web part on my home page pulling data from the announcements list. When a user clicks on the Title (I have created it as a link) it directs to this page: I would like to modify the ...
1
vote
1answer
143 views

Deleting a Custom List Item using a custom field Name

Normally we delete a List item using following code, using (SPSite site = new SPSite("http:web1/default.aspx")) { using (SPWeb web = site.OpenWeb()) { ...
0
votes
2answers
468 views

How to Set Specific Site Collection as SharePoint Search Scope using C#?

I have two site collections as Portal1 and Portal2. In Portal2, I have enterprise search centre and will add custom Search scope for Portal1 site collection using C#. I deployed project in Portal2 and ...
1
vote
1answer
601 views

Custom Field does not save

I've created a list that contains a cumstom field. The custom field inherits from SPFieldUser. After I created a new ListItem (webfrontend) and have a look on the elements details the field is empty. ...
4
votes
4answers
837 views

Add a Web Part Zone to “My Newsfeed” Page via PowerShell

I've done a fair amount of looking into this idea without promising leads. Let me define my problem: I need to add a third column (as a Web Part Zone) to the "My Newsfeed" page in My Sites. The ...
2
votes
1answer
2k views

Why does SPUtility.Redirect throw a thread abort exception

Wherever I use SPUtility.Redirect in my code it works ok for the user but i see a thread abort exception in the ULS logs, the message starts with: "ExceptionType: 'ThreadAbortException' ...
1
vote
2answers
169 views

Customise new.aspx for creation of custom document library

I have created a new document library template in CAML using the Visual Studio template. I have only made a couple of changes and these are all in the Elements.xml (e.g. to change the title, id etc. I ...
3
votes
2answers
582 views

Generate file then close SharePoint dialog page

I have a custom solution where I open a SP Dialog box through Javascript. From this dialog, I want to generate a file and sent it to the user when he is clicking on a button, than close the dialog. ...
3
votes
2answers
1k views

How can I implement SharePoint JSGrid filtering and grouping functionality?

I am working on SharePoint JSGrid. I am able to implement the sort functionality in JSGrid. Now I want to implement the grouping and filtering in my custom JSGrid. For filtering we have to attached ...
2
votes
1answer
1k views

How to add a webpart to 2nd “Top” Zone of a Webpart Page Programmatically

I Have a webpart page, which has layout as shown in picture, Now I want to add a webpart to second "Top" zone of my page but I dont know how to access it, If I want to add it to first top zone I ...
1
vote
3answers
3k views

Event Receiver in SharePoint using ItemAdded and ItemUpdated

I have an Event Receiver that is supposed to fire when a SPListItem is added or updated in a SPList that is a SharePoint Calendar. I'm using two methods, ItemAdded and ItemUpdating. When I add a new ...
4
votes
2answers
2k views

This functionality is unavailable for field collections not associated with a list

I have the code below and up the fld.Update() line, it crashes saying This functionality is unavailable for field collections not associated with a list The string values I provided are fine. ...
0
votes
1answer
324 views

SpServices Cannot Get Sub-Sites without Being Site Collection Admin

I am building a web part which is delegated by permissions. It is displayling members of the Members group and Owners group onto the page, and if a user does not have Members or Owners permissions, ...
1
vote
2answers
580 views

Click Event on a HyperLink in a webpart

Trying to add a click event to a hyperlink, but couldn't find any way except people using this code of line with some javascript, HyperLink link = new HyperLink(); ...
0
votes
1answer
97 views

TopNavigation Bar is shown Null for Report Centre site in Sharepoint 2007

I have create a Publishing site collection in Sharepoint 2007 and when i try to get the TopNavigation Bar for 'Report Centre' site I get it null. Why ? However for Document Centre,News etc it is not ...
0
votes
1answer
275 views

EntityList empty when querying items provisioned in List Instance XML

I'm not sure if I have found a bug here or if I'm doing something wrong. I have a list which I provision using a SPI in Visual Studio, in the List Instance XML I provision some default list items ...
0
votes
3answers
448 views

Access Denied for SPUserCollection.remove()

Works for administrator but not working for a normal user. I even tried it with "SPSecurity.RunWithElevatedPrivileges(delegate() {});" after breaking RoleInheritance, and even tried ...
0
votes
4answers
206 views

Should I learn CAML? [closed]

I've been spending the last few days studying sharepoint and plan to work with it for a long time - but I've only just heard the word CAML mentioned and seen it's querying in action, is it something ...
2
votes
1answer
203 views

Limit the number of views in a web part

Is it possible to select which views of a document library that should be available in a web part displaying the document library? This seems to partially solve the problem: ...
0
votes
2answers
441 views

Beginners question regarding code-behind for aspx pages

I've been studying sharepoint for a matter of days now so please bear with me if I'm missing something really obvious. I've followed a couple of guides that have got me familiar with the process of ...
2
votes
2answers
2k views

Sharepoint External Data field with multiple values

I need to create a list column which contains external data (from BDC). The field has to contain multiple values. But I haven't found a way how to make a external-data-field take multiple values. ...
1
vote
1answer
59 views

Webpart updating event

is their a way to listen if a webpart has been updated. like a event reciver. i could not find anything about it, perhaps if i added a itemupdated event, for pages that have been edited when the ...
0
votes
1answer
96 views

Different Value of Lookup Field in different Views

here's the code using (SPSite site = new SPSite("https://mysite.com/Ting/default.aspx")) { using (SPWeb web = site.OpenWeb()) { SPList SourceList = ...
0
votes
1answer
573 views

Create TermStore (SPServiceApplicationProxy) Programmatically

Is it possible to create a new custom TermStore Programmatically? something like SPServiceProxy proxy = SPFarm.Local.ServiceProxies.Where(s => ...
1
vote
3answers
981 views

How to work in Sharepoint 2010 Team based development

We have following environment to create a publishing fully branded portal. Three developers each one have sharepoint 2010 installed on their workstation. One Server so that when each dev finish its ...
1
vote
2answers
1k views

Sharepoint online Custom Expiration

I was wandering if someone could assist, I am currently trialling office 365 and would like to use sharepoint online. One of the main reasons I need sharepoint online would be for Document ...
1
vote
1answer
816 views

Avoid metadata columns in SOAP response

I searched around the internet (and on this stackexchange site), but didnt find any answer. I wrote a small C# application that should retrieve some data via the SOAP webservice of a sharepoint ...
1
vote
2answers
951 views

Sharepoint Ribbon: Circumventing Context sensitivity

First of all, I've asked this same question on StackOverflow. I don't know if questions asked there are visited by users here and vice-versa, so in hopes that my question gets the most exposure, I'm ...
0
votes
2answers
93 views

How to use values from 2 item collections?

I'm trying to use values from 2 SPListItemCollections, as one of them have a lookup field with values from the other list. The reason why I need to do this, is because I need the value from the other ...
1
vote
1answer
606 views

Custom Expiration Policy

I was wandering if someone could assist? I am trying to implement a custom expiration policy within sharepoint, I hope to achieve the ability to get notified when a document reaches its expiration ...
0
votes
2answers
276 views

FileNotFoundException when getting a list that EXISTS?

I am having the following exception when trying to get a list that I know it exists. yes, I know the using should not be used in this case but thats not my code :), but I dont think thats the problem ...
0
votes
1answer
1k views

Changing all webpart's Zone ID on a Page programmatically

I Want to add all the webparts already exists on a Page with different zoneIDs into "Top" zone using c#. I know i can use this code of line SPLimitedWebPartManager wpManger = ...
0
votes
1answer
623 views

Specify character encoding in webpart

really simple: I have a visual webpart with danish letters (æøå) which is malformed when deployed - most likely as a result of the wrong characterset encoding. How would I go about specifying this in ...
2
votes
1answer
875 views

How to register an ashx handler through sharepoint 2010 farm solution

I have a 3rd party control that i want to add to the web part. That 3rd party control uses a generic ASHX handler. I can always add the registration to the actual WFE web.config but it's a bit ...
0
votes
0answers
464 views

Styling Sharepoint Mobile Pages

Myself and my team have been given the (almost) impossible task of styling SharePoint 2010’s Mobile view. We have been following the walk through for base styling (Mobile How to) but we are coming ...
1
vote
3answers
1k views

List using subsites as items?

I'm looking for a way of AUTOMATICALLY adding an item to a list on a root-site when you create a new subsite of a specific type. Context: I'm building a "Project Portal", and there's a requirement ...
3
votes
2answers
3k views

Adding description to sharepoint link URL using the C# CSOM

I'm currently adding the URL except the description is an ugly link. I would like to add the description to the URL in a links list on sharepoint online. My current code to add a new item from an ...
1
vote
2answers
631 views

Disable value in dropdown menu after being selected

I have created a library in which i am using the drop down column with some values.These Values will depend on the group to which the user belongs. For Eg. If Drop Values are A, B , C, D, E and ...
0
votes
1answer
560 views

Why the files which are added as link in project are not deployed on SharePoint 2010

I have two projects in my VS solution, a project named "B" is a SharePoint 2010 project which has a mapped SharePoint "Layouts\js" folder and some other project "A". In project "B" I put various ...