Posts

Showing posts from 2020

Configure People Picker for Multi-Domains(or Cross Domains), Forests Environments

If you have SharePoint environment in new domain(example: Main) and also have old sharepoint in other domain(example: Constco) and want to bring Old sharepoint users into new SharePoint then follow the below steps Open Two way/ One way Trust between Two Domain controllers (i.e. Old and New) 1)  Open the proper ports between SharePoint 2019 servers (except Database servers) and Old Domain  Controler (Constco) 2) exectue the below command in all servers in New sharepoint environment            stsadm -o setapppassword -password Test$123                replace Test$123 to your own passowrd  3)  exectue the below command in web servers only in New sharepoint environment     stsadm -o setproperty -pn peoplepicker-searchadforests -pn peoplepicker-searchadforests -pv "forest: Main.Corp ;forest: constco.corp , constcoDomain \ loginname ,' password' " -url " SharePoint web URL " Note: Replace...

Fetching users slow from People Picker in SharePoint

  Run the below command on all site collections in all farms to increase the response time of the people picker.  stsadm -o setproperty -pn peoplepicker-searchadforests -pv "domain: test.CORP " -url " https://you stie URL/sites/sitecollection/ " if you have multiple domains, use the below command stsadm -o setproperty -pn peoplepicker-searchadforests -pv "domain: test.CORP; domain:test1.CORP " -url " https://you stie URL/sites/sitecollection/ " Change domain name and URL and execute the command in powershell

How to install SharePoint Cumulative Updates in a SharePoint Farm Step by Step

  https://blogit.create.pt/miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/

Using manual SharePoint fill-in choice values in your PowerApp

 If you’re using a SharePoint choice field you can set the ‘ Allow fill-in choices ‘  First, you need to make sure the ‘ Allow searching ‘ option is enabled (which is by Default) on the choice field in your PowerApp by selecting your dropdown control and enabling Allow searching in the Properties pane With that option enabled, users are able to search the drop-down by entering a value which will search for that specific value. Since your have user input with this option, you can also use this to store that value into your list item. You can achieve this by adding the following function to the Update() property of your DataCard: If(     !IsBlank(DataCardValue10.Selected),     DataCardValue10.Selected,     If(         !IsBlank(DataCardValue10.SearchText),         {             Value: DataCardValue10.SearchText,             '@odata.type': "#Microsoft....

Clear fields based on drop-down values in PowerApps

Clear current selection from drop down when another drop down value changes 1) Parent drop-down is States 2) Child drop-down is City We can hide and show the City drop-down based on States Value changes NOTE: Please use your DataCardValues and  lv_dpclear is local variable Select City data card and go to the Advanced properties for DataCard Look for the Visible property and write the below code If(DataCardValue3.Selected.Value="VA",true,false) For clearing the City dropdown selected value based state changes. Select the State drop-down (first drop-down) and go to Advanced use the below code in OnChange  UpdateContext({lv_dpclear: true}); UpdateContext({lv_dpclear: false})  In the Reset property of the second dropdown(City), add the below code       lv_dpclear -------------------------------------------------------------------- Clearing text box and Date Control values based on dropdown selection: Add belo...

Promoted Links - Script to show tile in rows and column in webpart page

How to create a wrapped tile-view for the ‘Multiple Promoted Links’ webpart in a page https://collab365.community/office-365-sharepoint-2013-wrap-tiles-promoted-links-for-multiple/ https://rakeshnpatel.blogspot.com/2018/09/promoted-links-script-to-show-tile-in.html

Hide and show cascading dropdown using JQuery in SharePoint

<script src="http://code.jquery.com/jquery-1.9.1.js"></script><script type="text/javascript"> function PreSaveAction() { var sRiskType=$("select[title^='Risk Type']"); var sRiskStatus=$("select[title^='Risk Status']"); var sOpportunityStatus=$("select[title^='Opportunity Status']"); if((sRiskType.val()=="Risk")&&(sRiskStatus.val()=="")) { alert('Please select Risk Status    ');     return false; } else if((sRiskType.val()=="Opportunity")&&(sOpportunityStatus.val()=="")) { alert('Please select Opportunity Status              ');     return false; } return true; } $(document).ready(function() { $('nobr:contains("Risk Status")').closest('tr').hide(); $('nobr:contains("Opportunity Status")').closest('tr').hide(); $("select[title^='Risk Type'...