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 ArticleChange 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 ArticleIs 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 ArticleModify a Workflow's AssociationData
We are trying to initiate an approval workflow and associate it to different users using C#. It looks like as soon as we try to modify the properties of the SPWorkflowAssociation that the workflow...
View ArticlePowershell 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 ArticleConfiguring Web Parts dynamically from a shared definition?
We are building a large set of pages for our Intranet with (nearly) identical web parts (these are actually search results and refiner WPs with fixed queries, but the details aren't really relevant)...
View ArticleCaml 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 ArticleAssigning External content type field column value using Client Object Model
I have a problem assinging External column value to ListItem object with client object model-based application I'm developing. To be precise, I am able to retrieve data related to external content type...
View ArticleShow all items in data form web part when no filter value
I have connected a XSLT list view web part with a data form web part. The list view web part sends the connection parameter and the data form web part filters the corresponding content. I need the data...
View ArticleError when editing some Items in SharePoint Custom List
Hello I have a custom list with multiple workflows and a customized infopath form. I am getting an unexpected error on some of the list items when I try to edit them. I can view them just fine but the...
View ArticleHow 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 ArticleOracle-SharePoint 2010 Integration without creating External list
Hi,The client has existing application which is Oracle-based and the data is stored in Oracle ERP tables (5 in number) & some other custom tables (5 in number). They have created a view using these...
View ArticleHow to add a button in top ribbons of ALL library types (Not just document...
Hi there,How to add this custom button on all Library Types (Not just document libraries)? RegistrationId="101" RegistrationType="List" adds this button to Document Libraries only - which does not work...
View ArticleSharepoint List
I have created a list using visual studio 2012 for SharePoint 2013, we have created a content type which contains around 20 columns, which is attached to the List.I want to increase the width of a...
View ArticleHow to add CssClass to SharePoint:TextField dynamically through coding
Hello,I have a SharePoint:TextField control placed on custom application page and have defined two css classes declaratively with CssClass property of the control.I want to add one more class...
View ArticleHow to get all the Sharepoint List name in dropdown list/selector
hello,Am creating one webpart in which i want to display all list in dropdown list/selector.How to do this can anyone have any sample code.Thanks,
View ArticleRegarding packageing in sharepoint
I have created a small solution for practice. Soulution Name : SampleClass Library : Sample.ClassDB (Data Layer)Class Library : Sample.ClassLib (Business Layer)UI : Sample.UI (Which has webpart code)In...
View ArticleImplementing Role-based Security in SharePoint 2010
Hi,The client has existing SharePoint 2010 application , where they have used default SharePoint groups and permissions , but for this requirement , they want to implement role-based security model.. I...
View Articlesharepoint Powershell
sHere is my code for copy file from on site to other site But here is errrorYou cannot call a method on a null-valued expression. At line:5 char:40+ $dFile = $dList.RootFolder.File.Add <<<<...
View ArticleCapturing Timestamp when Status Changes in a SharePoint 2010 List
I've created a Risk/Issue/Decsion Log (list) in SharePoint 2010.I need to capture the date/timestamp when an item changes from 'Open' to 'Resolved' Status and also when the status changes from...
View Article