Hi,
With meeting work-spaces on the way out i need to add a meeting work-space that was created by a client to the site templates...It has Publishing enabled that requires a little workaround in SharePoint 2013.
Here is how to do it.
Get SharePoint Designer and connect to your site.
Go to site options:
Find SaveSiteAsTemplateEnabled and change to true and click ok.
Go to your site and add the following after the site
/_layouts/15/savetmpl.aspx
So it would be http://yoursite.domain.com/_layouts/15/savetmpl.aspx
And there you have it. Save it as a template.
Now you fill in the options in the Save as template and then you will be given a link to the gallery where it is saved.
You can click on your file and save it to your PC if you want to upload it on another site collection.
For this site collection it will be available as a template.
To upload on another site collection go the the site settings and open Solutions.
Here you can upload the file on your desktop.
Activate the solution and then it will be under your templates when you create a new site.
So, you can simply go to All Site Contents and then at the bottom there will be a "New Subsite"
Under the templates choose the Custom option and your solution should be there...
Search This Blog
Monday, 12 August 2013
Tuesday, 6 August 2013
Add Feature to Disable or Enable New Folder
Hi,
Client want to be able to Enable or Disable a New Folder for a complete site.
You need to create a future for this.
Steps:
Go to :
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES
Create a Folder, i used "DisableNewFolderButton"
Create a file called "Feature.xml" and add the following to it:
**************************************
<?xml version="1.0" encoding="utf-8" ?>
<Feature Id="33057CD9-6D14-45c9-83ED-5E1FE066AC92"
Title="Disable New Folder Button"
Description="Disable New Folder Button"
Version="1.0.0.0"
Scope="Web"
xmlns="http://schemas.microsoft.com/sharepoint/">
<ElementManifests>
<ElementManifest Location="Manifest.xml"/>
</ElementManifests>
</Feature>
**************************************
Create a "Manifest.xml" and add the following to it:
**************************************
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
Id="Remove.Document.NewFolderButton"
Location="CommandUI.Ribbon" RegistrationId="0x0101"
RegistrationType="ContentType">
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition
Location="Ribbon.Documents.New.NewFolder" />
</CommandUIDefinitions>
</CommandUIExtension>
</CustomAction>
</Elements>
**************************************
Now you need to install the feature:
stsadm -o Installfeature -name DisableNewFolderButton
Now you need to activate it
stsadm -o activatefeature -name DisableNewFolderButton -Url http://dev.Site.domain.com
Now run a IISReset and you will have this feature under your "Manage Site Features"
(Yes it is small but you get the idea)
So enable it and then your site's Libraries will automatically be set to not show "New Folder"
Note: At one point i got the following error:
Feature with Id '33057cd9-6d14-45c9-83ed-5e1fe066ac92' is not installed in this farm, and cannot be added to this scope.
Turned out i was trying to run the activate feature before i ran the install feature command as above.
Ok, now
Sources:
http://jassimkhan.blogspot.com/2010/10/sharepoint-2010-disable-new-folder.html
http://social.technet.microsoft.com/Forums/sharepoint/en-US/41141fd1-dd55-4791-8270-4343a1a64107/disable-new-folder-button-in-a-document-library
Client want to be able to Enable or Disable a New Folder for a complete site.
You need to create a future for this.
Steps:
Go to :
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES
Create a Folder, i used "DisableNewFolderButton"
Create a file called "Feature.xml" and add the following to it:
**************************************
<?xml version="1.0" encoding="utf-8" ?>
<Feature Id="33057CD9-6D14-45c9-83ED-5E1FE066AC92"
Title="Disable New Folder Button"
Description="Disable New Folder Button"
Version="1.0.0.0"
Scope="Web"
xmlns="http://schemas.microsoft.com/sharepoint/">
<ElementManifests>
<ElementManifest Location="Manifest.xml"/>
</ElementManifests>
</Feature>
**************************************
Create a "Manifest.xml" and add the following to it:
**************************************
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
Id="Remove.Document.NewFolderButton"
Location="CommandUI.Ribbon" RegistrationId="0x0101"
RegistrationType="ContentType">
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition
Location="Ribbon.Documents.New.NewFolder" />
</CommandUIDefinitions>
</CommandUIExtension>
</CustomAction>
</Elements>
**************************************
Now you need to install the feature:
stsadm -o Installfeature -name DisableNewFolderButton
Now you need to activate it
stsadm -o activatefeature -name DisableNewFolderButton -Url http://dev.Site.domain.com
Now run a IISReset and you will have this feature under your "Manage Site Features"
(Yes it is small but you get the idea)
So enable it and then your site's Libraries will automatically be set to not show "New Folder"
Note: At one point i got the following error:
Feature with Id '33057cd9-6d14-45c9-83ed-5e1fe066ac92' is not installed in this farm, and cannot be added to this scope.
Turned out i was trying to run the activate feature before i ran the install feature command as above.
Ok, now
Sources:
http://jassimkhan.blogspot.com/2010/10/sharepoint-2010-disable-new-folder.html
http://social.technet.microsoft.com/Forums/sharepoint/en-US/41141fd1-dd55-4791-8270-4343a1a64107/disable-new-folder-button-in-a-document-library
SP2010: Site Collections lock overnight
Hi,
We have an issue where site collections get set randomly to read-only.
To get it unlocked is simple:
Go to Central admin, Application Management, Configure Quotas and Locks
Find your Site Collection and set it to Not Locked
Ok, not how do you get a solution for this...
Firstly have you reached your Site limit or Points limit as in settings above?
In my case no...
The other issues that can cause this is Interrupted Backups and Broken Web Parts
Lets Start with Interrupted Backups.
There is a few ideas going threw my head on this one...
Firstly we have hourly log backups, does that maybe interfere with the daily backups sometimes.
Then out Backup Admins also backs up with Backup Exec. Does that interfere.
Then there is site collection backups via SP PowerShell Scripts, all successful.
Did some more research and found one guy that said they got this issue on Big db's even after backups was successful.
Their solution: Run this script after each backup.
stsadm -o setsitelock -url http://intranet -lock none
We have an issue where site collections get set randomly to read-only.
To get it unlocked is simple:
Go to Central admin, Application Management, Configure Quotas and Locks
Find your Site Collection and set it to Not Locked
Ok, not how do you get a solution for this...
Firstly have you reached your Site limit or Points limit as in settings above?
In my case no...
The other issues that can cause this is Interrupted Backups and Broken Web Parts
Lets Start with Interrupted Backups.
There is a few ideas going threw my head on this one...
Firstly we have hourly log backups, does that maybe interfere with the daily backups sometimes.
Then out Backup Admins also backs up with Backup Exec. Does that interfere.
Then there is site collection backups via SP PowerShell Scripts, all successful.
Did some more research and found one guy that said they got this issue on Big db's even after backups was successful.
Their solution: Run this script after each backup.
stsadm -o setsitelock -url http://intranet -lock none
Wednesday, 31 July 2013
SP2013: Site Locked after interrupting Backup
Hi,
i Had to interrupt a Backup and that got my site stuck in Maintenance mode.
You have a red bar at the top of your site warning you and your site is grayed out on Read Only.
Here is how to fix it.
Open SharePoint PowerShell
i Had to interrupt a Backup and that got my site stuck in Maintenance mode.
You have a red bar at the top of your site warning you and your site is grayed out on Read Only.
Here is how to fix it.
Open SharePoint PowerShell
Open SharePoint PowerShell
$Admin = new-object Microsoft.SharePoint.Administration.SPSiteAdministration('http://YourSite.Domain.com')
(Hit Enter)
$Admin.ClearMaintenanceMode() (Hit Enter)
$site.MaintenanceMode (Hit Enter)
$Admin.ClearMaintenanceMode() (Hit Enter)
$site.MaintenanceMode (Hit Enter)
After this I went back and it was unlocked
SP2013: Enable SharePoint 2013 Tasks List Email Notification
Hi,
You need to run a script to get this enabled.
Make sure your outgoing mail is working.
Run this:
Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue
$web = Get-SPWeb "https://sitename.domain.com/sites/Sitename/"
$list = $web.Lists.TryGetList("TaskName")
$list.EnableAssignToEmail = $true
$list.Update()
You need to run a script to get this enabled.
Make sure your outgoing mail is working.
Run this:
Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue
$web = Get-SPWeb "https://sitename.domain.com/sites/Sitename/"
$list = $web.Lists.TryGetList("TaskName")
$list.EnableAssignToEmail = $true
$list.Update()
Thursday, 25 July 2013
SP2013: Cant open in explorer view: We’re having a problem opening this location in File Explorer, Add this web site to your Trusted sites list and try again
Got this error on my desktop:
We’re having a problem opening this location in File Explorer, Add this web site to your Trusted sites list and try again
i Restarted the Webclient service on my notebook and then it worked.
We’re having a problem opening this location in File Explorer, Add this web site to your Trusted sites list and try again
i Restarted the Webclient service on my notebook and then it worked.
Wednesday, 24 July 2013
SP2010: SharePoint Server 2010 Service Pack 2 has been released
SharePoint Server 2010 Service Pack 2 has been released
http://blogs.technet.com/b/stefan_gossner/archive/2013/07/23/sharepoint-server-2010-service-pack-2-has-been-released.aspx
http://blogs.technet.com/b/stefan_gossner/archive/2013/07/23/sharepoint-server-2010-service-pack-2-has-been-released.aspx
Subscribe to:
Posts (Atom)