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

Auto-compress images when uploaded to Image Library

I have a need to auto compress images as they are uploaded to an image library. Using code or otherwise how could I go about this? I don't want to specify a fixed height / width but would rather ...
0
votes
1answer
26 views

Select powerpoint slides and then build a presentation from it

I have a business unit that would like a document library that displays a series of pre-approved company Powerpoint slides. The user would then select the slides that want, click a button and a ...
1
vote
2answers
2k views

Listdata.svc via REST refuses to return data

I'm trying to pull down some list data from listdata.svc using the standard method as documented in the msdn: var listUrl = 'http://development.contoso.com/_vti_bin/ListData.svc/Contacts'; $.ajax({ ...
0
votes
0answers
49 views

repeating table problem

I created content type and add them on custom list in visual studio. I want to use some of my list item columns like repating table columns. Is there any solution or alternative way except infopath ...
0
votes
1answer
29 views

Error with using Session in SP2010

I have got a problem with using Session at Sharepoint 2010. I use this code: Session["Dzien"] = TextBox3.Text; Session["Pracownik"] = DropDownList1.SelectedItem.Text; I put at ...
3
votes
2answers
3k 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
4k 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 ...
0
votes
1answer
152 views

How to increase the reliability of deployment?

Deploying solutions, both from within Visual Studio and a Powershell script seems really unreliable. For example, I have one package trying to deploy about 3 .dlls and on average it's taking 3 ...
2
votes
1answer
357 views

Listing all the documents in SharePoint server using C#?

I'm new to SharePoint server. I need to get the list of all document stored in SharePoint server, not in particular user site. Is there any way to get all documents list , name or count using C#? ...
1
vote
0answers
140 views

ViewState Timing Issues with SharePoint 2013 & ListView plus DataPager

Good morning! I'm porting an existing custom 2010 webpart containing a ListView and a DataPager to 2013 and seeing some weirdness with the DataPager and I believe the cause is associated with the ...
0
votes
1answer
956 views

Programatically adding webparts to a page in sandbox

I've successfully implemented code to add web parts to web part zones in code using WebPartManager's in other projects. Now that I'm working in a sandbox solution, VS can't seem to recognise ...
1
vote
1answer
118 views

Apply element manifest without re-activating feature

I have a feature module which consists of an XML file which adds ConsoleNodes to the Site Actions menu. To test it, it seems I must compile the package, deploy it, activate it, etc. Since this is ...
0
votes
0answers
31 views

How to only import specific ListItems in SPGridView

I can print all list items in the list in the SPGridView: SPList list = witryna.Lists["Szczegoly"]; SPListItemCollection items = list.Items; gvListItems.DataSource = ...
0
votes
1answer
49 views

what we shall use in sharepoint now Ajax or jQuery

I need to add message boxes and other components every now and then. I can use jquery plugin or ajax so I was wondering which one is the best to use in this type of scenario. I see in Sharepoint ...
2
votes
1answer
387 views

C# How to read display templates location in Sharepoint 2013

Sharpeoint 2013 has a default filter template located at: _catalogs/masterpage/Display%20Templates/Filters/Filter_Default.js How can I read the absolute path of the _catalogs masterpage in C# ? ...
1
vote
1answer
154 views

Loading a UserControl within another UserControl code

Can someone tell me how I can load a user control from within another user control. I'm using MOSS 2007
0
votes
0answers
211 views

code of approval workflow in c#

I have a task to make approval workflow between three lists . When i add item to first list ,workflow should check second list and and assign tasks to specific people that on active directory(and they ...
3
votes
2answers
773 views

Returning Full URL

I am writing code in my master page that examines the page's URL as shown in the browser I have a web application at URL: http://teams.sharepoint.org/sitecollections and many site collections ...
0
votes
1answer
82 views

textbox visual control how to get text

i have a user control, which has update panel and a button in it, when i click on button a message box appears, in messagebox i have one text box and another button, when i click on another button, ...
0
votes
3answers
177 views

User control propertie get from webpart

I have a webpart that is loading a user control, but I am not able to get the value of a webpart property in the loaded user control. The web part code goes like this: public class CVWebPart: ...
1
vote
1answer
34 views

no getting user control property from webpart

I am using this MSDN tutorial but it is not working, http://msdn.microsoft.com/en-us/library/ff649867.aspx When I try to get a usercontrol value, nothing comes up try { // Loads a user control ...
0
votes
2answers
846 views

Hide Columns in Document Information Panel, but show in properties panel

I am trying to hide some columns from view in the DIP, but allow users to change them in the properties panel for the document. I am trying to associate 3 base content types for attaching different ...
2
votes
1answer
1k views

SharePoint 2013 list items paging

I'm trying to make a webpart with list items paging. I followed this link http://www.directsharepoint.com/2011/03/step-by-step-guide-to-implement-paging.html and on SharePoint 2010 server it works ...
0
votes
2answers
1k views

How to display and get the value chosen in an User field?

I'm very new at Sharepoint and I faced to a trick issue. Here is the situation : in an .aspx.cs file, I've created an EventHandler called btnValidate_Click, raised on a click on a button. In this ...
0
votes
2answers
281 views

Custom action with javascript doesn't navigate in DisplayForm

I have a strange issue, basically, I have the following custom action: <CustomAction Id="Navigate.DisplayMenu" Title="Navigate to:" RegistrationType="ContentType" ...
0
votes
2answers
67 views

Custom action with custom code doesn't work properly

I have an action in my document library, but it doesn't work as it supposed. So I have here definition of my custom action: <CustomAction Id="MyProject.Google" Title="Go to google" ...
2
votes
2answers
205 views

How to get all web controls on a sharepoint page

I need to get all web controls on a SharePoint page but not sure, using (SPSite bigSite = new SPSite("http://bigPortal.bbbb.com/bb/bbWeb")) using (SPWeb bigWeb = bigSite.OpenWeb()) ...
1
vote
2answers
1k views

How to implement HTML5 Video in Sharepoint 2010?

Has anyone had any success in building a web-part with HTML5 video and using it in SP 2010? Background: Currently I am using JWPlayer by imbedding an HTML page using a content editor web-part. I ...
2
votes
1answer
340 views

Determine programmatically if you are in MySites

My question is the same as the title: How can I determine programmatically am in MySites?
0
votes
2answers
97 views

How to embed image in SharePoint Workflow Association Form?

I am developing a custom SharePoint workflow in Visual Studio. I have a custom association form (ASPX) and I'd like to display an image, which is embedded into the project (and subsequently wsp). ...
0
votes
2answers
103 views

SharePoint 2013 Development enviroment

Can one develop SharePoint solutions without having installed SharePoint 2013 on local, development machine? There will be one 'test' machine, however it will be placed on other machine, to save ...
1
vote
1answer
2k views

Client Object Model - Select distinct

I am using ClientObjectModel (C#) to retreive data from a custom list, which is structured like this: What i need is some kind of "select distinct" which retreives only the categories, without ...
0
votes
1answer
448 views

Possible to add XSLT to CQWP through UI?

Using C#, I am inserting web parts into web part zones programmatically and styling them. More specifically, I'm inserting CQWP's and assigning XSLT files to them. I'm now wanting to allow users to ...
0
votes
1answer
1k views

Decompiling a .webpart file?

I know it is possible to decompile SharePoint web parts if you have their .dll or .wsp files (I have successfully done this myself using tools like DotPeek or this method), but what if you are left ...
0
votes
1answer
65 views

WSS 3.0 List - Change default view

Is there a way to change the default view on a WSS 3.0 list (Survey)? I tried web.Lists[].DefaultViewURL = "\List\xxxyyy\custompage.aspx" But DefaultviewURL looks like it is read-only. Any ...
3
votes
1answer
745 views

Comma is being appended to values when adding new item to list through C#

I have a custom web part form which takes a few values from text boxes and adds the new row to a list. The problem is that when I click 'save', the values are being saved but some fields like ...
2
votes
2answers
96 views

Navigation on webpart

I don't really got a problem just a question. After googling around I couldn't find any answer on what I'm looking for. Is it possible to put a <asp:TreeView/> or multiple ...
0
votes
1answer
333 views

Custom Field PropertySchema Type=User

I have a custom field in my SP Project. In my .xml file, I have a propertySchema and a user field inside it. Currently the field does not accept multiple users/groups. How can I change that? I ...
1
vote
1answer
24 views

Clone Existing SP2007 Site to New Environment For Testing and Staging

I am currently working on a large SP2007 site for a client. This site was initially built from a VS solution and some of the components of the solution can still be deployed to production if code ...
1
vote
1answer
352 views

Create an item (with Choice/User Fields) using Sharepoint Data Services

I am using Sharepoint 2010 Data Services to create items on a table. My table has a column called Priority which has High, Medium, and Low items in it. When I try to create an item in this table ...
0
votes
2answers
462 views

Code Behind in SharePoint

I have a .aspx page and a .aspx.cs page. These were created in VS. I've copied the solution folder to SharePoint using SPD. When browsing the page I get an error Parser Error Message: The codefile ...
0
votes
2answers
96 views

Sharepoint Development Process Best Practices

I would like to ask some simple questions regarding the best practices of Sharepoint 2010 development process. 1) I am supposed to maintain and add new sites to an already installed Sharepoint site. ...
4
votes
1answer
4k 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 ...
2
votes
1answer
173 views

Programmatically removing web parts in a sandbox solution? (Sharepoint 2010)

I had a problem with web parts being duplicated whenever their feature was reactivated, so I made a question about that. It was answered (and correctly so, I think) - I have to programmatically ...
0
votes
2answers
185 views

Request.Url.AbsoluteUri displaying wrong url

var img = new Image(); img.ImageUrl = Request.Url.AbsoluteUri + "~/_layouts/images/Cv.Knowit/pie-1-4.png"; I am getting to this site wingtipserver/SitePages/ ...
3
votes
2answers
2k views

What version of Visual Studio 2012 needed for SP Dev

I have been researching the different versions of VS2012 for use in developing in a SP2010 (Foundation) and possibly SP2013 environment. I asked two separate MS employees about which version of VS I ...
2
votes
3answers
560 views

Item with C# onclick in SP List

I'm currently making some customizations to a Document Library in SharePoint 2013, such as a custom filtering webpart. In this Library, I have two fields that originally were (multi)lookup fields ...
-1
votes
1answer
321 views

String to Decimal Conversion in C# (Sharepoint) [closed]

Converting string to decimal seems to be a familiar question. But in my case the an error is throwing while I tried to convert a string value "10.00000000000" to decimal. I tried following codes ...
3
votes
1answer
308 views

What are the best practices in code structure for huge projects [closed]

Soon, I will start a new sp2013 project and I want to start it fine from the scratch. I just read the Application Lifecycle management chapter from the book Professional Sharepoint 2013 development ...
0
votes
1answer
59 views

Load All Task Items in to Page?

I have Task list in home page containing multiple task items, Is it possible to approve multiple items at once, instead of one at a time (being redirected to the start page after each approval..) ?