I want to copy (or move) a list (or a library) from one website to another:
From: https ://sp.mydomain.de/Website1
To: https ://sp.mydomain.de/Website2
When calling Site Content and Structure (https: //sp.mydomain.de/_layouts/sitemanager.aspx) and navigatin to Website1 I can select the list which I want to move.
In the menu action I only can select "delete" - not "copy" or "move" (grayed out).
I am doing this as the site admin (and tried site collection manager etc.)
http://imageshack.com/a/img823/258/oqlj.png
Why are these menu elements not available?
Best regards,
Stefan
This forumpost on Social Technet is about the same problem you are facing and in the answers are several options you can try out. One answer that got my attention stated following:
The move action is available only for individual items you can't perform move action for document library or for folder instead of move you can perform that using extension from gary lapointe http://stsadm.blogspot.com/2007/08/stsadm-commands_09.html gl-exportlist command.
This is the last answer on the page. I hope this is of any help!
Related
Have looked on here plenty but this is the first time I've asked a question, so please bear with me.
Within my SharePoint site collection, I have a list of links to other systems within the business - this list is hidden to all users apart from Admins. There is a department column, indicating the department each link belongs to. There are two filter columns in this list - one is "active", the other is "show in System Links".
On each departmental page, there is a Content by Query Web Part (CQWP) showing the list, filtering to show:
- Specific departmental links
- Only where active
Separately to this, there is another CQWP on the homepage of the site collection showing all those links that have "show in System Links" ticked.
What this allows me to do is if for some reason a system is offline for maintenance, I can change the "active" value in the list and all links will vanish (preventing users going to the external system). It also allows me to add prominence to a link on the homepage if it's of particular focus that day / week / month (i.e. link to HR system to book leave if there's a leave deadline coming up).
What I want to do is move the homepage System Links CQWP to under the Quick Links on the left hand side, so they appear on every page. I did this with no problems in 2010, by literally dragging and dropping in the visual view for the master page, but seem to be struggling in 2013.
I've tried following the advice here:
http://ramisharepointblog.blogspot.co.uk/2013/01/how-to-add-custom-webpart-within.html
When I add these to the .html master file, I get an error message saying that I need to change the file extension of my HTML file to something else.
I get this message whether I copy and paste the code, or whether I use the button "insert web part". (Obviously doing this in SPD 2013)
When I do this, it seems to lose the reference to the .master file (or explode!)
As an alternative, I tried adding the code into the .master file, but of course I can't do this, as it won't let me move / edit / copy a .master file.
Any help in this would be MUCH appreciated, as I seem to be banging my head against a wall here.
On SharePoint 2013 you can not add the Web Parts to the master page the same way of 2010.
Please use the Design Manager -> Snippet Gallery.
In short:
You must wrap the Register tag with: <!--SPM: register tag -->
Like this:
<!--SPM:<%#Register Tagprefix="Publishing" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
You should wrap the opening tag of your Web Part with: <!--MS: tag -->
And the closing tag with: <!--ME: tag -->
The Web Part would look like this:
<!--MS:<asp:SiteMapDataSource ShowStartingNode="True" SiteMapProvider="SPNavigationProvider" ID="topSiteMap" runat="server" StartingNodeUrl="sid:1002">-->
…
<!--ME:</asp:SiteMapDataSource>-->
(Snippet Gallery will automatically create the tags in the right way and you can copy it to your master page.)
Possibly related to my question, have a look at the detailed answer given here: How to embed SharePoint 2013 webparts directly in aspx layout page as default webparts for that layout
I know this is an old question, but users get encouraged to search, and this is what came up, so I thought I'd help out fellow other users find an answer :P
The question is in the subject, but understand when I sign in I always want to see these features.
There is also another huge security issue with anonymous visitors in sharepoint , the settings wheel at the top right lets you go to site contents, and lets you see all items with peoples names when they checked in and etc, very odd that all options are hidden except that one.
Thank you for your time in advance.
Michael
You can use SPSecurityTrimmedControl tag to hide desired options from the ribbon to only specific permission levels. Simply surround that part of the ribbon with this tag which you want to hide.
You can view below given link for more details about SPSecurityTrimmedControl and its usage.
http://www.infowisesolutions.com/blog/Comments.aspx?ArticleId=28
Cheers.
We are creating a site template that among other things has a Document library with MANY sub folders and a Link list that contains shortcut links to the depths of the DocLib. While making the Site template we are checking the box to 'Include Content.' We are using Sharepoint 2010. No MOSS.
Our problem: Once we make a site from the template, the shortcut links don't work. While the first part of the link URL is rewritten, there is a portion of the original site name still buried in the URL.
My Question: Is there a way to create a relative links to content inside of the site, so that the the site name isn't included? or is there a variable I can use to represent th current site? or do I have to programmatically 'fix-up' the links after it's created? or some other better option?
There is a way, but you will have to do your work in master pages. The following tag is rendered in a sharepoint 2010 master page as ahref, and the relativity is passed on to sites created as templates.
<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/SitePages/dashboard.aspx" id="v3idNavLinkTrackerDash" Text="Now is the time for all good men." />
I think you may have come across one of the many limitations of using templates. I don't know of any way to change this behavior when using templates.
However, you mentioned programming. If you are deploying customizations, you might look into site definitions or feature stapling with code to populate the list.
On the no code side, you might have some options if there is some flexibiility in execution of the site. If you really need the sub folders and the template method, you might look at replacing the link list with a page. If the page content is a list of links, they will be relative. If your structure is flexible, another option is to remove the sub folders. You could add a field for category that you can group by instead. Or, you could create seperate document libraries instead of using folders.
Does anyone know how I can move a list from one sub site to another, but retaining all content, including version history?
Saving as a template doesn't work, I'm not able to use sitemanager.aspx, as my company has a policy to have Publishing Infrastructure de-activated.
Any ideas?
Hi Please do this which is the most effective way to get your requirements done.
geekswithblogs.net/AnneBougie/archive/2009/01/23/copy-a-sharepoint-list.aspx
geekswithblogs.net/AnneBougie/archive/2009/03/15/part-2-copy-a-sharepoint-list-programmatically.aspx
Just create a web part that can sit on the site with two controls where a user can type in a list name and press a button and inside the web part code you can copy and paste the list with exactly same contents to a required location.
Hope this helps you..
A simple scenario:
I want to delete a pagelayout that is out-dated from our MOSS publishing site.
An ex-colleague has created a new page using this page layout and he has not checked it in.
I can't delete the pagelayout because his file is referencing it.
I can't 'see' the file because it hasn't been checked in, to remove it.
I've tried SPFolder.Items, SPList.GetItemById(), couple of other object model methods. But SharePoint simply won't show that item to me.
I've even poked around SPList.GetItem(new SPQuery() { IncludeAllUserPermissions = true; })
Anyone know how to get rid of this item? :-)
Abs's answer lead us gave us the hint - hey how does the ManageCheckedOutFiles page see the files not yet checked-in by other users?
go to ~layouts/ManageCheckedOutFiles.aspx
inherits from Microsoft.SharePoint.ApplicationPages.ManageCheckedOutFilesPage
reflector 12\CONFIG\BIN\Microsoft.SharePoint.ApplicationPages.dll
in protected void PrepareContent() we read the key lines:
IList checkedOutFiles = this.CurrentList.CheckedOutFiles;
so back in our code
SPDocumentLibrary doclib = PublishingWeb.PagesList as SPDocumentLibrary;
foreach(var checkedoutfile in doclib.CheckedOutFiles)
{
checkedoutfile.TakeOverCheckOut();
var file = doclib.GetItemById(checkedoutfile.ListItemId);
file.CheckIn();
}
Thanks everyone :-)
If you are a site collection administrator, you can also force a check in of the other person's checked out file. The trick is that you have to know what library it's in. If you know that, you can navigate to that library, then do the following things:
Click on Settings -> Document Library Settings (or List Settings, I suppose)
Click on Manage checked out files in the Permissions and Management column
You should now see a list of checked out files, which you can select, then click on Take Ownership of Selection in the toolbar.
Once you've done that, you can check the file in yourself.
try SharePoint Sushi from codeplex.
Good luck.
First you should have administrator permissions over the site collection. Then:
Click on Site Actions, Manage Content and Structure.
Browse to the page layout you want to delete in the Master Page Gallery.
Place a tick next to the page layout you want to delete.
Click Show Related Resources.
This should let you see every page connected to that page layout.
Quick & easy non-SharePoint solution:
If it's an ex-coworker is there any possibility of asking for temporary use of his account with a new password so that you can login to the portal and check it back in or discard the check-in?