Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Browsing all 11508 articles
Browse latest View live

SharePoint 2010 Web Part Error - Exception from HRESULT: 0x80131904

A client of ours recently encountered a problem with a web part I wrote a while back. This web part is an advanced search which returns results based on information entered into a text box and the...

View Article


Setting Permission on Custom ASPX page

Hi,I have a visual webpart which is added to a wiki page. The visual webpart has few controls and entering the values and clicking on submit button, I am saving the data to a custom list.When the data...

View Article


DirectoryServices Permissions

WebPart is managing AD User accounts using System.DirectoryServices; library.It should be used with SPSecurity.RunWithElevatedPrivileges(delegate()... in order to run.But then all changes are made to...

View Article

Mapping exisitng content type to a publishing site programatically

Hi All,I have created a site content type manually(Publishing Content type).I need to add this content type and populate respective columns programmatically to a publishing site.Pls help.Thanks in...

View Article

Please select fewer than 100 files to Upload

HI,In SharePoint 2010 Foundation.I am trying to upload 100 files in to Document Library by "Upload Multiple File" option. while doing it, I am getting error like""Please select fewer than 100 files to...

View Article


Document Library - Content Types - filter Content Type dropdown when...

Hi,I create a document library, site columns and site content types with code and add the content types to the document library.But, when I upload a document to the library, when the metadata form pops...

View Article

Inserting records from Infopath forms library to a SQL table

Hi,I have a requirement where i need to populate records from a Infopath forms library to a SQL table in a database. We have written a console app to achive the same. However we are encountering...

View Article

Setting the default value to taxonomy column in sharepoint 2010 using client...

I am creating a metadata column and I want to set its default value in sharepoint 2010 using client object model. Can anyone help me?My code for creating metadata column is as below:...

View Article


The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Please find the error below found at uls logs..added webpart to the library and please find the code used below the errorSystem.IO.FileNotFoundException: The system cannot find the file specified....

View Article


How to get plain text out of a multi line text field in Client Side Object...

I am trying to read plain text from a MultiLineTextField in a List. This is how my code looks so far://Get connection ClientContext context = new ClientContext("URL"); Web site = context.Web;...

View Article

Change Master page of a site using ECMA Script in sharepoint 2010

Hi All,I'm working on SharePoint 2010.I have a requirement where in I need to create a site and apply a particular master page to the newly created site usingECMA Script.The site gets created but while...

View Article

Is it possible to customize like feature of sharepoint list?

Hello,I want only like option in list ratings, if someone clicks onlike then unlike link should not be visible. only positive ratings should be there.  Is it possible?if yes please help me.Thank You so...

View Article

Caml query to check current logged in user - SharePoint designer

Hi,I need to create a caml query in SharePoint designer to satisfy the below conditions.If the logged in user (current user) is a member of a specific group. e.g. Group Name = ISS Owners, ID=5(OR)If...

View Article


Powershell for changing list display name and field name

hello,I need to change display name of list and field name using power shell for all sub sites of a site collection which has list with same name and as well as field or column name.thanks

View Article

Sequential workflow in VS 2010

Hi All, we would like to create a Sequential workflow in VS 2010 for the pages library in sharepoint subsite. Please advise the way forward. Thanks,

View Article


Get the parent DocumentSet from a SPListItem (In EventReceiver)

HiMy user creates a document set in i document library and then adds documents to this document set.I've created an EventReceiver for the document (not the document set) and when a user upload or edit...

View Article

Event Receiver on Content type hosted in Content type hub.

Hi All,Does it possible to attach the event receiver on Content type hosted in Content type hub? have anyone tried it? if yes, is there any limitation of this approach?Thanks for help in...

View Article


How to create repeating rows field type in visual studio for sharepoint

HI     I would like to check if there is any work around for the repeating rows field type other than buying 3rd party tool or using info path, Because i have SharePoint foundation server.Thanks

View Article

[URGENT] Creating a List in SharePoint 2010 On Click of a button

Hi,    I have a list which has columns like Employee No, Check_In time and Check_Out time. What i was suppose to do was calculate the total duration of hours worked programmatically. I have done it and...

View Article

Sharepoint OOB Dialog issue with using "html" element

Hi,I have to show sharepoint 2010 OOB dialog by using "html" option, pop up opens perfectly but if when i close dialog using following JS and then try to reopen it throws "undefined" exception....

View Article
Browsing all 11508 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>