Create Folders in Sharepoint 2016 - sharepoint

I am new to sharepoint, I do most of C# but now i wanted to do something with Sharepoint.
Now I want to create a Folder which I can use for file conversion which has to have an origin as well as a destination (Origin files are Docx and Destination is PDF) I cannot seem to see where i create the folders from.
I am using Sharepoint 2016, Please How can I go about something like this

You can create Document Library to securely store files

You can create a new Document Library, then create a new folder using Ribbon Menu:

Related

How to preserve metadata of all the files and folders document files while downloading from sharepoint online/onPremise?

I need to download all the document files from sharepoint online/onprem to my computer programmatically.
Actual Result: I can able to download the files/folders from sharepoint online/onPrem, but the meta data is being update to the current date( for e.g.created and Modified dates were showing with the date and timestamp when this activity was done).
Expected Result - It should preserve the original meta data of all the files and folders when it created and modified.
if You switch to classic UI view of the library and using IE web browser You should be able to use 'Open in explorer' option in the ribbon in the library tab. That way You will get the files directly from SP with windows folder explorer and the modified and created dates should be preserved.
I Hope this will be of any help

How to create Sharepoint ONET file

I was trying to find any tool that I can use to create ONET file from the existing SharePoint site. Unfortunately wasn't able to find. Does anybody know anything about that? There should be something besides of manual way to do that... Any MS solutions, third party tools?
As John Saunders is alluding, the simplest approach would be to let SharePoint create it for you. It's not exactly sitting in the site though; you can't just open the site in SharePoint Designer & grab it - but there is a way to get it:
Save the site as a Site Template (with or without content, doesn't matter - but without will be faster/smaller)
Download the STP/WSP from the Site Template (SP2007)/Solutions (SP2010/13) Gallery to your desktop
Change the file extension to .CAB
Use an archive tool (i.e. 7-zip) to unpack the CAB file
Within the unpacked CAB you will see a folder whose name will be the original name of your Site Template + "WebTemplate"
Within that folder will be a sub-folder whose name is just the original name of your Site Template
Within that folder is the ONet.xml file

Copy Selected File in SharePoint To Local Drive

I am trying to copy a selected from from a SharePoint Document List to the servers local drive. But I can not for the life of me find a way to do this within SharePoint 2010 using C# or JavaScript (preferably C#) anywhere. Is this possible? If it is, can anyone provide some pointers that would get me started in the right direction? Thanks!
You can use custom actions to integrate the functionnality to ribbon (see this article).
Once you have added your custom action in the code you can:
If you know a file server relative URL you can get it from the web
SPFile file = YourWebObject.GetFile("FileServerRelativeUrl");
Ones you have your SPFile object you can save it, using .NET IO library, to a disk using
FileStream fileStreamToSave = YourWebObject.OpenBinaryStream();
Than just save it...
IMPORTANT! - You have to give writ access to the folder where you files will be stored.

Excel template in sharepoint - how to open as a new file from template?

I need to place an excel template in sharepoint and give people a link to it. I would like to prevent users from changing the template. I do not want users to save any file in the library. There are couple of solutions:
- revoke people sharepoint right to change the file,
- keep the file checked-out to me.
I also think about other scenario. Currently file is in .xlsm format (macro enabled workbook) but I am thinking about .xltm (macro enabled workbook template) as a way of forcing client excels to treat the file as template only. It looks like excel stubbornly wants to save the file (downloaded from sharepoint) as a template in source location and not as the new file. Only when I open the template directly from my local drive do I get what I need.
How do I force sharepoint/excel to use .xltm file stored in sharepoint as a template for a new file?
Isn't it a matter of incorrect http content disposition header?
If you reference the template file using a file path rather than the HTML path, it should open as a new document, rather than opening the original template e.g. use
\\SiteCollection\Site\DocumentLibrary\Template.xltx
instead of
http://SiteCollection/Site/DocumentLibrary/Template.xltx
In some cases making your Excel file a template for a content type or a library will do want you want. If you set some document library a template file this way all your new files in this library will be created from this file. Check out the Advanced Settings of a document library. There is a section Document Template that does the trick. If this section is disabled then your library has Content Types Management enabled and this means that you have to check the Advanced settings of a content type to set the template.
This solution makes all new files be created in the document library but not on a desktop but if you can live with that please be kind to mark as an answer.
If you want a link that can be sent out using mails you can use:
http://SiteCollection/Site/_layouts/15/download.aspx?SourceUrl=%2FSite%2FDocumentLibrary%2Template%2Exltx

How to create folders base on external datasource in SharePoint 2010?

My goal is to extend functionality of the current asset tracking system.
Basically I would like to pull list of Clients and related assets from external system into sharepoint 2010.
Then I would like to associate documents with each asset. My first intention is to create a list of folders where each folder would be named respectively.
Tell me, if I am going in the wrong direction.
You can open your document library in explorer view and easly copy your content from external sorce to document liabrary, as windows explorer.
You can reffer the below link for more details
http://msmvps.com/blogs/shane/archive/2006/01/12/80843.aspx

Resources