sharepoint

please help with adding on users to my sql server 2008 database

hi please help i have a sharepoint site with sql connection i am able to view the info on the page but other sharepoint users in the company cant how can i add them on as users to my database? , my connection string on my page is as follows : con = new SqlConnection("server=srvgmssapqas;database=hrportal2;Trusted_Connectio...

Problem attaching DVDropDownList to a form in SharePoint Designer

In a SharePoint WSS 3.0 site two linked lists eg Project and Tasks. New tasks can only be assigned to open projects. Therefore in the new tasks form I need to filter the project drop down list to display only projects with a 'Status' equal to 'Open'. Following these instructions in SharePoint Designer I have: Created a new form Insert...

Looking for resources for learning SharePoint Foundation on the Internet

Hello. While I am quite comfortable with the .Net world, I am a baby as far as SharePoint technologies are concerned. With the advent of SharePoint 2010 (Foundation especially), I'd like to directly learn the new version. However, I am not getting enough resources on the Internet that can be helpful. Besides knowing to maneuver a ShareP...

How to restrict SharePoint WSS3 users to edit only fields that are in their dedicated views

Hi guys, Here is situation: There is a list with the fieds: Title, Client, Project, Description. There is a view for analysts with the fields visible: Title, Projec, Description. All is fine so far as the analysts work with their views and not with the lists. But when they need to modify the records clicking on Edit, they see and able...

Is SharePoint's ListViewXML syntax based on a standard?

I had to change a ListView webpart and noticed the syntax that renders the HTML is not XSLT. Is this ListViewXML syntax documented somewhere or based on a standard? Example, <IfEqual> <Expr1> <GetVar Name="BlogPublishedCurrentDate"/> </Expr1> <Expr2> <Column Name="Publ...

Why is this CHOICE element not getting assigned in my SharePoint Field definition schema?

I defined a new field of the type "Choice" for my web application. It will serve basically as a pseudo-lookup as its contents are defined by the value of a Text field in a list. It is initialized with a dummy choice to begin with (I'm under the impression a choice field needs at least one choice when defined), which is replaced with a re...

What is the current status on Microsoft ProClarity?

I don't really know how to compose this question. My complay has been using Microsoft ProClarity for few years and we have a quite a few users using it publising books and doing ad-hoc analysis. With the new Microsoft BI solutions, it seems like they are completely going away from ProClarity and replacing the OLAP analysis with Excel. I ...

How do you remove a site from Sharepoint Designer?

I would like to use Sharepoint Designer 2007 as an html editor. I have a web site with a lot of files in a folder on my hard drive. I do not want Sharepoint Designer to make a web site out of this. I just want to use Sharepoint Designer to edit the html files, locally. If I ever make a mistake and click on a tool for Sites, such as summ...

About the sharepoint LogToHistoryListActivity.Duration.

Does anybody know what the LogToHistoryListActivity.Duration does? I see some people set it to zero and some people keep the default negative value. I didn't find any useful information on MSDN. Thanks, ...

Grouping problem with postback in SPGridview

I have a SPGridView with a custom CheckBox Template in it. To access the value of the checkbox I have created the SPGridView in Page_Init method. It was working fine. I also have grouping in the grid. It was working fine till I made any postback in the page. To overcome that I created my own custom GridView and overrided the LoadControlS...

Maximum number of web parts/web part zones per page? (Microsoft SharePoint 2007)

I've already found the max number of web parts per page: Customizable - in web.config file, <configuration><SharePoint><WebPartLimits MaxZoneParts="XX" /> 50 (default) - http://technet.microsoft.com/en-us/library/cc262787.aspx 100 (recommended max) - http://technet.microsoft.com/en-us/library/cc287743.aspx However, I've been unable t...

Upload documents using email and mapping properties of documents

Hi, We have a requirement to upload documents to a specific SharePoint document library when a document is sent via email to a specific email address. I think SharePoint has this feature available. What I would like to know more importantly is mapping the information in the body of the email to the custom properties of the document. Fo...

Programmatically copying custom content type and columns from one web to another

Hi all: I'm experiencing a very stubborn problem when copying custom content type and its columns from one web to another within the same site. Basically, this is the code that I have: foreach (SPField field in existingWeb.Fields) { if (!destinationWeb.Fields.ContainsField(field.Title)) { destinationWeb.Fields.AddField...

What´s the easiest way for a user authentication in SharePoint 2010

Hi, does anybody have a manuel that describes the steps to create an anonymous user authentication in SharePoint 2010 (Website for the internet with no authentication). For editing an admin has to log in with forms authentication. Can I hold the admin somewhere in the web.config with membership provider ? Or do I need to install SQL Se...

Some question about the SPGridView

Hi all I am writing a web part which uses the SPGridView to display the data from SQL Server 2005. I am using the ObjectDataSource as the data source control. Right noW, I can display the data from the sql server. I also can sort,fillter and update the item in the SPGridView. But I still have some problem, maybe someone meet them befor...

How to get the Currnet Date & Time Automatically to a Date TIme Field

Hi, i have created a date time field i made Todays Date as the default value, Then i added it to a page layout and created a page, But the current Date Time is not picking up from the system. I dont want to give the user to select a Date Time instead it should populated Automatically is there anyway to acheive this without writing cod...

Is it possible to add Bamboo Web Parts to a web part page programmatically in SharePoint?

Can't find much information on how to do this at all - how can I add in a web part and then configure the settings for it? ...

Auditing logging on only one SharePoint 2007 Document Library or List

Hi all, I would like to know if it is possible to get audit logs on only one document library or list. I wouldn't like to do it at site collection or server farm level. Also, is it possible in the audit logs to get information for the case of editing, what the original information was before editing and the new information? Thanks in ...

CRM template in sharepoint

Hi , I just want to know is any CRM template present in sharepoint or Project Server for free download? Please suggest me , it is too urgent ...

Get audience members using web services in SharePoint

Using the SharePoint API (the one with the assemblies you add, but requires you to run on the server) it is easy to get audience members: using (SPSite site = new SPSite("http://localhost")) { ServerContext svrContext = ServerContext.GetContext(site); AudienceManager audManager = new AudienceManager(svrContext); foreach (Audience ...