The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.
3
votes
2answers
83 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
286 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 ...
0
votes
2answers
50 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
46 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 ...
6
votes
3answers
117 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
44 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
246 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
162 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
75 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
0answers
39 views
Send Log/Debug Messages to SharePoint from a clientside ActiveX Component
I am still developing an 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 SP LOGS Folder. So far Google was not ...
2
votes
0answers
94 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
0answers
33 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
32 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
0answers
36 views
Can I restrict the FieldRefs that Lists.getListItems returns to specified ones only?
I am using the Lists web-service interface to SharePoint 2010 to get the items in a list. I want each returned row to have the ID FieldRef of the item but no other FieldRefs.
I specify a view fields ...
0
votes
2answers
262 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
100 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
58 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
44 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
58 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
397 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 ...
0
votes
1answer
50 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
47 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
21 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 ...
3
votes
2answers
95 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.
...
0
votes
1answer
104 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 ...
2
votes
1answer
133 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
170 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
72 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
57 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
23 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 ...
0
votes
1answer
38 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
238 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();
...
0
votes
0answers
40 views
SpSiteDataQuery getitemsbyid
how should i use a id when using SPSiteDataQuery, i want to get selected item från gridview were i have tre lists.??
SPWeb web = SPContext.Current.Web;
SPSiteDataQuery query = new ...
0
votes
0answers
30 views
Detailsview textboxes to button gridview
code for
<asp:DetailsView ID="CommentDetailsview" runat="server" DefaultMode="Insert" AutoGenerateRows="False"
Height="50px" Width="125px">
<Fields>
...
0
votes
0answers
28 views
GridView linkbutton with query
How should i write this code
protected void LinkButton1_Click(object sender, EventArgs e)
{
SPWeb web = SPContext.Current.Web;
SPSiteDataQuery query = new SPSiteDataQuery();
...
1
vote
0answers
30 views
get DataKey in GridView's OnRowCommand event
protected void OnRowCommand(object sender, GridViewCommandEventArgs e)
{
{
if (e.CommandName == "Select")
{
GridViewRow row = ...
0
votes
1answer
53 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
0answers
71 views
Get RowIndex In GridView RowCommand Event Using DataKey
protected void OnRowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "Show")
{
int index = Convert.ToInt32(e.CommandArgument);
int documentID = ...
0
votes
0answers
41 views
send values from textboxes in detailsview to gridview
send values from detailsview with two textboxes when pressing button and display i gridview
<Fields>
<asp:TemplateField HeaderText="Name" > ...
0
votes
0answers
31 views
send values from two textboxes to gridview using this query how to
protected void Button2_Click(object sender, EventArgs e)
{
SPWeb web = SPContext.Current.Web;
SPSiteDataQuery query = new SPSiteDataQuery();
...
0
votes
0answers
122 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
0answers
71 views
Authenticate Site Minder using httpwebrequest and httpwebresponse
We are trying to authenticate the site Minder by using httpWebRequest and httpWebResponse and read the cookies. But we are unable to get the cookies
string url = "https://xxxx/login.jsp";
...
0
votes
1answer
35 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
21 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
56 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 ...
1
vote
1answer
97 views
Windows 8 App using COM dlls of Sharepoint gives error “Cannot resolve Assembly or Windows Metadata file 'System.Web.Services.dll'”?
I have created a sample app using Windows 8 C# XAML to get site info of SharePoint 2010 using COM Dlls. I have added reference of:
C:\Program Files\Common Files\microsoft shared\SharePoint ...
0
votes
0answers
28 views
Display selected link in detailsview from gridview
protected void OnRowCommand(object sender, GridViewCommandEventArgs e)
{
// i think i should write something here so when i click the link to show just that title in the Detailsview . i think ...
0
votes
0answers
26 views
GetList with a Library
I'm relatively new to SharePoint 2010 development and I recently rediscovered the DataContext class. Of particular interest right now is the GetList method. I've seen examples and sample code around ...
0
votes
1answer
402 views
SharePoint 2013 development from Visual Studio 2012
Do I need to install VS 2012 after SP 2012. I don't see SP 2013 Project options only SP 2010. I install VS 2012 before SP 2013.
0
votes
0answers
15 views
Connectablewebparts Grinview Linkbutton display in grinview in other webpart
Provider.Cs
public class NewsFeed : WebPart,IData
{//Provider
// Visual Studio might automatically update this path when you change the Visual Web Part project item.
private const string ...


