Hi
Can anyone tell me how to allow anonymous SharePoint MOSS users to view people search core results web parts? When they try to access pages containing this web part, they are prompted to login.
All the best
...
This is my connection string inside my web.config of my SharePoint site.
Its sitting just below the closing SharePoint tag.
<connectionStrings>
<add name="SAMRASConnectionString" connectionString="Data Source=JOHANDEVVM;
Initial Catalog=samrasDB; User ID=Johan; Password=password; Trusted_Connection=True"
providerName...
Hi
If Microsoft built MOSS so that all data is written to the SQL Server database, why do all best practices for development suggest to keep files etc outside of the database, i.e. on the filesystem?
All the best
...
I have a website in Sharepoint.
To get a list of sites ordered by the exploration, that is to say, ordered by the user in the sharepoint administration, i would write the following code:
SPWeb web = CurrentSite.OpenWeb(currentSite);
SPNavigation nav = web.Navigation;
SPNavigationNodeCollection nodeColl = nav.QuickLaunch;
That is o...
I am creating a new Panel..
public class LicensingPanel : Panel
{
private LinkButton licenseButton;
...
}
I am then in the code adding my controls to the Controls property, one of which is a LinkButton.
What I want to be able to do on my Page code behind is the following..
protected override void CreateChildControls()
{
...
I'm aware of the event receivers on a list for items added etc. However, I have not found a way to fire code upon the creation of a list.
What I'm trying to do is associate a workflow with a list when the list is created (by the user through the UI).
Anyone any ideas?
thanks.
...
Is there a way to (semi) automatically convert a sharepoint 2007 site template to a site definition? This seems like it could be quicker than building a site definition from scratch, yet provide the benefits of the site definition.
...
I have a website in Sharepoint.
As you know,in settings users can order the sites and pages as they want in exploration, and then you can get these items with this order with:
SPWeb web = CurrentSite.OpenWeb(currentSite);
SPNavigation nav = web.Navigation;
SPNavigationNodeCollection nodeColl = nav.QuickLaunch;
The problem I am havi...
Hi I have a SharePoint webpart which is compiled as a DLL and placed in the BIN folder of my SP site. My webpart works on my local machine, but when I put it on production it fails with a
(401) Unauthorized.
After doing some research I came acrooss what is known as the "One hop rule". Meaning I have to either pass in the credential...
At our company we are currenty trying to define the basic things our software architects have to know about SharePoint for them to architect and/or lead a SharePoint implementation project. Many architects in our company have a .NET developer background and know a lot about .NET development and the various framework components and toolin...
What is the best practice for impersonating the current SharePoint user when accessing a web service that uses NTLM authentication? The webpart has the user name but not password, and apparently, passing the network credential from the webpart does not work. The remote web service uses NTLM to authorize the user.
...
Does anyone have any idea how to deploy an InfoPath Form (2007) as a Site ContentType programatically (script or object model)? I do not want the form published to Central Admin and FormServerTemplates, but rather a Forms Library created by a Web scoped feature. The intention is to be able to publish the form via script or code in orde...
We have an FBA SharePoint implementation using a .NET Membership database. We would like to use this same database and collection of users for a new application. Has anyone tried this? I know in theory that it should work, but SharePoint can be finicky.
...
Hello,
This question is a bit specific (MOSS2007) and I don't high hopes for getting an answer, but maybe luck will smile upon me.
I have a web part that works except the very first time it's being added to a page. It throws an exception inside a constructor when I'm trying to open a connection to a SQL server. The demand for the SqlCl...
I have a state machine workflow hosted in SharePoint with a delay activity in one state. When the timer fires the delay activity, I get a serialization error: "Engine RunWorkflow: System.Runtime.Serialization.SerializationException: Cannot get the member 'SendEmail_MethodInvoking'".
The method this error references is not in the same s...
How do i dispose reference to the subWeb in the following query?
using (SPSite spSite = Utility.GetElevatedSite(_rootUrl))
{
from SPWeb web in spSite.AllWebs
where web.ServerRelativeUrl.ToLower() == path
from SPWeb subWeb in web.Webs
select subWeb
}
Do i even need to worry about disposing th...
Hi I am developing using the SharePoint namespace and I ran into the following error when I try to retrieve a Title field from the list items.
"Value does not fall within the expected range"
I know however that the field exists because I printed out all the fields.
string value = (string)listItem[listItem.Fields["Title"].Id];
Console....
I am implementing a custom list definition that contains several columns. A requirement to one of the columns is, that it can only contain unique values. If a user enters a value that is already present in another list item, a validation error must be shown.
Are there any options for doing this OOTB, perhaps in the list definition or in...
Hi,
I am using WSS2.0. Am trying to set some permissions to a document library but not getting the desired behavior. I have created a sharepoint user and assigned it to 'Reader' group. I just want this user to view document library content but not make any changes like check out or upload new document or delete etc. Hence I assign the R...
I need a control similar to the SharePoint:LookupField, but bindable to any data source.
(i.e. dropdown box that allows typing and filters the items based on what is typed so far)
Preferably, same look and feel as the LookupField.
Any recommendations?
Thanks.
...