Redirect to display form after creating new item
Hi all,I need to redirect users to the display form after they create an item. Both should be in modals.I referenced this...
View ArticleDeveloping an CSOM code using Visual Web Part
Hi,I'm new to writing code on CSOM. i was trying to write CSOM on Visual Web part.please, suggest is it possible to write CSOM on Visual web part. I have tried the sample code for getting the web Title...
View ArticleError in simple javascript search web-part.
Hi everybody. I need a help. I want to write simple sharepoint farm solution web-part (not App) with javascript for search like describe...
View ArticleMySite NewsFeed is not showing the feeds from a SharePoint 2013 site which...
Hi Experts,I am facing an issue with following SharePoint 2013 site programmatically. When i was followed a site programmatically, unable to see the posts from followed site in MySite NewsFeed. But i...
View ArticleContent Database Restore
Hi,I want tgo restore a content database of a webapplication.But I am getting this error.System.Data.SqlClient.SqlError: Exclusive access could not be obtained because the database is in use. I am...
View ArticlePassing listitemcollection to Generic list
Hi,I am trying to pass the listitemcollection to a generic list. But I am getting error as Object reference not set.I have used the below code:using (SPSite oSite = new...
View ArticleSharePoint App SQL Error
Hi there, I created an app that contains list in it, I'm overriding ItemAdded class to do calculations and some parsing after item is created. I want to store some number in SQL server and later add...
View ArticleWebpart not rendering on migrated sites to 2013
I have migrated MOSS 2007 sites to SP 2013 using database attach/detach method, when i deploy the custom webparts i see below error on the migrated site: "Webpart error: A web Part or Web Form Control...
View ArticleHow to create my site programmatically in multi-tenant environment
Hi All,Can anybody help on how to create my site for a user in multi-tenant environment programmatically or by powershell commands?Thanks in advance. Moohak
View ArticleJSLink for Users Permission
Hey Everyone,Is there any way to identify currently login user's permission group(Visitor, Owner, Member group) through JSLink....???If Yes, Then please suggest me some good example or code snippetit's...
View ArticleREST API Function for Generating Guest Link
We want to provide external (anonymous) user access and viewing of files stored in SharePoint 2013 and/or Office 365.Does the REST API provide a function to generate a Guest Link programmatically?If...
View Articlesite collection as template
I have an Intranet Site in SharePoint 2013. I have created site collection for a department. I need to save this department site collection as site collection template. So that I can use this template...
View Articlechange existing SharePoint claim provider default claim identifier using...
Can we change existing SharePoint claim provider default claim identifier using powershell? We want to modify existing claim from email to samAccountName.$ap = New-SPTrustedIdentityTokenIssuer -Name...
View ArticleChoice field - have different text to value in the html
Is there a trick to have a choice column field display different text to the actual value. I suppose it could be done with a lookup field to anther list, but just checking if there is an undocumented...
View ArticleSharepoint workflow add calendar appointment to outlook of creator
Hi,I'm working on a workflow to handle vacation requests. The basic requirements are:1. Task is assigned to creators manager who approves/denies the request.2. After approved an event is created in a...
View ArticleShow Alert in PreSaveAction after validation of Fields
Hi All,i have a simple task, but I dont know the function call for this.I want to show an alert in the PreSaveAction function after verifying that all Values in the Fields are valid.So something like:...
View Articlehow to add external users?
Hi, I have a sharepoint 2013 site and I got the users from an active directory, now I have to add external users but I can't add these to the active directory, how can I do it? I have imagined two...
View ArticleCustom Action not working on Variation sites
Hi,I have created a Custom Action to hide ribbon item.<CustomAction Id="RemoveRibbonButton" Location="CommandUI.Ribbon" RegistrationId="850" RegistrationType="List">...
View ArticleOdata Support for Custom WCF SharePoint Service
Hi,I've developed a custom SharePoint service (in ISAPI which is accessible via _vti_bin).Previously this web service wasn't implementing OData (only REST). I changed the factory to...
View Articlehow to change 'Number of items to display' for a list view programmactially?
in CSOM would be perfect.
View Article