Tagged Questions
0
votes
0answers
9 views
Deleting SharePoint File with UpdateListItems Returns Success But File Remains
I am able to Update list items successfully but when I try to delete an item I get the following response:
InnerXml = "<Result ID=\"1,Delete\" ...
1
vote
1answer
20 views
how to write/modify a xml file in SharePoint using a client side language(JavaScript)
Currently I'am working on a ASP.NET project and I have written a C# code to write/modify my XML document, which I'am using to structure my portal.
I now have to migrate my project to SharePoint, ...
0
votes
0answers
5 views
Event-receiver not firing on each Workflow update
I have an event-receiver attached to a list with ItemUpdating event. The same list is having a workflow as well, which updates a Status value in the list on different steps.
Say in step-1 workflow ...
0
votes
0answers
18 views
“Object Reference Not Set to an instance of an object” when creating Sequential workflow
I am working with SharePoint 2007 custom workflows. When I add a sequential workflow (New Project -> Workflow -> SharePoint 2007 Sequential Workflow) it gives an error as "Object Reference Not Set to ...
0
votes
1answer
17 views
How to add boundcolumns to a gridview by code?
I have the following webpart that adds a gridview control.
Now I need to add the bound columns to the gridview. How can I do that?
protected override void CreateChildControls()
{
...
0
votes
1answer
13 views
Correct order of methods in a webpart?
In webpart development, there is OnInit, CreateChildControls, OnPrerender,etc.
I have a webpart that should add a linkbutton with some properties, text and url depending on what the user typed on the ...
0
votes
2answers
24 views
Sharepoint client GetFolderByServerRelativeUrl folder modified date
I am trying to retrieve "Modified Date" and "Created Date" for folders when using GetFolderByServerRelativeUrl function, how can i do it?
I only able to get relativeUrl and folder Name out of it. ...
0
votes
2answers
46 views
Using linq on a SharePoint list object
I have a C# variable which references a SharePoint list.
I need to iterate over each list item and do a conditional check.
I would like to use a linq call to filter out some of the data before I get ...
1
vote
1answer
55 views
Decimal.Parse/Double.Parse Returns a Value without the Decimal Point
I am working with workflows in Sharepoint 2007. In the Workflow I am accessing a Inforpath form the Code Behind and add some Recurring values to a Sharepoint List.
string strProfitMargin = ...
0
votes
3answers
35 views
Get top 5 created subsites in sharepoint without for loop
I need an easy way to get the latest 5 created webs.
I know every web has a Created Date property.
I would like to do this without a foreach becahse there can be 1000 subsites.
Any idea?
using ...
0
votes
0answers
27 views
Use SharePoint web service to return a People/Group column value
When I call a SharePoint web service in a .Net ASPX website, the people column returns null (Instance of the object not found).
using System;
using System.Collections.Generic;
using System.Linq;
...
0
votes
1answer
23 views
SharePoint C# recursive team site look up
I developed a webpart to return all the site collections and webs that a user has read access to; I want to limit the results to Team sites only.
How can I accomplish this? I've looked through the ...
-6
votes
3answers
99 views
Is there any tool that can do c# code to powershell
I was wondering if there is an online tool that can convert c# code to powershell cmdlet code. I have following code that i need to have it powershell. I dont have visual studio to turn this into an ...
0
votes
0answers
37 views
Sharepoint 2007, C# workflow failed on start + console application [closed]
I made a sequential workflow in C# for SharePoint 2007 and it works pretty well. I use this when an item has a change, that's the trigger to start the workflow. I paid attention for exception and ...
1
vote
0answers
21 views
Need help to resolve pulling data using ListServiceUtility
I have a method that I want to pull back data from a sharepoint list. In the method I have the following code:
var listPath = new Uri(string.Format("{0}/forms/", SitePath));
var fieldNames = new ...