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

How to open a file using Item Id in SharePoint document library?

I am working on SharePoint Foundation 2010. I want to open file from a link. I found a solution "Link To Document" content type. But in "Link To Document" content type we need filename of original ...
0
votes
2answers
797 views

how to made new post for sharepoint newsfeed webpart through custom webpart

i have a requirement to made new post through custom web part and this must be shown on sharepoint 2013 news feed web part i am new with share point after the lot of googleing find a list of news ...
0
votes
1answer
174 views

SPLongOperation break on error and stay on same page

I have a question regarding SPLongOperation. Basically i'm using it while some actions are happening, and if everything goes well it should redirect user to an other page, but if something goes wrong ...
0
votes
2answers
53 views

Capture SharePoint role group and group members?

For our audit process I need to regularly capture all of our SharePoint role groups (for our main site collection) and the members in each group. Is there a reliable way to approach this problem?
0
votes
2answers
89 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. ...
0
votes
1answer
50 views

SP2007 using Source token in link

In SharePoint 2007 in some occasions i see that when im redirected to some pages etc, i see a source in query string, and this i can use to be redirected back to the original page. I've read on msdn ...
0
votes
1answer
45 views

Link to document library

I have a small issue, basically i have an instance of document library / list, now, how can i get a link to that list / document library? I'm working with sp 2007 To clarify, here is the code: ...
0
votes
1answer
519 views

openfiledialog in webpart

How to implement openfile dialog in a webpart ? OpenFileDialog class could not be accessed in webpart. Is there any other way to achieve this ?
0
votes
1answer
583 views

Fetch data from Term Store Management in Sharepoint 2013

So I am wanting 3 different navigations and I only see how to add 2 though in the snippet area in Design Manager. I am comfortable with C# but not very knowledgable in Sharepoint. Does anyone know ...
0
votes
3answers
915 views

custom document library web part with shared documents

I've been struggling a lot to create custom web part that looks similar to "Document library" in share point. I've tried several approaches but finally figured out it. Here's my piece of code: // ...
0
votes
1answer
55 views

Removing old content databases cleanly

I have created and deleted a web application without specifying to remove the content database. What is the cleanest way for me to delete the content database?
0
votes
3answers
1k views

Custom List Form Will Not Deploy

A demo List Form using Visual Studio 2010 to test and experiment with a few things. Nothing at all was added inside the project. Functionality, etc, will be added later, but at this point it was ...
0
votes
1answer
27 views

Listbox duplicate values

SOLVED protected void ButtonAddDevTools_Click(object sender, EventArgs e) { foreach (var vItem in ListBoxDevTools.Items) { if (ValueAlreadyInListDevTools(vItem)) ...
0
votes
1answer
480 views

Setting my development and production environment for SharePoint 2013 server

I need to set up the development environment and the production environment for SharePoint 2013. I have read the following link on MSDN http://technet.microsoft.com/en-us/library/cc262485.aspx which ...
0
votes
1answer
2k views

Downloading files from sharepoint programmatically C#

I would like to know what are benefits/drawbacks when using either of these methods for downloading a document from Sharepoint using Microsoft sharepoint library public void Download(string ...
0
votes
1answer
250 views

Programmatically add new fetched properties to webpart

I have a webpart which I extend and i would like to programmatically add extra fetched properties to those that already exist, but I cannot succeed in that, maybe you could be of help to me. So here ...
0
votes
2answers
614 views

Sharepoint 2013 Developer Edition

Most of the Microsoft tools have developer editions available in MSDN subscriptions, but I dont seem to find one for SharePoint. I was just wondering how people do their development if they dont have ...
0
votes
2answers
195 views

Custom action doesn't appear

I have an issue with custom action in SharePoint 2007, basically i have the following custom action declaration: <Elements Id="CF60B88A-783A-44f8-A49D-43659AB51G7E" ...
0
votes
1answer
74 views

Entering data into SharePoint lists via Silverlight forms

Morning all, Can anyone advise me if it's possible to enter data into a SharePoint list via a Silverlight Application? if so, are there any basic steps that someone making thier steps into ...
0
votes
3answers
592 views

Value does not fall within the expected range

SPWeb web = SPContext.Current.Web; SPSiteDataQuery query = new SPSiteDataQuery(); query.Lists = "<Lists>" + "<List ID=\"" + ...
0
votes
2answers
2k views

Sharepoint 2007 Powershell: $item.update() gives error that file has been modified

I am trying to programmatically update some metadata for a sharepoint item using powershell. Here is my code: $web = getWebByURL("http://test-site/spadmin/") $itm = $web.lists["Documents"].items[0] ...
0
votes
1answer
65 views

Time in Sharepoint

We have got two method in Sharepoint to get the time. One is ToUniversalTime() an secound is ToLocalTime() But when we are in server and have got a aplication instaled on server which kind data method ...
0
votes
1answer
1k views

How do I get the list item ID of an item I just created in a Visual Webpart

I have a visual webpart which creates a list item, but I need to reference the newly created item's ID for later use in the same webpart. How would I do this in C#? Thanks
0
votes
1answer
81 views

Changing character limit on inherited column of custom content type

I've inherited the OOTB content type 'Announcement'. I want to set a character limit on the 'Body' column for this particular child content type. Is this possible/feasible or is this generally ...
0
votes
1answer
149 views

How To Add Item ToSharePoint List Programmaitcally

My goal is to simply submit a new item to a SharePoint list programmatic-ally through a custom web part that I'm building, however, I'm having trouble putting some pieces together. There are plenty of ...
0
votes
2answers
93 views

Sorting out lookup values while getting them

I have two lists, List A [Document Number, Name, Title,...] (document library) List B [Information Number, Name, Title, Document Number] (simple list) Now List B is getting all documents from List ...
0
votes
1answer
62 views

Where To Start Learning SP 2013 For SP 2010 Developers

What are your ideas for beginning to learn(upgrade) to SP 2013 development?
0
votes
1answer
77 views

Reorder of newform and editform its different

I have a list which editform and newform fields order is different, the question is why? somebody told me the edit form might be unghosted, if so, how can I confirm this and revert it so that it uses ...
0
votes
1answer
37 views

SharePoint 2010 Development Setup

Is it possible to develop in Visual Studio on the host machine while F5 deploying/debugging a SharePoint WSP to a VM with SharePoint 2010 installed? I have had significant issues with Visual Studio, ...
0
votes
1answer
35 views

Listinstances Changes Guid ID

I have my Listinstance in Sisual Studio every time i Deploy the Guid Id changes to a new value ...
0
votes
2answers
64 views

Get Values from two List And display Repeater

I am trying to get the Values from two Lists what have i dont wrong? i dont get any errors the site is only updating nothing more just like it dont fel that i press the button protected void ...
0
votes
3answers
3k views

Could not load file or assembly 'Microsoft.Sharepoint.Sandbox' or one of its dependencies

I created an ASP.net webapplication and i have used assemblies Microsoft.SharePoint; and Microsoft.Office.Server.UserProfiles in it.. i get a run time error "Could not load file or assembly ...
0
votes
1answer
228 views

Consuming On-Prem SQL Data from SharePoint 2013 Online (Office 365)

At a high level, What's the recommended Development model if we want to consume local (On-Prem) SQL data from Office 365 SharePoint 2013 Cloud application? Say we have a custom SharePoint List Form ...
0
votes
2answers
497 views

Fixing programmatic alert URLs

Environment: SP2010 Enterprise, SQL2008R2, VS2012, full server access A while ago I created a massive amount of alerts using a c# console app I made in VS. The app ran on the server using SP ...
0
votes
1answer
371 views

Repeater control reverse order

I'm working with a repeater control that displays my list items. Everytime i add an listitem it displays it on my repeater. But i want the repeater to display the latest added item at the top. Any ...
0
votes
2answers
109 views

Set textbox MaxLength not Working

foreach (SPListItem news in items) { TextBoxContents.Text = news["Contents"].ToString(); TextBoxContents.MaxLength = 10; news.update(); } Setting ...
0
votes
1answer
789 views

<div class in textbox why?

SPWeb web = SPContext.Current.Web; SPList list = web.Lists.TryGetList(DropDownListSelectCategory.SelectedItem.Value); SPListItemCollection items = list.GetItems(); foreach (SPListItem news in ...
0
votes
1answer
320 views

Creating a site programmatically - folder does not exist on server

I'm trying to create a site programmatically using a console application, but have been getting an exception whenever I try to add a new SPWeb "The folder that would hold URL'/sites/[sitename]' does ...
0
votes
1answer
32 views

Create Sharepoint HyperLinks Help

I would like to saves multiple hyperlinks to a list. Can anyone guide me where to start?
0
votes
1answer
100 views

Could these errors be the cause of my timer job problem?

I have a timer job that runs every night at midnight. The first part of the timer job is to iterate through every single site in a particular site collection (there are many). The second part of the ...
0
votes
1answer
666 views

Detected use of SPRequest for previously closed SPWeb object

I've got an event receiver that fails, seemingly inconsistently. I've checked the ULS logs and I can see the 90hv Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb ...
0
votes
1answer
4k views

Feature activation error: System.InvalidOperationException: Operation is not valid due to the current state of the object

i have taken one List Email event receiver(Type is EmailReceived) and that event receiver attach with document library. when i am activate that feature got error. i have check on ULS Viewer. error ...
0
votes
2answers
3k views

Creating a knowledge base with SP10 possible?

I am currently trying to create some kind of knowledge base, but unfortunately couldn't make much progress in this matter. I have certain requirements of features the system must provide in the end ...
0
votes
1answer
95 views

Adding EventReceiver to Dynamic List

I am trying to add a Event Receiver to a list that is dynamically created (by code). So i cannot add a event receiver on the list directly. I found a way to attach a Event Receiver to the list by ...
0
votes
1answer
70 views

Sort alphabetically Users

When I'm Adding users, i want to sort them alphabetically. Could You help. Here is my code: SPUserCollection userzyWszyscy2 = witryna.SiteUsers; foreach (SPUser oUserKolejny in ...
0
votes
1answer
139 views

STSADM or C# script to delete all custom site templates

I want to delete Custom site templates off my farm and wondering if someone know any script I can use. Not a big fan of Powershell at the moment as I am using SharePoint 2007.
0
votes
1answer
125 views

How to add id CAML grouping?

I write this code, and I try to group by Ascending or Descending. <Query> <Where> <Neq> <FieldRef Name='Nazwisko' /> <Value Type='Note'>" ...
0
votes
1answer
56 views

Problem with performance of External List

In my company a person which are Administraiting the CRM Microsoft Dinamics give me one of External list with a Vacation of Workers in Company. I try first with list local in my project, and this list ...
0
votes
1answer
706 views

How to get count related Lookup value programmatically?

Another day, another question ;) So, I have two custom Lists, "Attendees" and "Events". In the Events-List there's a Lookupfield "Registrations" which I want to fill programmatically on page_load. In ...
0
votes
2answers
354 views

How to get elements from essential List programmatically

I have gotten two lists (like a view) from Microsoft Dynamics CRM. How can I get a elements from these two lists to the C# Sharepoint code in .cs file. The Administrator of CRM told me that this lists ...