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
64 views

Linq, how to put a indexes on Linq Query

I want to render a dates from list to the ASP Calendar. My list look like this: Kontrakt | Pracownik | Dzien | ID | Procenty -------------------------------------------- I made Linq Query, but ...
1
vote
1answer
118 views

Set PageLayout Object by Page Layout Name

I have code as part of an event receiver that creates a publishing page upon feature activation. That publishing page is built on a page layout that is deployed as part of that same feature. The ...
0
votes
1answer
341 views

CAML Query to Render a dates on Calendar

I am trying to learn CAML Queries. I must render a lot of data on Calendar. I made a code, but if it has got more then 1000 elements it's doing very long about 4-5 seconds. It's longer then adding to ...
0
votes
1answer
337 views

importing a site to a new site collection error

I tried using STSADM to export / import a site definition, it exported properly, but when i tried to import it, it gave me fatal error that couldn't find a webtemplate #id** with LCID 1033, both ...
1
vote
1answer
181 views

Getting Web Template using Configuration ID

I am able to get Web template by checking its ID, but we have ten's of web configurations within a web template so in short we have loads of web template id's with different configurations and Title. ...
1
vote
2answers
143 views

Is there anyway I can find out if user uploaded multiple items in ItemAdded Event

I have a "ItemAdded" event, I want to check Number of documents uploaded if a user uses "Upload Multiple Documents" for uploading. Normally what happens is when a user adds a item they are taken to ...
2
votes
1answer
273 views

Does anyone know how to create a sharepoint search alert using c#?

i need to develop some sharepoint search alert related werb part and would be grateful if anyone who has previous knowlenge in this area share code snippets or sights where i am guided. Thank you.
1
vote
1answer
721 views

Lookup column of type “User” showing #ERR

I've defined two list definitions and instances in a feature in VS2010. One list only contains a required field "Employee" which is of type User. The second list has two fields, a simple text field ...
0
votes
1answer
79 views

Getting resources in a Visual Webpart

I want to get resources that are kept at directory in my visual webpart "User Control" for SharePoint 2007: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Resources At the ...
1
vote
1answer
36 views

CurrentUser.Name different on dev to test?

Locally (during development) CurrentUser.Name brings back a nicely formatted first name and surname: "Dee Mac". On test it brings back "DOMAIN\DeeMaC". Is there anyway I can ensure I'm gettin a ...
2
votes
4answers
5k views

Loading jQuery in the Correct order

I wish to use a jQuery plugin in SharePoint. Currentley I have jQuery added to each page via a custom master page. <script src="/Style Library/js/jquery-1.6.4.min.js" ...
0
votes
2answers
52 views

Not able to add webpart to page using chrome

I created a visual webpart for SharePoint 2007, now I am able to add it to page using Internet Explorer but when I try to add it to page using chrome it doesn't add it or do a page refresh, I followed ...
1
vote
2answers
546 views

Is it possible to display the FieldRenderingControl of a FormField without providing a ListId?

Is it possible to display the FieldRenderingControl of a FormField without providing a ListId? I'm creating a dynamic form based off of a content type. Most of the time the data from this form will ...
1
vote
1answer
620 views

Sharepoint 2013 Community site: Get values from “Discussions List” list

Im trying to get values from "Discussions List", When I tried to get the values of "Body" field from that list its giving only the values of the replies of discussion. I couldn't access the values of ...
0
votes
1answer
67 views

Pro grammatically adding choice field with another field relation

sorry about the title am not sure how i should name it. I want to be able to create two columns for a list that have a division - subdivision relation. If in the first field if i choose People the ...
1
vote
1answer
189 views

Can't find a site column that DOES apparently exist

Well I've deployed a site column from my xml definition and upto now it's been fine. I then checked my content type (after some unexpected errors) and it's removed itself from the content type and is ...
2
votes
3answers
3k views

How to find the SiteCollection created date in Sharepoint 2010?

I want to find the sitecollection created and last content modified date in Sharepoint 2010, found a SPSite property for last content modified date however could not find any clue to find the created ...
0
votes
1answer
238 views

Possible to programmatically force timer to run?

I've exposed some 'rename metadata term' functionality to the user through an application page. It works fine, but they obviously don't see the changes until the 'Taxonomy Update Scheduler' has ran - ...
2
votes
1answer
215 views

Should we use web service lists.asmx over CAML when working with large lists

There is a list that has around 100k items in a SharePoint Site Collection. This site has been customized to serve certain business requirements through visual webparts. While, regular CRUD ...
0
votes
1answer
463 views

How to create a new FBA user programatically using VS 2010?

I am looking to create a new FBA user (explicitly) in the membership db using the membershipuser create user programatically. The purpose is to test permissions using the spfarm account. What is ...
0
votes
1answer
54 views

How to specify the name of a ContentType in code for multi-language site?

according to the documentation I can do: <ContentTypeID="0x01000188a30d01ae4607bbe5800bbbaf2550" Name="$Resources:LocalizeContentType,ContentTypeTitle" .... However I seem ...
0
votes
2answers
1k views

Add Listview of parent site list

i want to add a page where users can view and edit a list, problem is the list is not in the site but rather in its parent site. I also want to be able to filter the list so they can only see a items ...
1
vote
1answer
391 views

How do I rename a metadata term in C#?

Can't find this documented anywhere. Do I just change the Term.Name and run a commit all on the term store?
2
votes
1answer
668 views

SharePoint Designer Workflow Creating New Document Sets

Scenario: We have a document library with document sets configured with some default documents in them. When creating a new Document Set normally, it adds the default documents just fine. We have a ...
3
votes
4answers
4k views

SharePoint 2010 List Rotator Web Part

Ok, so I would normally take the time to write this, but don't have said time to do it at the moment. I need a web part for SharePoint 2010 that does something very simple: display list items from a ...
3
votes
2answers
473 views

Regex Query Against FAST Search 2010

I'm looking for a way to do searches with FAST Search Server 2010 based on Regular Expressions. For instance, I'd like to be able to use: ^\d{3}-\d{2}-\d{4}$ And have it return any content ...
1
vote
4answers
4k views

Value does not fall within the expected range when iterating over all fields

I have a custom page that copies items from one list in one site to another, and its failing with the exception above. I tried checking the field using sharepoint manager but I didnt find anything ...
0
votes
1answer
54 views

Where should User relationship be managed/maintained in Sharepoint 2010?

I have manager and employee reporting to manager. The sharepoint server is integrated with active directory and active directory does not maintain any such relationship. So how can we do that ? Can ...
0
votes
3answers
328 views

Render TextBox (sever control) in WebPart and manage (text, visibility etc of) the server controls from editor part

My initial goal is to achieve the following Render dynamic TextBox in custom editor webpart Manage Text (, visibility, height, width etc) of the TextBox from editor part. We can consider ...
0
votes
1answer
196 views

Is there anyway to execute a web scoped timer jobs manually

My timer job runs every 15 minutes so on Staging server I have to wait 15 minutes while waiting for results after deploying it, is there any way I can simply execute it, I remember there was some ...
0
votes
1answer
51 views

Determine the location List or Document Library

How can I determine if I'm in the List or Document library and I'm not on some page that is inside the document library? For example if im on the page which is located in the pages and I do: ...
1
vote
1answer
255 views

Windows Phone 8 with Sharepoint 2010 Connectivity

How we connect Windows Phone 8 to Sharepoint 2010 and get list data using web services I found connectivity for Windows phone 7 with Sharepoint 2010 but not found with windows phone 8.Is it same for ...
0
votes
1answer
985 views

Where to Place XML File to be Read by Web Part?

In another question, I finally found a way to deploy the XML file to be read via a Feature, to the _layouts folder: Feature Elements File Should I be deploying it there at all? I wasn't able to ...
0
votes
1answer
53 views

DRY and page layouts

Being a fan of DRY to write maintainable code I'm having some problems getting to terms with SharePoint development. Some information (e.g. GUIDs) is often repeated and spread out over several files, ...
2
votes
1answer
239 views

SharePoint Designer not saving changes

I've developed a SharePoint WebPart but am having trouble editing it in the SharePoint Designer. My WebPart is supposed to be a thin wrapper around a DevExpress Chart which exposes all the settings in ...
1
vote
2answers
124 views

Parsing boolean ListItem property into string

I am currently parsing boolean into string using this line, but it ain't working all of times, is there any alternative ? bool.Parse(listItem.Properties["Boolean Property"].ToString()) == false
3
votes
1answer
6k views

How to full uninstall SharePoint 2010

I wanted a clean install of SharePoint 2010 so I recently uninstalled it as well as deleted all the content databases from Central Admin and SQL Management server. I then re-installed SharePoint 2010 ...
1
vote
1answer
42 views

Convert Page to PersonalWebPartPage

I've a strange question for you. I have to fix bugs in the another's code (webpart for sharepoint 2010). So in the code there is a line with the code below: var s = ...
6
votes
4answers
474 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 ...
1
vote
1answer
684 views

InfoPath form has Multiple Selection List Box that checks all items instead of just one

In InfoPath 2010, I have a Multiple-Selection List Box that uses an external data source to populate the check box items. This data source is an xml document that gets dynamically populated in the ...
0
votes
1answer
142 views

When placeholder is filled with content from page in master page

My question about the placeholder, basically I have to perfrom a check in my custom user control for some controls, but does controls are loaded from a page in a placeholder. And my user is located ...
2
votes
2answers
887 views

Sharepoint Project automatically retracts Visual studio

I have a Sharepoint project with a workflow and every time I try run it, as it deploys the solution it automatically retracts. This retraction happens 1 second after the deploy. Below is the build ...
2
votes
1answer
267 views

Why is default ScheduledItem StartDate a 'weird' value?

If you create a new ScheduledItem object and look at the StartDate - it's 1/1/1990 - why? This has just caught me out when trying to evaluate whether the dates have been set or whether they're, what I ...
0
votes
0answers
40 views

How Do I Recycle a Folder to Site Recycle Bin and not Site Collection Recycle Bin?

I have written some C# code which will recycle a folder based on the path it is passed, however, when it is executed the folder goes to the SiteCollection recycling bin and not the first level ...
0
votes
2answers
25 views

What is the most efficient way to compile a solution with multiple dependent projects?

I currently have a solution with one "active" project and several helper projects. These projects represent different utility libraries used within my team. The benefit is that the libraries are kept ...
1
vote
1answer
809 views

Add various Fields in a Sharepoint List Programmatically

i need a method where add various Fields in a Sharepoint List, but these Fields must be in the parameter of this method. Show me this method and how should I use it.
1
vote
1answer
157 views

SPLongProcess never redirects to the destination page and hanging on the processing page forever

I got the following code below , it starts a long running process , once the processing completes it will redirects to another page using EndScript().However,SPLongProcess never redirects to the ...
0
votes
1answer
36 views

SPPersitedObject

Hi i am having some problems updating SPPersitedObjects Enviroment A userA site owner account no central admin permissions userB Sharepoint Installation Account permissions on everything development ...
0
votes
1answer
656 views

The file * has been modified by SHAREPOINT\system

In the current scenario I am trying to copy a document set from one library to another, the thing is I cant use DocumentSet.Import because I only need the docset properties and not the contents. The ...
1
vote
2answers
1k views

Simple Choice field value assignment

My apologies for asking, what seems like, a really basic question - but I can't appear to assign a value to a 'Choice' field programmatically and can't find anything documented anywhere. Defined in ...