On custom edit page of list item, I want to do the following
- On clicking Form Action Hyperlink [DataView Control], custom form action will fire to update
a item hidden field [Status].
I already tried the following
- Passing @ID to the work flow but didnt work
- Create a duplicate ID column and updated it with the ID on Item Creatio...
I've been using the following code in a .NET 1.1 SharePoint 2003 environment and it works great:
try
{
site = SPControl.GetContextSite(Context);
web = site.OpenWeb();
...
}
catch (Exception export)
{
output.Write("...
I've been writing some simple webparts, and they communicate via a custom interface type. That's working fine.
I've got one ConnectionProvider, with a variety of ConnectionConsumers.
I see that the OOTB SharePoint webparts provide many standard connections, apparently through IWebPartField and IWebPartRow (IWebPartTable seems less supp...
I am trying to migrate sharepoint wss 3.0 databases from SQL Express 2005 to SQL 2008 Workgroup edition.
I have backed up the database, but not sure how to best attached/restore them to the new version and get up and running again.
Thanks
...
Hi,
After much wrangling I have a development environment for building sharepoint webparts in c#.
I'm completely new to SP development, so I haven't quite found the various API docs, so I'm hoping someone can help get me started.
Eventually, I want to write a simple web part that allows its user to display different content depending ...
Hi,
Another SharePoint question from myself!
I've created a subsite and from within Sharepoint designer I've created a new aspx page, all nice and simple so far. I can't seem to find where I can change the security on this new page, only site admins can view the page and everyone else gets access denied.
It doesn't seem to inherit the...
Hello, i could not find any idea of how to implement API over the SharePoint(MOSS) framework.
Could anyone give me a tip please?
What i want to do is create a client application to communicate with the SharePoint.
wanting to implement something like following.
Client send post request to API implemented on SharePoint, API receive a re...
Whenever I upload a document in the document library, it says new. What is the timeframe of the "newness" of that document. Also, can that timeframe be controlled?
...
Which route should I take?
A) Using a SharePoint 2010 Visual Studio Project
B) Building a normal asp.net website and incluing my pages using the "Web Part Page" web part in SharePoint
Basically I'll be doing some workflows, like filling out travel expenses forms, with approval and feedback.
...
I made a custom content type and I am trying to make it expire/automatically delete, and its not working. Does it only work when the date changes or what? I have read the information posted on the microsoft site, but I can't figure out how to make them automatically delete. Any information would be greatly appreciated. Thanks and hav...
The below web services code has worked properly for me for over a year. We have updated our SharePoint servers, and now the below code throws an exception (at the bottom line of code) "Object reference not set to an instance of an object"
UserProfileWS.UserProfileService userProfileService = new UserProfileWS.UserProfileService();
...
Hi all,
Scenario:
- A out-of-the-box DataFormWebPart on masterpage connected to a top-level site List.
- A subsite using that same masterpage from top-level site.
- Error happens when accessing the sub site as below
Stack Trace
[InvalidOperationException: Operation is not valid due to the current state of the object.]
Microsoft.Shar...
I'm using the UpdateListItems method of the Lists web service, and I can update an item in just about any kind of list, and folders in non-document library lists, but I can't seem to update the name of a folder in a document library. I must use the web services API, as sharepoint is not local.
If my update batch looks like this:
<Ba...
Dear All,
I totaly new to sharepoint, I would like to create a simple webpage, inside WSBS2008, to search a specific document library.
The search should identify the filename of the files and retrive a list of them
How should I do it?
Can anybody help me starting with this?
BR
Gameiro
...
Hi Experts,
I have a display form with two custom list forms and both are connected to each other and they display the results according to the filter. But when ever I sort on any field, it gives the following error:
Web Part Error: This page has exceeded its data fetch limit for connected Web Parts. Try disconnecting one or more Web P...
I have a SharePoint list that accepts incoming email and has two calculated columns based on the Email Subject.
Immediate alerts, RSS etc all work fine but the Weekly Summary Alert has #VALUE! for all the calculated columns.
Is there a reason for this? Can I get it to show that actual calculated value?
...
Hello, I need help in this matter:
We have a template of Excel file in which all calculations are already set. User can request a 'report'. Idea is to create a button on our site (SharePoint portal). After clicking on it a new Excel file is generated. This means to get actual data from database (SQL Server 2005 SP2), import them into te...
I have MOSS server and users authorization is going trough AD.
I want to programmaticaly get some current user information, like e-mail, phome number.
I made the following steps:
1) create dll with [assembly: AllowPartiallyTrustedCallers]
2) i have the class PhoneBookCL that inherits System.Web.UI.WebControls.WebParts.WebPart
and I try...
Hi all.
I got an exception when executing this snippet code
SPSecurity.RunWithElevatedPrivileges(delegate()
{
using (SPSite site = new SPSite(siteUrl.Trim()))
{
using (SPWeb web = site.OpenWeb())
{
try
...
I've created several master / detail webparts that need to be connected. We have a requirement the the webparts self discover and connect to other connectable webparts on the page. I've acheived this in a standard ASP.NET page with the following code:
protected override void OnLoad(EventArgs e)
{
WebPartManager manager = WebPa...