Pages

Wednesday, February 18, 2015

Usefull sharepoint admin url

Sandboxed Solution Gallery:
/_catalogs/solutions/Forms/AllItems.aspx
 
Workflow history hidden list:
/lists/Workflow History
 
Filter toolbar for Lists and libraries (Added by Asimaili):
?Filter=1

Site usage page (Added by @Dnyag):
/_layouts/usage.aspx
 
Site content and structure  page (Added by @Dnyag):
/_layouts/sitemanger.aspx
 
Site settings page (Added by Aowworld):
/_layouts/settings.aspx
 
View all site content page (Site content) (Added by Aowworld):
/_layouts/viewlsts.aspx
 
Manage site collection features - CASE SENSITIVE -  (Added by Vardhaman):
/_layouts/ManageFeatures.aspx?Scope=Site
 
Manage site features (Added by Vardhaman):
/_layouts/ManageFeatures.aspx
 
 Get the version of the SharePoint server (Patch level) (Added by: John Liu):
 /_vti_pvt/Service.cnf
 
Web Part Maintenance Page (Added by: Ricky):
?Contents=1
 
Show Page in Dialog View (Added by:Ricky):
?isdlg=1
 
Application page for registering SharePoint apps
/_layouts/15/appregnew.aspx
 
Save Site as a template
/_layouts/savetmpl.aspx
 
Sign in as a different user
/_layouts/closeConnection.aspx?loginasanotheruser=true
 
Enable SharePoint designer
/_layouts/SharePointDesignerSettings.aspx
 
Welcome Page (Default page settings)
/_layouts/AreaWelcomePage.aspx
 
Change Site Master Page
/_layouts/ChangeSiteMasterPage.aspx
 
Page Layouts and Site Templates
/_Layouts/AreaTemplateSettings.aspx
 
Master Pages library
/_catalogs/masterpage/Forms/AllItems.aspx
 
User Information List
_catalogs/users/simple.aspx
 
Quick Deploy List
Quick%20Deploy%20Items/AllItems.aspx
 
Open Page in Edit Mode
?ToolPaneView=2
 
Taxonomy Hidden List (MMS)
Lists/TaxonomyHiddenList/AllItems.aspx
 
User Information List:
_catalogs/users/simple.aspx
 
Force displaying the user profile in the site
collection:
/_layouts/userdisp.aspx?id={UserID}&Force=True
 
 
Site Features:
_layouts/ManageFeatures.aspx
SiteCollection Features:
_layouts/ManageFeatures.aspx?Scope=Site

Update DisplayName in sharepoint

Normally, If you configure user profile correctly it should update user display name. I have situation where user is not in user profile ,but I need to update display name. here how I do it using power shell

$user = Get-SPUser "I|0#.claim:username" -web http://servername
$user - to display the name
$user.DisplayName = "New Display Name"
$user.Update()
$user - to display the updated name


Wednesday, October 8, 2014

SharePoint search and adobe "There was an error opening this document. The filename, directory name, or volume label syntax is incorrect."

I am not sure what the root cause ,but I got error when click on pdf document "There was an error opening this document. The filename, directory name, or volume label syntax is incorrect." when I install adobe reader current XI. What it look like is the Adobe try to open pdf on client mode not browser mode that causing the issue. Here is my work around

1) Create a copy of Item_PDF.html template say Item_PDF_Custom.html.
2) modifiy from ctx.CurrentItem.csr_OpenControl = "PdfFile.OpenDocuments";
 to

  ctx.CurrentItem.csr_OpenApp = "word";
3) Go to site  -> Search ->result type
4) create a copy of PDF and point to new item create in step 1 and give it a new name.

 

Wednesday, June 25, 2014

SharePoint 2013 Powershell remoting

On the Server:

Enable-PSRemoting -Force
Enable-WSManCredSSP -Role Server -Force

On the Client:

Enable-WSManCredSSP -Role Client -DelegateComputer  myservername -Force 
Set-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentials -Name WSMan -Value WSMAN/*
Set-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\Lsa\Credssp\PolicyDefaults\AllowFreshCredentialsDomain -Name WSMan -Value WSMAN/*

or manual set fresh creditnal

Computer Configuration > Administrative Templates > System > Credentials Delegation > Allow Delegating Fresh Credentials.


To Start a session:
Enter-PSSession server05 -Authentication CredSSP -Credential DOMAIN\username


if you still run into error complain about NTML try,
Computer Configuration\Administrative Templates\System\Credentials Delegation and set "Allow Delegating Fresh Credential with NTLM on Server Authentication"

If you run into error about WinRM, try winrm quickconfig and make sure all network card is not set to public. I have couple vm, virtual network. I have to disable it before I can run winrm

Wednesday, April 30, 2014

The Managed Metadata Service "Managed Metadata Service" is inaccessible

My manage metadata service is suddenly stop working after i reboot the server. I check

  • Service is running in central admin
  • Account running under app pool is still work
  • App pool  running this service is not stop
I try to do iisreset and even restart machine one more time to see if it does any good but no luck. I decided to recreate the manage metadata service. Here are step to create
  1. Delete broken metadata service but DO NOT DELETE DATABASE (ex: meta1)
  2. create a new metadata service using same app pool and new database name (ex: meta2)
  3. Go back and change the name of the database to broken metadata service database  (meta1)
  4. delete the new metadata service Database just create. (meta2)
That should back to normal.

Tuesday, February 18, 2014

Content Query Web Part (CQWP) vs Content Search Web Part (CSWP) in SharePoint 2013 ?

1) Content Query Web Part

  • Use xsl to customize look  and feel
  • Information are display instant unless caching enable
  • Can display both minor and major version
  • Can use Target Audience
  • Can only query content same site collection.


2) Content Search Web Part

  • Use HTML and JAVASCRIPT to customize look and feel so very flexible
  • Base on search crawl so data/information published is not instance
  • Only display major version
  • Can't use Target Audience
  • Can query cross site collection

What i miss the most is Target Audience is missing in CSWP. 



Wednesday, January 22, 2014

SharePoint 2013 change look single page. (CSS)

There a lot of time that I have to do some css modification to specific home page like remove spacing between the banner and the content. I script editor  to modified style and/or add additional javascript.

example:

1) Insert script editor webpart
2) insert following to override some css.
<style>
#suiteBar {DISPLAY: none}
.ms-core-navigation { DISPLAY: none }
#contentBox { margin-left: 0px }
.ms-mpSearchBox {DISPLAY: none}
.ms-siteactions-normal {DISPLAY: none}
</style>