sharepoint

Using Sharepoint TextField, Label Field to get bounding data from multi list

Hi all, I have to make a custom webpart in sharepoint 2010 to customize defaults form of SP List. But, the custom form i make have a field must get/set data to field of other list. Sample : I make a custom create custom Editform.aspx for List A by add a webpart to this page, that add. but in it have a text box that load data from a f...

Sharepoint FullTextQuery doesnt work

I have three scopes: scope A with rule include http: //mywebapp/lists/myList scope B with rule include FileExtenion aspx scope C with rule include http: //mywebapp/mysitecollection2/ some managed properties mapped to columns from myList, ows_contenttype, ows_created (Property1,2,3) select title, url, description, Property1, Property...

Incoming Mails in Sharepoint

Hello all, I have a Document Library that receives a mail every week. I want to show the list of mails with their summaries. Is it possible to get that mail's content in Sharepoint, without deploying a custom code? Thanks. Edit 1: Anyone? Anywhere? :( Edit 2: Incoming E-Mail Settings: http://i39.tinypic.com/23m1u7l.png By summary, I...

ObjectDataSource cannot find type when deployed to SharePoint

I'm receiving the following error when deploying a feature containing ASP.NET pages to our development SharePoint servers: System.InvalidOperationException: The type specified in the TypeName property of ObjectDataSource 'odsYears' could not be found. Our .dll is being deployed to the GAC and our pages are being deployed to the the res...

SharePoint (2010): Field for (multi) currency...?

Hello, old problem now getting new. Anyone has a good idea for storing currency values in a sharepoint list? Problem is - there is a currency field, but it is not multi-currency enabled. I could obviously store the value in two fields (currency lookup from a list, value in second field), but I take it as wondering whether there is a mo...

Dropdown list allow multi-select in sharepoint

Hi, I have a trouble that : I have to implement a webpart contain a Field that look up into other list. But the requirement that it must allow multi-value, and multi-select as a dropdown-list. Pls, help me :( ...

SharePoint - insert list item into a folder using LINQ

Hello, I am trying to use the new LINQ notation to add an item into a folder. I can add the item to the root of the list with: dataContext.MyList.InsertOnSubmit(mynewObject); But I can't find a way to make it go inside a folder. I am trying to avoid instanciating SPWeb, or SPSite objects. Thanks, Itay, ...

Getting path of the file that saved on Sharepoint Document library

Hi Hoe to get the full path of the file that saved on into sharepoint document library. I have one requirement, in this if i upload one file to the document library, then i want to save the Doc path of the same to the DB. please help me to implement this task. Thanks in advance.. ...

Problem In Event Receivers in sharePoint?

Hi all, iam creating folders in document library from third party app.once the folder is created iam changing the metadata fileds in the documetn libary by using event receivers. so i wrote code in itemadded event to set the metadata vlaues of created folder public override void ItemAdded(SPItemEventProperties properties) { ...

How to store user-specific data in SharePoint

I have some user-specific data that I need to store in SharePoint and make accessible to the user through custom webparts. Let's say a list of favorite URLs. What would be the most straightforward way to store this information? Some builtin propertybag for SPUser or similar that I'm not aware of. SPList, associated through User column...

Difference between FieldLinks and Field in Sharepoint

Hi all: I'm in the middle of trying to copy a custom content type from one web to another. I've googled around and found some examples that use FieldLinks and Fields. I'm kind of lost as to which one to use, since when I get the FieldLinks from my source web, I get 3 fields; while retrieving from Fields only returned me 2 fields... th...

Enable Session state in sharePoint 2010

I setup a test box computer with server 2008 (standard edition, not R2 and not hyper-v editing). I then installed SharePoint 2010. I was amazed how easy the whole setup went (the prerequisites setup on the SharePoint disk made this process oh so easy – great install system). Really this was just so easy. This test box is being used for...

Properties.ListItem is null it itemadded event?

hi all, we are creating folders in document library from windows.we are updating metadata fields in itemadded event method. but properties.listitem is showing null. when we are creating folder from document library new button it showing current listitem. please tell me how can we access the current listitems when we are creating folde...

Sharepoint Workflow task with title (external participant)

Hi all I made a custom sharepoint workflow with Visual studio, the workflow starts when a new item is inserted in a list I assigned the title of the task to reference a field in the new item TaskProps.Title = "Please prepare Hardware for project " + workflowProperties.Item["Contract"].ToString().Split('#')[1]; the task title is corr...

Registering a piece of script across all the SharePoint Pages

Hello all I've a business requirement in which i need to create a SharePoint feature which registers a JavaScript across all the SharePoint pages. The only way i figured out to achieve it is that adding the script in (all) the SharePoint Master Pages or any other custom master pages present in the Site/Site Collection/Web Application w...

SharePoint - DIP problem on local copies downloaded from the portal

Our users have issues where the Document Information Panel(DIP) appears on Word, Excel, PPT documents. Here is the scenario: User downloads a copy of a template from the portal to his/her local hard drive. User edits that template and renames the file, again saving it to his/her local drive. User continues to edit and upda...

Can I use jQuery ajax in a SharePoint WebPart without having to worry about the same origin policy?

My current project for work involves developing a SharePoint 2007 WebPart which will be deployed by our clients. To provide a better user experience, I am "simulating" ajax via setting the SRC attribute of an IFRAME to be the address of an HTTP handler. These handlers are deployed to the layouts directory in the 12 hive. Although this w...

Give users permissions on item in other list

Hello everyone, this is what I'm working on. I have two lists: column user and column project that the user is assigned to. (a library): a list of all the projects. I was wondering, how, by every row that is created in the first list (so adding a user and a project) it is possible to grant the user permissions on this project's r...

Sharepoint: Is it possible to automate the deployment of a custom CAS policy?

Hi all, I'm looking for a way to automate the deployment of a custom CAS policy in SharePoint. What i would like to achieve is the following: All assemblies that have been built and signed by our build server (with a secret key) should run in SharePoint under the 'higher than normal' trust level. Now I can manually edit the cas poli...

How to handle sharepoint web services exceptions

Hi, I have developed an application of share point. I am using web services for that. the problem is that while working with my app sometimes i get some exceptions. like, Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown. Stack Strace :: at System.Web.Services.Protocols.SoapHttpClientPr...