Reading Time: < 1minute If we use InfoPath forms, then it won’t allow user to access the forms from Mobile devices. Since it not supporting Mobile view for InfoPath forms. It will throw below error Solution: Turn Off the Mobile Browser view Deactivate SharePoint Mobile feature in Office 365 sites go to Site Settings …
Reading Time: < 1minute Get Current User data using jQuery/JavaScript Add a Content editor webpart in InfoPath form New page, add the below code <script type=”text/javascript” language=”javascript”> var user; var email; var firstname; var surname; function getUserInfo() var clientContext = new SP.ClientContext(); user = clientContext.get_web().get_currentUser(); clientContext.load(user); clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed)); } function onQuerySucceeded() { …
Reading Time: 5minutes 1. Use trusted SQL connections with integrated authentication To make the production environment more secure, one of the things we looked into was securing the database connection information between the web server and SQL server. 2. Use the Aspnet_setreg.exe utility to encrypt the connection string and store it in the …
Reading Time: < 1minute To disables ASP.NET certain configuration settings such as trace output, custom errors, and debug capabilities. Set retail=”true” in your machine.config in the production server <configuration> <system.web> <deployment retail=”true”/> </system.web> </configuration> It will force the ‘debug’ flag in the web.config to be false, disable page output tracing, and� also force the custom …
Reading Time: < 1minute We created an feature and try to install in the sharepoint server using stsadm command, it trows STSADM: The farm is unavailable Error. After tried we find the solution. The installing user not having rights in SQL server. ie.the Principal running the command does not have access to the SQL …
Reading Time: 3minutes Identity Challenges Most developers are not security experts and many feel uncomfortable being given the job of authenticating, authorizing, and personalizing experiences for users. It’s not a subject that has been traditionally taught in computer science curriculum, and these features tend to be ignored until late in the software development …
Reading Time: < 1minute Sharepoint 2010 Beta – [REF MSDN] Microsoft SharePoint Server 2010 Beta is the business collaboration platform for the Enterprise and the Web that enables you to connect and empower people through an integrated set of rich features. Whether deployed on-premise or as a hosted service, SharePoint Server 2010 helps you …
Reading Time: < 1minute MOSS frequent Development Issues and Fix 1. The file or folder name contains characters that are not permitted. Please use a different name. Ans: Check the Master page URL, Once again pick the Master page URL 2. Cannot complete this action. Please try again. Ans: CAML Query Error, Check with …
Reading Time: < 1minute Below is the Code to Delete List Item used by Microsoft Sample spListCollection = spWeb.Lists[“ActualAmounttrack”].Items; int itemCount = spListCollection.Count; for (int k = 0; k < itemCount; k++) { SPListItem item = spListCollection[k]; if (IdeaId == item[“Title”].ToString()) { spListCollection.Delete(k); } } Its not Working. Why the above code is not working …