sharepoint

What user context does an asynchronous thread run under when using Page.ExecuteRegisteredAsyncTasks?

I just converted a block of code that was running fine, but a bit slowly, to using the Page.ExecuteRegisteredAsyncTasks() call to run the slow parts in a separate thread. See MSDN for more info on this. There are various exceptions being thrown relating to invalid permissions and access denied errors. I have even tried running the con...

Timeout error when programmatically rendering SSRS report through ReportExecution2005.asmx

I have a task that calls the SSRS report server to render the report, then places the freshly rendered report into a SharePoint document library. The report server is set up in SharePoint Integrated Mode. For smaller reports, everything works perfectly. However, if a report take longer than about 90 seconds to generate, the call to ...

SharePoint Document Link Content Type - Pointing to documents on a file share?

I have a large number of documents present in a file share that I would like to add as document links in a DocLib instead of uploading them all into SharePoint. Unfortunately, the OOB Document Link content type only accepts URLs beginning with http: or https:… no file:// Any workarounds? ...

SharePoint site collection: relation with DB WSS_Content

Hello all, What's relationship between DB WSS_Content and SharePoint site collection? Is separated DB created per each site collection or a single DB can contain multiple collections? Regards, ...

Launching a sequential workflow from within a state workflow

What is the proper method for launching a workflow from within a running workflow? We are currently using Visual Studio 2010 and the workflow is running is Sharepoint 2010. Previously this workflow functioned in Sharepoint 2007 without issue. After migrating the package to 2010, the state workflow runs normally but does not properly lau...

SSRS regional format running inside Sharepoint

We have SSRS running in integration mode inside of sharepoint. When developing SSRS reports we are able to set the date and number formats to recognize regional settings and format appropriately. But when the report is deployed to SSRS the regional formats all revert back to us. Is there a way to have this display properly inside of S...

Display search results dynamically as typing

Hi Guys, I am trying to build a SharePoint 2007 web part in Visual Studio. This web part should search a sharepoint list and display the results. What I want to accomplish is to display the results as soon as the user stops typing, so no clicking button involved. Probably, a combination of text_changed event and onkeydown javascript? ...

How to determine, from web part, if document's content type inherits from a specified base content type?

SharePoint newbie here. I have a web part that is attached to SharePoint's edit page [EditForm.aspx]. How do I determine if the document being edited is linked to a content type that inherits, at any level of its inheritance chain, from a specified base type? For instance, I have a base content type called "Document Base". I want this ...

Using Ruby to upload files to Sharepoint 2003

Disclaimer: My Sharepoint knowledge is slim, and my Ruby knowledge is novice-moderate. I need to be able to programmatically upload files to a Sharepoint server. So far, I've been looking into the Savon gem (patched to add NTLM auth) to accomplish this. Sample code so far: require 'rubygems' require 'savon' WSDL_URL = 'http://<s...

Can timesheet app be built in sharepoint?

I've been tasked with developing a timesheet application in sharepoint. Currently we use spreadsheets with a standard list of categories and then we add various subcategories/projects/tasks we are working on and our hours. I've mostly built asp.net apps. My question is do you think this type of application can be built using sharepoin...

Is there a way to have a column in SharePoint which has multiple links?

I currently have a normal SharePoint list with about 15 columns or so. I need one of the columns to have a list of links. I know SharePoint lets you have 1 link and it also lets you have multiple lines of text... So I thought it would be there as an option, but no such luck. Anyone knows a solution for this? I wasn't able to find any inf...

Could not load file or assembly 'Oracle.DataAccess'

I have a Windows Server 2008 x64 machine and have successfully connected a simple ASP.NET/C# application to an Oracle database using the ODAC 11g client. My next step, is adding this same oracle connection to a SharePoint web part (which is developed on the same machine). The SharePoint Server, Web Server, etc. all live on the same machi...

error while working with reporting services in SQL server 2008 EXPRESS_ADVANCED`

While using reporting services in share Point Integrated mode, it throws error that reporting services cant be used in this version of SQLEXPRESS ADVANCED. I am currently using SQL Server 2008 R2 edition which supports Reporting services and it is also written that it supports SYNCING with Office Servers. I am confused now on which SQL v...

How can I inject server control to a list form in SharePoint 2010?

In 2007 I used Custom Action with ControlClass to inject custom code to a form. It was very convenient to target custom functionality with way (e.g. enable it for a custom content type). In general I need to implement an import button on an issue form that will generate KB article and redirect to the created wiki page. Since for the r...

How can I do a re-authentification on approval in a Sharepoint approval workflow?

The security guy ask me to make a step where the approver need to re-authenticate when he approve the list item. All of the other part of the workflow is done except this one. The best solution would be to use the built in log-in of Sharepoint, but I don't know how to do that. I want to point out that I'm doing this workflow with visual ...

How should I be organizing my SharePoint code?

Over time, the code base I maintain has grown exponentially. We have a variety of different utility classes, webparts, event receivers, console applications, and more. Typically, each webpart lives in a separate DLL (one solution and one project per web part). Our utility classes have also been largely separated out into their own sepa...

Document Library Name in xsl

I need to grab the document library name in a webpartpages:dataformwebpart I see the document library names in several places. Which one should I grab? HeaderTitle="DocLib_23" DetailLink="/sites/SiteCollection/Project_ABC/SubSite1/DocLib_23/Forms/AllItems.aspx" Title="DocLib_23" How do I create a param in xsl to grab the doc lib name ...

Not sure how to programmatically filter by taxonomy metadata in my custom search webpart.

I have pages in a pages library on a publishing site which have a managed metadata (taxonomy) field in their content type. I want my custom search webpart to read the taxonomy set on its parent page (I can do this fine) and then query against a specific scope using only the selected tags of the parent page as the filter (no keyword neces...

Is it possible to use the new 2010 Calendar Overlays before running the Visual Upgrade?

Preface: I have a rolling upgrade to SharePoint 2010 in progress for one of our clients. Their content has been upgraded to 2010, but they remain on the old visual style; their site has not applied the visual upgrade. We're trying to ease them into the new interface piece by piece since some of our custom code also needs to be updated to...

Is there a way to -not- refresh the page when we click on a link in SharePoint Web part?

A few days ago I submitted this question: http://stackoverflow.com/questions/3161708/sharepoints-new-folder-doesnt-ask-for-a-required-field I essentially have Web Part Connections filter some documents through a required field. I was having problems making that new field for the folders. I managed to do it with help from Moron. It is...