Can we create our own virtual folder in 15 hive. so when we create any new web application. that folder need to be accessible across sites.
Like we have _layouts and _admin folders
These virtual folders are called Mapped Folders. They can be created and populated via SharePoint solutions created in Visual Studio.
You can add mapped folders to a project by using commands on the menu bar or the shortcut menu for the project. You can use the Add SharePoint “Images” Mapped Folder and Add SharePoint “Layouts” folder commands to add those mapped folders that are used most often. You can map any of the other available SharePoint folders to your project by using the Add SharePoint Mapped Folder command on the shortcut menu and then specifying the folders in the Add SharePoint Mapped Folder dialog box.
-How to: Add and Remove Mapped Folders
That Microsoft how-to article in the above link explains the process in greater detail, but here are the most relevant instructions:
In Solution Explorer, choose the project node, and then, on the menu bar, choose Project, Add SharePoint Mapped Folder to display the Add SharePoint Mapped Folder dialog box.
In the tree view of folders that are available for mapping, choose the Resources folder, and then choose the OK button.
A folder that's named Resources appears in your project. This folder can store items such as string resource files. Sub-folders can be useful for organizing the contents of a mapped folder, but they're not automatically created when you add a mapped folder by using the Add SharePoint Mapped Folder command. To add a sub-folder, choose the Resources folder, and then, on the menu bar, choose Project, New Folder.
Related
I am sorry if this is not the right place to put this question.
I have some files saved inside a SharePoint folder. Now I need to move them to a SharePoint site from that folder.
When I select the folder and select Move To option, I don't see the site in the list of available locations.
Please note, I am not supposed to take the download-upload approach. I have instructed to use the Move To option only.
By the way, I am using the Modern SharePoint UI.
What is the right way of doing this?
In order to move/copy files in sahrepoint to sharepoint you need to follow to destination else the site will not show to you while you move files.
Follow sharepoint site
Once you follow site, then the destination site will show when you select files to move.
Note: you should have enough permissions to move /Copy files in destination location.
I have Sharepoint subsite, and looking to enable copy and move options for users to move files from one location to another within that subsite.
You may try Site Content and Structure currently.
/_layouts/15/sitemanager.aspx
Test demo in my local.
one thread for your reference
we have created a new site and we want to move our team's wiki to the new site.
is there a nice and easy way to do it? we've tried the tree view with drag and drop but it won't work.
Thank you.
Ok so after a number of dead ends, I found a quick and easy solution:
Navigate to the physical folder location for your Sharepoint docs.
[Do this by selecting documents in the menu list, select the library tab and then open with explorer]
Once there navigate to the folder containing your wiki site/s.
They will have a .aspx extension usually
You can then move them to the folder you like.
Note: The site needs to be checked in or the move process will moan
One of the options could be to save a Wiki site as a site template. Then deploy it in a site collection and to create new sites from it. But unfortunately since Wiki site is Publishing based site, it is not supported to Save Site as Template.
But there is another option - moving sites via Site Content and Structure:
You can move individual list items or entire subsites to another
subsite within the site collection. A subsite can be moved to be
directly under the top level in the site collection hierarchy or under
another subsite in the site collection hierarchy. When you move a
subsite, all of the content in the subsite is moved
Steps:
Go to Site Settings, then Content and structure (under Site
Administration)
Select site you would like to move and Move action in the context menu
as shown below on picture
In the Move dialog select a destination (parent site) and
then click OK as shown below on picture
That's it.
you can try opening both sites/libraries in explorer view, side by side, and copy paste them from one to the other
you can also try to save a template out of the wiki including content and then import it
I am new to sharepoint and have a scenario
1) I have a aspx page which displays some data from a xml.
2) The data is populated in a table in the aspx page using a code behind .cs file.
3) I use some dll's which I have made to access the data.
Note:- This things are done on my local pc which does not have a sharepoint server installed.
Now my question is
1) I want a way using which I can use this page as a webpart in a sharepoint site.
2) Can you please guide me a by which the compiled dll of the web application can be used as webpart.
Note:- I have access to put files on the server but cannot develop anything on that
You can use the User Control in SharePoint and add it to your site page..
OR
Use Visual Studio and create an empty SharePoint project (deploy as farm solution).
Then, right click project and add mapped layouts folder.
Rename this folder to whatever name you want to appear (this folder will get created on the servers layout folder in the hive) after you deploy the solution.
Add your aspx page and cs into this folder
Then, double click on package.package (its inside package, above layouts folder, under project)--> Advanced --> Add (existing assembly) and add your dll references here.(this will add the dlls under your sites sharepoint web.config.
After deploy, you can access page using: http://sharepointsite/_layouts/foldername/youraspxfilename.aspx
Let us know about the progress.
In IIS7, If I want to create an application, I just right-click on a folder to do it:
If later on I want to convert it back to a regular folder (not an application), how can I do it?
Right click on application folder and select remove. The application will be converted as regular folder.
I'm not aware of an automated approach, but you should be able to get most of the way there by moving all of the code for your site (except code behind) into an App_Code folder at the top level, and by removing the DLL for your site from the bin folder.
You may also need a few other tweaks.
Just right-click on the app and then select remove.
I have made the Following changes.
In IIS Right-click the same Virtual application and select "remove"
option. This will convert the application to the folder only.