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
0answers
40 views

ID column in Sharepoint How it Cols in Internal name, and in Display Name

How calls a ID Sharepoint Column. Internal name. In ItemAdding I have got that code at Event Receiver: item["ID z Czas Pracy Wpisy"] = properties.AfterProperties["Identyfikator"];
0
votes
1answer
115 views

Display Name and Internal Name

I has this Code: var query3 = new SPQuery(); query3.Query = "<Where><Eq><FieldRef Name='Dzien' /><Value Type='DateTime'>" + ...
0
votes
1answer
79 views

If a change a name for the column of the list how can I get it back

If I made a list in first time and puts a names on them, it's work good, but when I rename it, and want to call back from the code, it don't see the rename title of items colums. How can i call to ...
0
votes
0answers
396 views

Cannot remove file <x>. Error Code: 16388

I've written a tool top copy/paste/delete files accross site collections and then remove the original version from the recycle bin. The method to copy the files is: public bool ...
2
votes
3answers
107 views

Using a development farm or standalone for developing against SP2010 Standard and Enterprise features?

When doing development for SharePoint 2010 Standard and Enterprise features, should we use a farm or a standalone setup? Please note that a similar question was asked ,but this aspect was not taken ...
3
votes
2answers
591 views

How to get changes from SP server 2010 in client object model?

Below is the code: ClientContext context = new ClientContext("http://SPSite"); context.Credentials = new NetworkCredential("user", "pwd", "domain"); ChangeQuery cq = new ...
0
votes
0answers
146 views

How to insert fields of the Document Information Panel inside the body of DOTX document?

In a DOTX template document, how can I insert a placeholder for the fields in the Document Information Panel? I'm only being able to insert document properties, via the Quick Parts button. And, if ...
0
votes
1answer
379 views

Popup on Sharepoint. How to add?

I have got a question, How to add popap window to Sharepoint by the code. I tried many thinks, but they could be block by web browsers. I must find that want unblock by web browsers.
0
votes
1answer
123 views

Tutorials CAML for Sharepoint

Have You know any CAML Tutorials ? At most i would like to find any Tutorial for U2U CAML Query Builder. Please help.
0
votes
3answers
342 views

Overriding complicated javascript function

I have a some default SharePoint complicated javascript function and I'm not sure how to override it, replace it. In gerenal i know how to replace the functions, so that your implementation is called ...
1
vote
1answer
101 views

Access exceptions when trying to add a content type to list

In the following method, 'list' is simply an SPList ("Documents"). I'm attempting to add ContentTypes to the list and then update it. This code is found in the FeatureActivated event of an event ...
0
votes
2answers
182 views

Writing a ItemAttachmentDeleting in Event Receiver

i have got two Lists {"Wpisy", "Szczegoly"} And if I delete record in Wpisy I want to delete all corelate records by days in "Szczegoly", and worker schoud be the same, and Kontrakt schould be the ...
3
votes
4answers
3k views

Get SPWeb by ID without Site Collection?

I have a list of SPWeb IDs and would like to open the associated SPWeb objects. However, I do not know in which Site Collection they are (I DO know that they are in the current Web Application ...
2
votes
2answers
98 views

How to connect to the production environment in SharePoint with Visual Studio

What privileges should be set up to connect with the Visual Studio with Production Enviroment. Now I'm writing my code at SharePoint Foundation, but after it I want to migrate all to the production ...
1
vote
0answers
97 views

Editorpart positioning at the bottom

I created my own custom editor part for my web part. But when I add it to the web part, it displays by default at the top, what i would like to have is to position it at the bottom. Anyona has any ...
0
votes
2answers
54 views

Problem with two loops on rendering in calendar

I have got problem with two loops. If I adding one its good, but with more it duplikates or more the values. I put this 3 Values {1/8, 1/8, 3/8} And want to get in sum 5/8. Because 1/8+1/8+3/8 = 5/8 ...
0
votes
3answers
53 views

Adding a Sum to callendar

I want to Sum values String Values of percents{1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8, 8/8} which are strings. And I want to sum percent's in days. Only in this same day. I write a code, but it isn't work: ...
0
votes
1answer
71 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
127 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
386 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
371 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
189 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
155 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
308 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
808 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
81 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
54 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
556 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
707 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
68 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 ...
2
votes
1answer
208 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
250 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
245 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
628 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
2k 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
489 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
733 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
5k 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
502 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 ...
2
votes
4answers
5k 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
59 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
400 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
241 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
269 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
1k 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 ...