The URL must be in one of the following zones: Local, Intranet


We configured the Performance Point Service and Secure Store Service for SharePoint Dashboard Designer.
How to configure Performance Point Service in SharePoint?

After completing all the configuration we tried to open the dashboard designer.
It was opened, but we are unable to see the SharePoint Option in that Designer.
Click on the Left hand side top “File Button”-> Designer Options.
In the Server tab give the SharePoint URL, click on connect.
 We are getting the warning message “The URL must be in one of the following zones: Local, Intranet”
                            

In my case we resolved the issue by adding the Site URL for Trusted Sites in the Internet Explorer,as shown below.



Please let us know, still you are facing any issues on this.

Here we find article How to Create a Dashboard Using BI in SharePoint?

Hide search box in SharePoint


Sometimes we can get requirement to hide the search box in all the pages or only in a particular page.

Using css we can do it easily.

First identify the search box having the id or class in the browser.
In our case having the search box having id

#SearchBox

Option 1:

To hide the search box with in a page using the content editor.
Place the content editor in that particular page you want to hide the search box.
Edit the web part and click on the source editor button
Place the code 
<style type=”text/css”>
#SearchBox
{
display:none !important;
}
</style>

Click ok.
Now verify it we can’t able to see the we search box in that particular page.

Option 2:

In the same way upload particular css file in a library.
Add the content editor in that particular page, edit the content editor refer the css URL.

Click ok.

Now verify it we can’t able to see the web search box in that particular page.


In the same way if you want hide in the entire site collection level for all the pages.

Upload the particular css in a library.
Refer the css in the Site Settings->Look and Feel->Click on the Master Page.
In the Alternate css URL
Select the Specify a css file to be used by this site and all sites that inherit from it:
Browse and select the css URL.
Click ok.
Now verify we cannot able to see the search box in all the pages.


How to create Content Type for a document library in SharePoint 2013

 To create a content type for a document library user must have permissions with Full Control.
Now we will create the content type as Excel step by step.


Step: 1
Navigate to the Site Settings->Web Designer galleries->click on Site Content Types->Click on Create
Enter the Name as per our requirement
In our case I am entering the name as DotnetSharePointExcel
Select parent content type from:
Document Content Types
Parent Content Type
Document
Put this site content type into:
Custom Content Types for Existing Group
Click ok.  


Step 2:

Navigate to library ->Top Ribbon click on Library Settings->Advanced Settings->Allow management of content types to Yes ->Click ok.
Step: 3

 Navigate to library ->Top Ribbon click on Library Settings->In the Content Types-> Click on Add from existing content types->In Available content types we can able to see the newly created content type Select click on add, Once content type added  Click on ok.
Step: 4

Navigate to Library ->Top Ribbon Click on “Open with Explorer” ->Forms there we have to place the template like EXCEL


Step: 5

Navigate to the library settings->now we can able to see that content type.
Step: 6

Click on Content Type->in Advanced Settings->Enter the URL of an existing document template
Example: http://dotnetsharepoint.com /sites/sharepoint /Document Library/Forms/template.xltx
Click ok. 


Step: 7

 Finally Click on library ->in the top ribbon click on Files->Click on New Document ->there we can able to see the newly created document content type.



How to change the Site logo in SharePoint using Power Shell

How to change the Site logo in SharePoint using Power Shell
For every web application having list of  site collection’s  and its sub sites having a site logo, some cases we need to change site logo only for a particular site collection and its sub sites only.

Doing it manually it will take time and effort, using the Power Shell we can change the site logo easily.

First I am uploading the site logo in a particular site collection library, my case I am uploading a logo in publishing images library (http://dotnetsharepoint.com/sites/changesitelogo/publishingimages)

Using this script we can change the logo in a site collection and its sub sites.

Run the below Power Shell script.

Add-PSSnapin Microsoft.sharepoint.powershell
#to get the site collection url
#to get the site logo
$sitecolllogo= " http://dotnetsharepoint.com/sites/changesitelogo/publishingimages/dotnetsharepointlogo.png"
$getsitecoll=new-object Microsoft.SharePoint.SPSite($sitecollname)
foreach($webs in $getsitecoll.Allwebs)
{
$webs.SiteLogoUrl=$sitecolllogo
$webs.Update()
}
$getsitecoll.Dispose()

Once the script completed successfully, go and verify the logo has been changed.

The World Wide Web Publishing Service (W3SVC) is stopped

When we try to access the site in SharePoint, I am getting the error message “the page can’t displayed”.
 We went to IIS and verified there all the IIS sites are in stopped stage, we tried to start the site, we go an error message “The World Wide Web Publishing Service (W3SVC) is stopped.
Websites cannot be started unless the World Wide Web Publishing Service (W3SVC) is running.



To fix this issue:

Open the services.msc

There we can able to find the World Wide Web Publishing Service



Right click on that service click on start. 

Now we can able to access the site without any issues.

In any case if we are unable to start the service and its dependency services with warning message “Windows could not start the World Wide Web Publishing Service service on Local Computer. Error 1068: The dependency service or group failed to start.” as shown in the screen shot.

                         

Double click on the “World Wide Web Publishing Service” in the top we can able to see the “dependency” option check whether any dependency services we need to start.
In my case I verified all the dependency services are in running stage.

Finally  to resolve the issue restart server it will solve the problem.

  

Missing webpart in SharePoint.


In some cases we tried to edit the page and tried to add web part click on Add a Web Part link but in the top ribbon we can able to see only Apps inside the categories, we verified the permissions for that particular user having the Full Control to the site.




Resolution:

If we are currently using sub site in this case, we don’t have permissions to access the top level site (site collection), at least the users having read access to the top level site (site collection) or at least read permissions to the web part gallery available at top level site (site collection).

Once we granted the read permissions to the users to the root site (site collection) or web part gallery then only users can able to add the web part to their site with all available web parts, because the web part gallery is available only at top level site collection only and they can able to see all the web part categories without any problems.




Exclude disable users from AD to SharePoint

There is a way to exclude the disabled users from AD to SharePoint, we are having advantages for excluding the disabled users.
1) SharePoint User Profile Sync will complete very faster no need to maintain disabled users information.
2) Crawling the People Search will complete very fastly.
When we are   configuring User Profile don’t forget to filter the disabled users before starting the full crawl.

Navigate to Central Admin ->Application Management ->Manage Service applications->User profile Service Application
Click on the user profile service application there we can able to see the “Configure Synchronization Connections” option click on it.


Create new connection, once connection created, click on "Edit Connection Filters" from the menu.
  


Select the condition to exclude disable users as shown in the below screen shot.


Click on add.
Now we can able to see the condition as shown below


Click on ok.
Start the Full sync, once sync completed, disabled users won’t be available in our SharePoint user profile.




Labels

.Net Interview Questions add custom button in sharepoint using javascript Add custom column property into a PageLayout in SharePoint Add Page Title on their browser's title bar in SharePoint Customly add zip files in blogger Add-SPOSiteCollectionAppCatalog : Must have Manage Web Site permissions or be a tenant admin in order to add or remove sites from the site collection app catalog allow list Advance SmartObject An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL. Angular 2 Angular JS Angularjs Angularjs 1 anonymous users accessing lists and libraries App Permissions for SharePoint 2013 asp.net membership unique email Asp.net TreeView Control asp.net. Attendees in SharePoint Auto refresh list using Content Editor WebPart in SharePoint 2013. Auto Refresh SharePoint list using JavaScript Block and unblock of attachment types in SharePoint Blogger C# Callouts in SharePoint 2013 Cascading Dropdown list in SharePoint change onenote to another location. change SuiteBarLeft in SharePoint 2013 check if userid exists in database c# click node text to expand/collapse in Treeview client object model Close webpart CQWP crate chart using BI site in PPS Create a modern team site collection in SharePoint online Create BI chart in PPS SharePoint 2013 create filter in dashboard designer. create kpi's in dashboard designer create kpi's in SharePoint 2013 dashboard designer Create List Create List In SharePoint Create List using Power Shell Script Create Lookup Field in List using Power Shell Script Create lookup field in List create SharePoint List custom view. create SharePoint List views in List Schema create site collection in site collection in SharePoint using powershell created Date Time calculated field in SharePoint Cross site Collection in SharePoint 2013 Crud Operation in Asp.net Using Stored Procedure Custom MasterPage Approval in SharePoint custom view for survey list Customly add SharePoint List view in Page. delete items in sharepoint using powershell Difference between Angular 1.x & Angular 2 difference between Office 365 and Windows Azure difference between Windows Azure and Office 365 in sharepoint? DifferenceBetween discussion board Display Data in Grid View display radio buttons and choice fields horizontally in SharePoint 2013 Document library DotNet Drag and drop documents in document library in SharePoint dynamically populating values from one list to another list using jquery in sharepoint edit and delete buttons in datagridview Edit Links email notification using Nintex enable anonymous access in SharePoint 2013 enable app catalog sharepoint online site collection powershell Enable appcatalog site collection level using PowerShell based on Input file Enable versions for list and library except the hidden lists using PowerShell Script Error occurred in deployment step 'Recycle IIS Application Pool': Cannot resolve model for the project package Errors&Solutions Export document library in sharepoint using powershell Export particular Group in Term Store Management in SharePoint 2013 Export to Excel first release Flow Flow features free disk space on servers using powershell Friendly URLs and Managed Navigation in SharePoint 2013 get a list of site collection with template in web application using PowerShell Script in SharePoint Get attachments in SharePoint custom list using c# get current list item id sharepoint programmatically Get current url using jquery Get data from SharePoint list using Rest api & Angular JS Get Random Get Random SharePoint items using PowerShell Get Random values from SharePoint list using PowerShell Get url of the last value using jquery Get-SPOSite : The managed path sites/yoursitename is not a managed path in this tenant. Getting Email From User Hide “Edit Links” in left navigation SharePoint 2013 hide button in sharepoint based on permissions Hide column in SharePoint List view hide fields using client side object model Hide list in Quick Launch in SharePoint using PowerShell How to add Custom Tiles to SharePoint site Page. How to add extension files in Search Navigation in SharePoint 2013 How to Add Multiple users Using SharePoint People Picker How to add SharePoint list view in Page using C# How to Approve MasterPage using PowerShell in SharePoint How to bind Multiple users Using SharePoint People Picker how to change indicators on kpi performance how to check if an email address already exists in the database in asp.net how to configure workflow manager platform for SharePoint 2013 how to create calculated value using powershell how to create certificate in SharePoint How to create flow. how to create gantt chart webpart in sharepoint how to create KPI indicators in Dashboard designer How to create moden communication site in SharePoint online How to create Multi selected filter in Dashboard How to create nintex workflow in sharepoint how to create rdlc reports in asp.net How to Display Data Grid View in ASP.net How to enable anonymous access in SharePoint How to find data in datagridview in c# How to get image names from the folder using C# how to get particular list content type id in SharePoint 2013 How to get QueryString value in SharePoint WebPart Programatically how to get the current item id for newly created item using REST API and JQuery how to hide list in sharepoint how to know who created list in sharepoint How to make a Site Collection Read-Only in SharePoint 2010 How to overlay Office 365 shared calendar on SharePoint Site how to pass jquery value to asp.net textbox control How to pass pagename as a browser's title bar in the page how to remove unused Application Pool in SharePoint how to remove zone using powershell script How to send mail to particular group of people using PowerShell how to update modified by and created by using powershell how to uplaod RAR files in blogger import csv data into sharepoint import data using powershell Import group to term store management using SharePoint 2013. InfoPath InfoPath Cascading Dropdown list Insert update delete in datagridview in C# winforms Integration from SharePoint to k2. K2 Smart Forms for SharePoint JavaScript Injection jquery JSON K2 blackpearl K2 Designer K2 Designer Workflow. K2 smartform cascading dropdown list k2 Workflow K2 workflow to send a mail with PDF left navigation Local Term Set in managed meta data Managed meta data navigation in SharePoint 2013 Managed metadata service in SharePoint 2013. Managed Navigation in SharePoint 2013. Managed Promoted Sites. meta data navigation Microsoft Flow New Features New-SPConfigurationDatabase The user does not exist or is not unique NintexWorkFlow Office 365 OneDrive OneNote overwrite existing document in sharepoint using javascript PDF Converter PDF Method in K2 Performance Point Service in SharePoint 2013 PerformancePoint Services Configurtion PerformancePoint Services Configurtion for SharePoint 2013 PerformancePoint Services in SharePoint Server 2013 Popularity trends in SharePoint 2013 Pages populate dropdown list dynamicallyusing jquery Power Power Automate Power Shell Power shell script to get SharePoint site size. PowerApps powershell read xml PowerShell Script PowerShell script to get list of users from SharePoint groups PowerShell Scripts in SharePoint 2013 Powershell to set the masterpage in SharePoint Promoted Links Promoted Sites psconfig.exe quick launch Rdlc reports Readonly Column in SharePoint Editview Realtime DotNet Interview Questions Recent Dotnet interview questions Recent SharePoint interview questions recover deleted OneNote page. OneNote content is missing Regional Settings in SharePoint 2013 Replace New Item text in SharePoint Rest API Schedule PowerShell Script Search in SharePoint 2013 Search navigation in SharePoint 2013 Secure store service SecureStore Services SecureStore Services configuration for SharePoint 2013 self-signed certificate on IIS Server Send email to members of SharePoint Group using PowerShell sharepint2010 sharepoin2010 SharePoint 2013 SharePoint 2010 SharePoint 2013 SharePoint 2013 Dashboard Designer SharePoint 2013 features SharePoint 2013 Interview Questions SharePoint 2013. SharePoint 2013.disable views from user to create SharePoint 2013.Power shell SharePoint 2013.SharePoint 2010 SharePoint 2016 SharePoint Administration SharePoint Alerts and Reminders SharePoint App Configuration SharePoint Apps SharePoint Bulk upload SharePoint Calculated field SharePoint Calendar View sharepoint interview questions SharePoint online interview questions SharePoint online training SharePoint Onprem vs Online SharePoint RealTime Online Training SharePoint2010 SharePoint2013 SharePoint2016 SharePointInterview SharePointOnline SharePointOnline;Restore deleted site;SharePoint 2013 show data in datagridview in C# Simple Insert update Delete Retrieve Clear in asp.net. Site Collection Operations in SharePoint 2013 Site Collection Read-Only in SharePoint 2013 site contents Sorting & Filtering SPO SPSite Site Collection Operation parameters in SharePoint 2013 Step by step to create rdlc report in .Net Store names in text files in C# Sub site Subsite Term store management. The server was unable to save the form at this time. please try again UI New look update created by using client side object model update field values in SharePoint using powershell update items in SharePoint list using client object model update modified by field using client side object model upload zip files in blog use IsNullOrEmpty in PowerShell VirtoSoftware VirtoSofware vitrosoftware WebParts what is Document Set in SharePoint 2010 What is Filter in SharePoint Dashboard what is Limited-access user permission lock down mode feature What is Modern Team site What is Target Audience in SharePoint Who Created Site Using PowerShell Workflow in SharePoint 2013 Workflow management platform in SharePoint 2013 Workflow manager for SharePoint 2013 XSL-Template.