Tagged Questions

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

Developer VMs on the domain

My organization recently hired 2 SharePoint developers, myself and another person. Prior to this, the organization has never had any developers, so we are in the process of setting of the ...
0
votes
1answer
367 views

Authenticating a user with WSS3 in WinForms

I'm developing an external application which will integrate partially with Sharepoint, it will basically provide the ability to scan straight to Sharepoint. I've been using the WSS3 webservices (I ...
2
votes
1answer
943 views

Getting User details from field “AssignedTo” in a custom List

I have a Custom List, which have different fields, when I click on any user in field "assignedTo" it navigates me to another window and I can see user's Account, Name, email etc. I am able to get all ...
0
votes
1answer
181 views

Getting Sharepoint Users and comparing them with SPList field

I have a Custom SPList that has a field "Assigned To", now I can add as many items as I want, and they can have same title and same User they are assigned to, but what I want is a script so that I ...
0
votes
1answer
51 views

SharePoint 2010 Mobile Connectors

We were looking to create SharePoint connectors for mobile.........which will provide some of the SharePoint features on mobile like Content management, Document Management, Re-branding etc....or any ...
0
votes
1answer
241 views

SharePoint 2007 - Creating a web application in C# gives Error Access Denied at Provisioning

I am trying to create a SharePoint web application (on SharePoint2007) in C#. How differently I tried, it ends up with the same access denied error in the Provisioning step. The error message does not ...
1
vote
1answer
243 views

Download Versions of a SharePoint 2007 Document?

Can anyone point me in the direction of downloading all the versions of a file in a SharePoint 2007 document library? Is this possible with PowerShell, C#, or another way?
0
votes
1answer
365 views

PublishingStartDate empty even though the page is published

I've been through the typical publish/approve process and have, seemingly, successfully published a page (I've checked it's approval status in the manage content and structure section of the site ...
0
votes
2answers
4k views

How is Infopath 2010 “Sharepoint List Form” different from “Web Browser Form” and other form types?

If to create a new Sharepoint list, browse to it and click on ribbon a violet button with Infopath logo "Customize Form", one can edit fRom Infopath Designer a fOrm used for updating/editing and ...
2
votes
1answer
93 views

Possible to use the object model to push content across two different web applications?

I've been able to use the object model to move list items between sites in the same site collection, but I'm wondering if I can use it to move list items between two different web applications on ...
2
votes
2answers
69 views

Where can I find a list of fields that can be retrieved when running a sharepoint query?

An SPSiteDataQuery. So far I have: ... query.ViewFields = @"<FieldRef Name=""Title"" /><FieldRef Name=""Author"" />"; ... I just happened to get these two FieldRef's right (purely ...
1
vote
1answer
65 views

Finding source item in Workflow

I am new to Sharepoint and using Visual Studio 2008 I have created a workflow that uses custom content type based off workflow task list with additional columns for Approval Status and Approver Notes. ...
0
votes
2answers
214 views

How to know old id of item in recycle bin?

I need know old id of item in recycle bin or is there any way how to save its id in this item before deleting. When item is deleted, a new SPRecycleBinItem is created in Recycle Bin. And the only ...
1
vote
1answer
125 views

How to push a specific SPListItem through a workflow with code?

I would like to push a specific SPListItem to the final step in a State workflow, skipping all the intermediate steps (if a certain checkbox is checked). Currently, I have an event receiver hooked ...
1
vote
1answer
131 views

Identifying if a user has selected an RTL language

Scenario: Running SharePoint 2010 with the Hebrew language pack installed. On a particular site, English is set as the default language, but Hebrew is available for users as an Alternative Language. ...
0
votes
1answer
188 views

Sharepoint 2007 WarmUp Script (Memory Leak Possibly)

I was wondering if there is any way I can get a SPsiteCollection object using a URL + if I can dispose it using "using" keyword as well. I want to go through all the SPWebAPplications in a Local ...
1
vote
0answers
295 views

ExecuteRegisteredProxyOperation gives Exception “Operation is not valid due to the current state of the object.”

I've created a fulltrust proxy: string assembly = "FullTrustProxyExecise1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=21621f0ea660fe24"; string type = "FullTrustProxyExecise1.WSCreatorProxy"; ...
0
votes
1answer
981 views

Button Onclick EventHandler from CreateChildControls

I have declared a button in my CreateChildControls method in my web part page: TableCell updateCell = new TableCell(); Update = new Button(); Update.Text = "Update"; ...
3
votes
3answers
1k 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 ...
0
votes
2answers
68 views

Cyclic calling of event receivers

I have a Deleting Event Receiver, say, on list A. Also I have other Deleting Event Receiver on list B. There is a deleting method in both receivers, which deletes items of each other. So, when an item ...
2
votes
1answer
1k views

SPFile.OpenBinary throwing error “Cannot open file”

I have the chunk of code below: SPListItem source = //some list item; foreach (string file in source.Attachments) { SPFile oFile = source.Web.GetFile(file); string strFilename = oFile.Name; ...
0
votes
1answer
6k views

How to copy a Sharepoint page?

In SPD2010 (Sharepoint Designer 2010) under "Site Pages" I created ASPX page ASPControls.aspx, added and configured AdRotator ASP.NET control. Having ollowed "Using ASP.NET Validation Controls" of ...
0
votes
1answer
140 views

Code improvement help - for SPList creation using code

Hi Just wanted to get some tips on SharePoint List created with the following code? I created a helper method (UpdateDisplayName())to update the display name of the columns created is there anything ...
0
votes
2answers
163 views

Start Sharepoint C#

I'm beginner in Sharepoint 2010. I would like to develop a solution with Sharepoint (interaction with api Linkedin or google maps). I see many samples but the hierarchy of the vs project is unclear. ...
2
votes
2answers
317 views

Sharepoint multi-column validation

I've got a custom list that contains multi collumns. The validation is made by a custom contenttype. Now I want a combination of two columns to be unique. Until know I did not found a way to solve ...
4
votes
2answers
657 views

Get Approvers Group - C#

I'm working on a workflow project, where I have to get all the users in the Approvers group. In order to get the approvals group, I run the following code: SPGroup approvals = ...
0
votes
1answer
341 views

Inherited Page Viewer Control - allowTransparency on iframe

I created a custom control that inherits from PageViewerWebPart. Now I need to toggle the allowTransparency attribute to = "true" on the rendered iframe to enable background transparency for the page ...
0
votes
2answers
538 views

Interview Question Difference between SPList.AllItems.GetItem() or SPLIst.GetItem();

I got this interview question today, any idea? Difference between SPList.AllItems.GetItem() or SPLIst.GetItem();
1
vote
3answers
3k views

Update a existing deployed farm solution

I've deployed a farm solution to a test environment by following the Technet Deploy solution packages page - works well. But development continues, and I need to redeploy. When I follow the process ...
2
votes
1answer
375 views

Event for when web part get's focus c#

Is there a way to know when a webpart gets focused? I've look around, but couldn't find anything helpful. Thanks!
1
vote
1answer
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 ...
2
votes
4answers
3k views

How to Password Protect a SharePoint Object (Reassuring High Level Users That its secure)

Edit to clarify: The purpose of this isn't to replace SharePoint security or to add some extra super security or about trust in SharePoint, it is instead to consider something that is very much ...
1
vote
1answer
170 views

What are “unsafe updates” for list items?

In the SharePoint 2010 server-side object model the SPWeb Class has a property "AllowUnsafeUpdates". What are unsafe updates in connection to list item changes? How are they to be delt with in code? ...
1
vote
1answer
165 views

using calculated field in calculated field

I have field1, field2, field3, calcfield1, calcfield2, complexCalcField1 Calcfield1 and Calcfield2 use field1, field2 and field3 for its values. ComplexCalcField1 uses Calcfield1 and Calcfield2 for ...
0
votes
4answers
234 views

Creating a map in SharePoint

I would like to create a map of a small area with about 1000 buildings. I am looking for a way to be able to highlight specific sections and then specific buildings within that section. When you ...
2
votes
1answer
755 views

Inject Script Block after SP.js loads

I have a giant script block inside my code file and I want to load it after SP.js loads. I've looked at ScriptLink, but I don't think ScriptLink injects code, it only injects code files. Is there a ...
0
votes
1answer
364 views

SPRibbon Button Unique Button Commands

I basically have a WP with its own custom Ribbon Buttons and Commands. The command's are hard-coded inside the the Elements.xml. However, the webpart basically breaks once you add another "same ...
1
vote
2answers
4k views

How to use non-browser forms created by Infopath Filler (published to a Sharepoint Form Library)?

I have requirements to create Infopath Filler 2010 forms. They are non-browser and are not served through Sharepoint Infopath Services (so require Infopath installed on all clients) but have ...
4
votes
3answers
1k views

I'm trying to understang how AJAX and Sharepoint play together

I'm about to embark on a project whose goal is to take a Sharepoint wiki of documentation, and add an index as the left nav (right now, there's only search). As users click on an index item, the right ...
1
vote
1answer
3k views

“DWORD (32-bit) Value” or “”Qword (32-bit) Value" - which one should I configure in Windows 64-bit registry?

"DisableLoopbackCheck & SharePoint: What every admin and developer should know" advises to disable ("infamous") "loopback check" completely on dev machine by following "You receive error 401.1 ...
3
votes
2answers
419 views

What's the preferred way to cache .NET objects in SP Foundation?

I have a SharePoint 2010 Founation (farm) solution scoped at the site collection level. What I'd like to do is cache some of my custom .NET objects so that the page requests can be processed faster. ...
2
votes
2answers
194 views

Is it possible to define a bdc model in code

is it possible to define an external contentType in code? As an alternative: Is it possible to deploy an bdc-model using code (i.e. create the xml "on the fly" then deploy that using code)?
3
votes
1answer
104 views

Changing the name of a sharepoint list programmaticaly

I'm trying to change the "name" of a sharepoint document library (not the title). I have found a way to do it from sharepoint designer: ...
0
votes
1answer
948 views

Access denied by “Granular Backup”

When I try to copy a custom list from one of subsites of my weapplication's site collection to another by: Central Administration --> Backup and Restore --> Export a site or list --> Filling ...
0
votes
1answer
368 views

SPFile Update fails, Exists returns true

I have a block of code wrapped in an if: mySite.AllowUnsafeUpdates(); SPFile mySPFile = web.GetFile(someURL); if (mySPFile.Exists) /*returns true, enters code block*/ { //... make some updates ...
4
votes
3answers
3k views

How to add event receivers to all the lists in a site collection?

What is the best practice around adding event receivers across all the lists in a Site Collection?
1
vote
1answer
506 views

Adding HyperLinks + Richtext field values via SP2010 Web Services

I've written an app that reads data via the web services in order to help my data migration process from SharePoint 2007 to 2010. I've been successful for the most part. I've been able to bring the ...
1
vote
1answer
2k views

SP2010: Best Practices to use SPAudit

I would like to use the security audit log report of a site collection, and evaluate the entries e.g. each hour. The focuss lays on actions/events performed on the access rights on the site. Which ...
1
vote
1answer
629 views

Programatically update a webpart property doesn't get updated

I'm trying to programatically update the title of some webparts. To do this, I am getting all the pages from the site, getting the webparts for each page, and first print out the current title, change ...
2
votes
1answer
227 views

why updating formula, title in large list/library programmatically takes really long time

I have to update formula of calculated field. I wrote method for that, it is working fine and is updating formula as well. But it takes really long time to update formula in large library ie library ...