$wfProxy = Get-SPWorkflowServiceApplicationProxy
$wfProxy.GetWorkflowServiceAddress((Get-SPSite -Limit 1 -WarningAction SilentlyContinue))
Všetky príspevky Bart Wakkee
Information Management Policy workflow error
$webApplication = Get-SPWebApplication http://
$webApplication.Properties[„PolicyUseAssocDataAsInitData“] = ‚true‘
$webApplication.Update()
Map URLs to host-named site collections
When you create a new hostname site collection, the default alternate access mappings will still exist but cannot be used. Use Windows PowerShell commands to manage URL mappings for host-named site collections.
Add a mapping to an existing site:
Set-SPSiteUrl (Get-SPSite ‚http://teams.contoso.com‘) -Url ‚http://teamsites.contoso.com‘ -Zone Intranet
Each URL mapping is applied to a single zone. Use one of the following zone names when you map URLs:
Default
Intranet
Internet
Custom
Extranet
If you do not specify the -Zone parameter and the URL mapping entry is new, the default zone is used.
Remove a mapping for a site:
Remove-SPSiteUrl ‚http://teamsites.contoso.com‘
Display all URL mappings for a site:
Get-SPSiteUrl -Identity (Get-SPSite ‚http://teams.contoso.com‘)
MS UlsViewer
Turn on detailed error messages in SharePoint
Step 1: Go to the SharePoint host server and navigate to the Virtual Directories folder. Normally this is available in this path “C:\Inetpub\wwwroot\wss\VirtualDirectories”
Step 2: Find the web.config and get the backup for the safety purpose
Step 3: Open the web.config file using Visual Studio OR Notepad
Step 4: Find the “CallStack” and change the value to “true” instead of “false”
Step 5: Find the “CustomErrors” and change the value to “Off” instead of “On”
Step 6: Save and close the web.config, refresh the page then you will get the detailed (wired) error message.
Backup & restore site
1. backup
stsadm -o backup -url
2. restore
stsadm -o restore -url
f.e.
stsadm – o backup -url http://mysite -filename c:\backup\mysite.bak
Manually install wsp packages
1. Add the solution
stsadm -o addsolution -filename {WSPFILENAME}
2. Deploy the solution
stsadm -o deploysolution -name {WSPFILENAME} -url {SITEURL}
3. Install the feature
stsadm -o installfeature -filename {FeatureFolder}\feature.xml
4. Activate the feature
stsadm -o activatefeature -id {FEATUREID} -url {SITEURL} -force
5. Deactive the feature
Stsadm.exe -o deactivatefeature -filename “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\ViewFormPagesLockDown\feature.xml” -ur http://servername/
6.Uninstall the feature
stsadm -o uninstallfeature -filename
7.Retract Solution
stsadm -o retractsolution