Sharepoint online Searching file can't open from results 404 NOT FOUND - sharepoint

do you have any ideas?
I just create our new Sharepoint (online) intranet with new document library. Uploaded new files and reindexed. And now when I try to search something I have results, but can't open it (error message 404 NOT FOUND), but only on some files (specially .pdf formats).
Did someone have same issues? Or do you know best practises for build Document Library and setup searching in Sharepoint?
And do you know how long takes full reindex? (I just uploaded 3pcs of .pdfs)
I tried:
- reindex site,
- rename files,
- remove and upload files,

Related

How do I programmatically add pages to a wiki library in Sharepoint?

My first question on stackoverflow, I hope I am following the rules.
Anyhow, as the title suggests, I need to figure out how to programmatically add pages to a wiki library. I set up upwards of 30,000 rows in Excel, VBA'd them into txt files containing html that portray articles, and now they are sitting in a folder with nowhere to go. They need to go into a wiki library on SharePoint, where they will be referenced by users in their articles. Two parts:
On single-file upload, cannot upload aspx files. I upload as txt or html and it goes fine. Then I try to change them to aspx. Illegal.
Cannot upload more than one file at a time. Once I figure out #1, this will be an issue.
I assumed there must be a way to mimic whatever the "wikification" process is for files programmatically. Microsoft's how-to on file uploading requires a Sharepoint Project, which requires VS Professional and running SharePoint locally. Neither of these is practical.
Thank you and godspeed.
You could write a small Powershell Script or Commandline application for example in C# or VB. Copy your files to the server and execute your script/app on the SharePoint server. Connect to your SharePoint like the following:
using Microsoft.SharePoint;
...
SPSite site = new SPSite("mysiteurl");
SPWeb web = site.OpenWeb();
// your code goes here
web.dispose();
site.dispose();
...
Then get the directory programmatically where your files reside.
If this was successful, loop through all files in your folder and upload them programmatically to the WIKI Library.
Sound complex, but if you search for the single topics, you will find a lot of solutions/code out there.
You could also write a Console Application which can connect remotely to the SharePoint Server without the need to be executed on the SharePoint itself. In this case you would need to use the Client Object Model (CSOM).
The Office 365 Patterns and Practices site is a great reference. It has a comprehensive sample for creating wiki pages using CSOM here

Sharepoint 2013 Search from keyword file attribute

What I want to do
I have some files (jpg, doc) with keywords in theirs file attributes (visibles in the Windows Explorer, in the files properties). I want to be able to find them in a Sharepoint Search website from these keywords. Unfortunately, I don't find a way to set the crawl engine to index this file attribute.
What I've done for now
In the Sharepoint Search Administration I've created a source content from a files share. After a full crawl I can now find my files from their filename, title, author... through a Sharepoint Search website.
Any idea ?
thank you
I found this interesting post : http://social.technet.microsoft.com/Forums/sharepoint/en-US/feee374d-461e-4340-918a-c360116e3624/including-dockeywords-metadata-for-searching
This is exactly what I want to do but nobody seems to be able to make it work. Microsoft bug ?

Creating a link to a downloadable file in Orchard CMS

I've spent several hours trying to figure this out; hopefully, it's an easy solution and the difficulty is simply because I'm brand new to Orchard CMS and no where near an expert web developer...
I've created a Products Download page and need to insert hyperlinks to files that exist on the file system.
the path to the file (on disk) is : c:\Orchard CMS\Downloads\ProductOne\File1.zip
in the page editor, I insert a hyperlink reference with the following URL: /Downloads/ProductOne/File1.zip
When I hover over the hyperlink, it looks correct: http://localhost:12345/Downloads/ProductOne/File1.zip
However, when I click the link, I receive the following exception:
HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Any help would be extremely appreciated!
If you don't want to play with source code and web.config files you should use Orchard Media feature. It allows you to upload files into Orchard filesystem and manage those. Links to files uploaded this way look like http://www.myorchardsite.com/Media/[Media folder path]/YourFile.zip
If you are not an experienced developer, I'd strongly advise you to take this approach. The only drawback is that you'd have to reupload those files into Orchard. But this is not as bad as it looks - you can zip them and upload as a single file (Orchard will take care of unpacking the archive if you check the checkbox below upload field).
You need a web.config file that allows the files to be served. You can use one from one of the content directories that can be found in modules or themes.

Is it possible to upload .stp files (Autodesk Inventor 2010 files) to a SharePoint 2010 list?

We would like to be able to upload files with a .std extension to a list on our SharePoint Foundation site, but get an error message when we try: "Unable to read cabinet info from". I assume it is because SharePoint templates use the same extension.
My question is thus, is there a way to enable upload files with .stp extension without breaking SharePoint, possibly on a list-by-list basis?
Best regards, Egil.
The problem is that the STP extension is the web/list template extension of SharePoint, which is basically a CAB (cabinet) file (a kind of compressed file format). SharePoint will attempt to open the cabinet to extract data from it, such as template title and language. As your STP files are in the wrong format, this fails. I would suggest changing the extension prior to uploading (e.g. zip the files).

How to download a whole Sharepoint site?

I hope someone has met this need before. I got quite a bunch of documents in a Sharepoint site. And I want to download all the docs as a whole instead of one by one. I have tried the Teleport Pro but it just said HTTP 401 Unauthorized error. Is there any way to download the whole Sharepoint document-sharing site?
Many thanks.
If you have WebDav enabled, you can just open your sharepoint site as network folder and copy paste the documents into your local hard drive.
http://support.microsoft.com/kb/841215
http://hosting.intermedia.net/support/kb/default.asp?id=1603
http://insomniacgeek.com/blog/sharepoint-open-with-windows-explorer-on-windows-server-2008/
You can use DMS-Shuttle for SharePoint for this purpose. With one drag & drop (or CTRL+C, CTRL+V ) you can download a document library or the whole site with all subsites and document libraries. You can define different filters (by modified date, size or file extension). There is a Trial Version here.

Resources