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
2answers
914 views

LinkButton with click method doesn't work

I have an issue with LinkButton in my toolbar, basically i deployed a custom action which adds a link button to the menu, this link button on click should do some task like adding an item, but this ...
0
votes
1answer
686 views

Fill the fields in new form for an item

I've came across a requirement where I need to fill some of the fields in newform. So basically we start from view item, where we can see an existing item in a list, then we click something like move ...
0
votes
1answer
41 views

Is there any programmatic way to determine if a list has any relationships to other lists?

If list A has a SPFieldLookup to list B is there any thing in list B's SPList object to show the relationship with list A? While I can flip through list A's fields and find the relationship to List B ...
7
votes
2answers
5k views

SharePoint 2013 email templates

I have a SharePoint 2013 instance that I would like to modify the default email template. I want to put my company's logo as a header and the company contact info as a footer on every email that is ...
12
votes
2answers
2k views

The remote event receiver callout failed

I've created an AppEventReceiver for my High Trust Remote app, when I deploy the app through Visual Studio 2012 I get the following error The remote event receiver callout failed The HTTP request is ...
0
votes
2answers
2k 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
405 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" ...
3
votes
1answer
425 views

Why do companies do custom-development in SharePoint? Can you give me some use cases?

Can you give me some examples of what companies are custom-developing SharePoint for? I'm trying to see what are they trying to get that SharePoint doesn't offer (not talking about UI customization). ...
7
votes
3answers
4k views

“SharePoint is not a database!” article of 2009 - does it still apply for SP 2010 and 2013?

I'm talking about this blog post by Chris Woodill. He mentions the following advantages of modeling data via SQL programming instead of SharePoint's lists: Primary And foreign keys: one of the most ...
0
votes
2answers
36 views

How to round a datatime LocalTime to the onkly datatime. Not to the time with hours

I have got a code: DateTime dzienStart1; DateTime dzienStop1; dzienStart1 = dzienStart.ToLocalTime(); dzienStop1 = DateTime.Now.ToLocalTime().AddMonths(-2).AddDays(-1.0); Whem I look at a date in ...
2
votes
1answer
227 views

Using C++ dlls in event receiver

I am trying to use a legacy C++ dll that has around 5 C/C++ dependencies in SharePoint. I created a wrapper for the dll and it works fine in a test desktop program. I added the wrapper and all C++ ...
3
votes
1answer
483 views

Is it possible to prevent SharePoint 2010 from creating a folder structure when users upload files?

I have a wiki library with pages and a document library which I've configured to be an assets library. How do I prevent sharepoint from creating a directory structure for file uploads? The wiki pages ...
1
vote
2answers
654 views

Restrict printing and editing on a pdf created with word automation services

Some customer asked my if it was possible to restrict printing and editing a pdf file? Looking over Google I found this. I was wondering if is possible to encrypt a pdf file generated by word ...
5
votes
2answers
375 views

ListItem[“Property Name”] VS ListItem.Properties[“Property Name”]

When we try to get list item properties, three ways of getting property I remember are, ListItem["Property Name"] //always work fine ListItem.Properties["Property Name"] // works fine unless I ...
1
vote
1answer
1k views

Sort by modified date in custom search core results webpart

I have created a custom search results web part which implements some simple sorting, for example i have this piece of code which allows me to sort it desc/asc by title: CoreResultsDatasource ...
1
vote
2answers
67 views

Site column cannot be removed

How do i remove this column? I did create a new Content Type with Title, Nickname and Comments columns. I DID NOT choose the "CommentID" column. But it still gets there, how do i remove the site ...
1
vote
0answers
728 views

SPListItem.Update Not working

So I have this really simple function which updates a couple of fields on two different lists (one is a document library) The thing is on the document library does not updates any of the fields I need ...
7
votes
3answers
525 views

Filter out folders from a user alert against a list

I have created an alert for a user against a list (more specifically, a document library). I want the user to be notified of all changes regarding list items (documents) and not any sub folders. ...
0
votes
1answer
93 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
902 views

Value does not fall within the expected range

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

User alerts being sent for something that happened before alert was created

I create a web. I create a doc library within this web. Create folders within this doc library. Then 'subscribe' (i.e. create an alert for) a user for this doc library. Why, if I'm doing things in ...
0
votes
1answer
200 views

Unique ID get selected list

How do i do so i can work on multiple lists? This works if i'm working with one list. (SPSiteDataQuery) SPWeb web = SPContext.Current.Web; SPList myList = web.Lists["Staff ...
1
vote
1answer
182 views

Send Log/Debug Messages to SharePoint from a clientside ActiveX Component

I developed a ActiveX Component (C#) for SharePoint 2010 and would like to send log/debug messages to the SP-Server so that they are viewable in the SharePoint LOGS Folder. How am I doing this? Like ...
2
votes
0answers
558 views

Spsitedataquery Multiple Lists save to columns to just that UniqueID that i select On linkbutton Click

protected void LinkButton1_Click(object sender, EventArgs e) { try { int index = 0; LinkButton lb = (LinkButton) sender; GridViewRow row = ...
0
votes
1answer
170 views

The Version History for a file in the library showing different “Modified By” Column

I am writing a tool to generate the versions of a file/page in the library. My Report should include the version number and the version created by/Modified by name. While getting the modified by ...
0
votes
1answer
150 views

SpsiteDataquery update values to List by uniqueid

Were i dislay the title and date are a Gridview when pressing the title that uniqueid shows and the information are displayed, but also just to that UniqueId that i display i want to add Nickname ...
0
votes
2answers
3k 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
799 views

Checkout file returned by sharepoint does not really exist

I have the following code that returns me a list of checkout files in a document library. private static void IdentifyCheckedOutFilesForRequest(SPListItem listItem, SPDocumentLibrary lib, ...
0
votes
1answer
205 views

Get UniqueID from splist how to , i only get the ID , but i want UNIQUE?

protected void LinkButton1_Click(object sender, EventArgs e) { try { int index = 0; LinkButton lb = (LinkButton)sender; GridViewRow row = ...
0
votes
1answer
89 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 ...
2
votes
1answer
107 views

can User profile synchronization be started from a web service?

I'm trying to kick off the user profile syc using a web service. Here is what i've tried : [WebMethod] public string runUserProfileService() { var message = ""; ...
0
votes
2answers
2k views

SharePoint 2013 “Working On It” a lot during development with no CPU/disk activity

When doing anything that requires SharePoint to recycle, like deploying a project to SharePoint from Visual Studio, it takes forever for SharePoint to spin up again. The deployment is about the same ...
1
vote
1answer
4k 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
89 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
57 views

need support/materials for developing external lists with visual studio 2010

Up to now, I have mostly used Sharepoint designer to develop external content types and lists. Due to the lack of source control and for other reasons, we would like to move the development process ...
4
votes
3answers
145 views

.NET forms for SharePoint 2010 without InfoPath

Afternoon all, Can anyone advise if it's possible to create forms for SharePoint 2010 Standard (to submit to a list) without using InfoPath? My version of the product doesn't have InfoPath Services. ...
2
votes
1answer
876 views

Why Item Updated and Item Added trigger together when we add a item to list (document library)

I have gone through hundred of articles over months but never understood as what could be the reason Item Updated and Item Added trigger together when we upload a item, even though if you try ...
4
votes
1answer
412 views

How is better to create content with XML or Programmatically

I have a project in SP2010 in which i need: to create some custom content-types to create custom lists based on this content types. to add custom actions in lists (list level actions). Two lists ...
0
votes
1answer
895 views

How to use your own custom ListItem template for Display, Edit, and New

I would like to use my own custom ListItem template. I also would like to overule the ListFieldIterator method to use some logica to include or exclude some fields dependance on user/usergroups: ...
0
votes
1answer
269 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
104 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
31 views

Checking if a list is consuming lookup value column or not

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 ...
1
vote
2answers
663 views

Optional Parameters in C# at Sharepoint

How Could I set optional parameters when programing in sharepoint. Now I'm while debuging getting error: Feature 'optional parameter' cannot be used because it is not part of the 3.0 C# language ...
1
vote
2answers
797 views

How to get id in gridview from list

protected void LinkButton1_Click(object sender, EventArgs e) { try { SPWeb web = SPContext.Current.Web; SPSiteDataQuery query = new SPSiteDataQuery(); ...
1
vote
0answers
147 views

get DataKey in GridView's OnRowCommand event

protected void OnRowCommand(object sender, GridViewCommandEventArgs e) { { if (e.CommandName == "Select") { GridViewRow row = ...
0
votes
1answer
63 views

Where To Start Learning SP 2013 For SP 2010 Developers

What are your ideas for beginning to learn(upgrade) to SP 2013 development?
1
vote
0answers
221 views

UPS Sync started from powershell script / web service

I have a web service that is kicked off from a workflow. The web service runs a powershell script that kicks off the User Profile Synchronization job. The powershell script works perfectly if I run ...
0
votes
1answer
98 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
32 views

Displays two urls one link and desciption how to solve

My column in the list has this values Links Type the Web address: (Click here to test) <asp:HyperLinkField DataNavigateUrlFields="Links" DataTextField="Links" ...
0
votes
1answer
82 views

Rate Control overlaps with Menu items

On my sharepoint page i have Menu on the top and a sharepoint rating control on the top right side. The onHover event of menu displays a list menu items. The rate control is added to the layout which ...