Article archive
Search Configuration
23/03/2012 18:05
#Post Deployment Settings
#0. INPUT PARAMETERS
#1. Site Collection Search Setting: Do not use custom scopes
#2. Creating dummy content, one FAQ and one Category Card (to create crawled properties)
#3. Search Index Reset and start full crawl
#4. Creating 'category cards' and 'faq' search...
Upload publishing page, checkin, approve
22/03/2012 12:58
#Dummy approved Content for Search, one category card and one faq.
#input parameters
$srcPath="C:\users\gbpinstall\desktop"
$siteUrl="https://td_sp_ui/gbp/portal"
$ccFileName="aaa.aspx"
$faqFileName="question-doc2.aspx"
function UploadFile
{
...
Start Full Crawl
21/03/2012 15:32
#Start Full Crawl
#input parameter
$searchAppName="Enterprise Search Service Application"
$searchapp = Get-SPEnterpriseSearchServiceApplication $searchAppName
$CrawlContent = Get-SPEnterpriseSearchServiceApplication $searchapp| Get-SPEnterpriseSearchCrawlContentSource
if (...
Search Setting 'Do not use custom scopes'
21/03/2012 15:01
#input parameter
if(($siteUrl -eq $null) -or ($siteUrl -eq ""))
{
$siteUrl="https://td_sp_ui/gbp/portal"
}
#code
# check to ensure Microsoft.SharePoint.PowerShell is loaded
$snapin=Get-PSSnapin | Where-Object...
Remove and Create Managed Property, Index reset
21/03/2012 14:59
#input parameter
$searchAppName="Enterprise Search Service Application"
#Search Index Reset
#Get the search service application
#You will need to specify the -Identity switch and a name if you have more than one
$searchapp = Get-SPEnterpriseSearchServiceApplication...
Cannot convert 'System.Object[]' to the type 'Microsoft.Office.Server.Search.Cmdlet.SearchServiceApplicationPipeBind'
21/03/2012 14:10
Cannot convert 'System.Object[]' to the type 'Microsoft.Office.Server.Search.Cmdlet.SearchServiceApplicationPipeBind'
Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication $searchapp
I had stored object collection instead of one object to the variable $searchapp in...
Update taxonomy
21/03/2012 09:44
After term name change in termstore, taxonomy field value is changed in edit mode, but not in view mode. Original value is still displayed. It's because of value in TaxonomyHiddenList
#Update taxonomy hidden list - update termstore values after term rename
#input...
Top Navigation translation
20/03/2012 10:04
#Translations of four tabs: buying "how to", My Requisitions, Helpdesk and Feedback to French (1036) and Dutch(1043)
#site collection url
$siteUrl=https://td_sp_ui/sites/test
#Top Navigation Bar Translations
$web=get-spweb $siteUrl
#get TopNavigationBar...
Export Sharepoint list to XML file
20/03/2012 10:00
We had problems to export list items with localized names (list name, column names). We should use column names from schema.xml.
.
#input parameter
$siteUrl="https://td_sp_ui/portal"
$exportFile= "C:\InstallFolder\glo.xml"
add-pssnapin microsoft.sharepoint.powershell
# create a...
Remove node from XML file
20/03/2012 09:58
#write to owstimer.exe.config - removing appSettings node
$FilePath="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\OWSTIMER.EXE.CONFIG"
$xml=[xml](get-content...
Items: 331 - 340 of 384