Posts

Showing posts from 2016

SharePoint Designer 2010 workflow on the specific folder of library

Image
SharePoint Workflow could not be associated with folder, but you could create a List Workflow and specify the following condition to verify if item is located under a folder named  Test/ Orders : CurrentItem:Path   ends with   Test

SharePoint 2013 Interview Questions and Answers

Q1: Can you deploy .wsp Solutions from SharePoint 2010 in SharePoint 2013? Ans:  Yes. SharePoint 2013 provides Support for both 14 Hive and 15 Hive. Solutions from SharePoint 2010 can be deployed in SharePoint 2013 either in 14 Hive,15 Hive or both. This can be done using the new “CompatabilityLevel” parameter of Install-SPSolution cmdlet with which you can now Deploy your wsp Solutions to 14 hive, 15 hive or both. For more Info see  DEPLOY SHAREPOINT 2010 SOLUTIONS IN SHAREPOINT 2013  Q2:  Can you Create & Deploy Sandbox Solutions in SharePoint 2013? Ans:  Sandbox Solutions are depreciated in SharePoint 2013.You can still Create them and deploy them but they are not supported by Microsoft (not 100% sure about this though). Q3: What is the new JS Link Property on SPField? Ans:  New “SPField.JSLink” property has been added to help specify any external JavaScript file Containing any Rendering logic for Out-of-Box or Custom field type.With JSLink developers can now Control the Renderi

SharePoint Server 2016 Installation step by step

Image
Captured from the below URL http://mstechtalk.com/sharepoint-server-2016-installation-step-by-step/ http://mosshowto.blogspot.com/2015/10/sharepoint-2016-installation.html ________________________________________________________________________________ SharePoint Server 2016  Preview has been released earlier today, check my  previous post for Download and Product Key details , installation media is available for a trial period of 180 days. I have completed a Single-Server installation of SharePoint Server 2016 with Database server on a separate machine. I am sharing the installation details here which can be helpful for many who are new to SharePoint. The installation is similar to the older versions of SharePoint except MinRoleTopolgy which is introduced for the first time in SharePoint 2016. System Requirement I have used the below hardware and software configuration form my current installation. Hardware Requirement Scenario Processor RAM Hard disk Databa

Select ALL Items in Multiselection Listbox in Infopath 2010

The easiest method for accomplishing this will be the following: Open the list form template in InfoPath Designer. Go to File >> Publish >> Export as Source Files.  Choose a folder to save these to. In these source files you will see the template.xml file.  Open this in your favorite text editor. Search for the section in this XML file which contains the name of the Multiple-Selection List Box data. Names may be different: <my:multidefault_x0020_checkboxes>     <Value>Apples</Value> </my:multidefault_x0020_checkboxes> Add the list of choices you would like to be checked by default, so it looks similar to this: <my:multidefault_x0020_checkboxes>     <Value>Apple</Value>     <Value>Orange</Value>     <Value>Grape</Value>     <Value>Pear</Value>     <Value>Etc</Value> </my:multidefault_x0020_checkboxes> Save this file and go back to the XSN's source files.  Righ

InfoPath - Multi Choice Value Field - Default Values

From the below article: https://social.msdn.microsoft.com/Forums/en-US/6d30678f-acfa-4b4d-bffc-2705de86c0c2/infopath-multi-choice-value-field-default-values?forum=sharepointcustomizationprevious -------------------------------------------------------------------------- the default values set in the SharePoint list do not carry over into InfoPath.  Not to mention, there is no option to select multiple default values for the Multiple-Selection List Box control within InfoPath.  The good news is we can make InfoPath display these values by default by modifying one of the source files that make up the InfoPath template. When you first open an InfoPath XSN to fill in a new form, it uses a file called "template.xml" to know what data to display as default.  This file is stored in the source files that make up the XSN.  What we need to do is modify this file to include more than a single value as its default value. The easiest method for accomplishing this will be the fol

Clear Cache for SharePoint desinger

Delete all files from the below locations. %USERPROFILE%\AppData\Local\Microsoft\WebsiteCache %APPDATA%\Microsoft\Web Server Extensions\Cache The below location go to manually:  %APPDATA%\Roaming\Microsoft\SharePoint Designer\ProxyAssemblyCache

uninstall assemblies from GAC - Access Denied

On a SharePoint 2010 development server running Windows Server 2008 R2, I had to uninstall some assemblies in the GAC and keep getting access denied, when trying to delete them. So, looking for at a way to do this, I had to change a Local Security Policy, in order to allow them to be deleted: * Open Local Security Policy MMC * Goto Security Settings -> Local Policies -> Security Options * Locate “User Account Control: Run all administrators in Admin Approval” and change the setting from Enabled to Disabled * Reboot and now the assemblies can be deleted IMPORTANT! Never ever do this on a production system, and always turn it back on afterwards.

Unlock the SharePoint site using Powershell command

if your SharePoint site locked, then use the below Powershell command to unlock. Note: Lock means your site will be disabled all actions (creating new item, library/list settings, limited site action menu etc.,) even if you are site collection administrator. if you try to add another user as site collection administrator using powershell/central administrator, then will get the following error. this error because of SharePoint Lock. Additions to this Web site have been blocked To avoid above errors. use the below Powershell command Set - SPSite http : //SiteCollectionUrl -LockState Unlock

Open this task link missing in approval workflow+ sharepoint 2010

Open up the Document List (or any list) from SharePoint Designer 2010 Under the "Workflow" panel (lower right), click on "New" to create a new workflow (it will be shown as empty initially until you create a new one). Give a name to your workflow if prompted. You are now at the Workflow window. Click on "Edit workflow" under the "Customization" panel You are now at the Editor for the workflow. At the big horizontal cursor under "Step 1", type in "Start" and enter. It will then give you a list of possible actions you could add. Pick "Start Approval Process" A new line/item is added for "Start  Approval  process on  current item  with  these people " Now click on "Approval" on the line (the underlined one) You are now at the  Task Process  level. Now, you could customize how the task is to be performed. Click on "Change the behavior of a single task" Under "When a Task is Pe