Open documents with office 365 in SharePoint Online - search

I have a display template called "Item four lines" based on the out of the box "Item two lines" template which I modified to shown 4 lines rather than 2.
My documents are coming up correctly to match my search query, however when I click on the documents returned by the search results instead of these opening in the browser (Word Online, Excel Online, PowerPoint Online, etc) I get propmpted to save the documents locally. The ideal behaviour here will need to be the same as clicking on a document from a document library where the documents are opened automatically by Word Online, Excel Online, PowerPoint Online, etc in the broweser.
Is there anything that I need to add or do to the display template to achieve this?
Any help will be greatly appreactiated

Related

How to print multiple list items in SharePoint Online

I'm looking for a way I can print multiple sharepoint list items from SharePoint Online.
At the moment im using the snipping tool and pasting the screenshot into word, and then printing the document.
I was just wondering if theres a better method? Is there a way to develop a fucntioning print button?
You could export lists to Excel then print the list items.
To export to Excel from SharePoint, you could refer to this article:
https://support.office.com/en-us/article/export-to-excel-from-sharepoint-bfb2ea48-6118-4fa9-abb6-cced9424e5d9

Sharepoint 2013 Search results for Powerpoint files

I have Sharepoint 2013 search site with many documents uploaded in Document Library, I created a custom page with Search results webpart,when i tried to find a powerpoint file named x in search results webpart, it shows result title as "Powerpoint Presentaion" but the actual title is "Some title",Please provide suggestion to bring the powerpoint document title to search results title
In SharePoint Server 2013 cumulative update published on October 26th 2013 Microsoft changed method of extracting Title and Author managed properties from documents. Details are here:
http://blogs.msdn.com/b/spses/archive/2013/10/31/show-more-relevant-titles-in-search-results-in-sharepoint-2013-plus-some-other-improvements.aspx
Sometimes, people save or upload Word documents or PowerPoint presentations with titles like “Document1.docx” or “Presentation1.pptx”. Before the MetadataExtractor was introduced this title would typically show up as the title in the search results. That was not so good.
To present a better title for such files in the search results, we use the MetadataExtractor in the content processing pipeline. It searches for a title in the body of Word and PowerPoint files. Currently, if the MetadataExtractor finds a good candidate for a title in the body, it writes the extracted title to the new crawled property MetadataExtractorTitle that is mapped to the managed property Title by default.
Because the title from the crawled property MetadataExtractorTitle has the first priority in the mapping to the managed property Title, there’s a good chance that the titles of Word and PowerPoint files shown in search results are more relevant.
To change it you need to move crawled property "MetadataExtractorTitle" lower in "Title" managed property or even remove it.
Make sure to perform an Index Reset after resetting the order of mappings to crawled properties for the Title Managed Property (i.e., moving MetadataExtractorTitle down on the list).

Export data from lotus notes database

I am using a lotus notes database, where our whole company adds its customer data to it. The search function should give me the customer and when I click it I get more detailed information, which I need for my daily work.
However, I have to search this database and it is quite unreliable in terms of displaying the data and also often because of data insertion errors I do not find what I am desiring.
Therefore, I was wondering if I could export this database to excel and search it through with the filters.
Any recommendations how to do that?
I appreciate your replies!
You could also utilize the native full-text search of Domino : in the [View] menu, click "Search this view".
Select all the rows you want to export.
Do Edit/Copy AS>Table (could be long)
Past in EXCEL you will also get a link to the document in Excel.
This solution is relevant only if you research in few data. You may also build a "clever" view in Notes (exploding spaces for example) and search "start with" which is alway up to date.
I have pulled Notes view information into Excel from the Excel side via VBA - you'd need (to create) a view with all the relevant fields in columns first. Here's some code that worked for me: Accessing Lotus Notes database from Excel VBA - how do I pick up COLUMNVALUES?
I was picking up category subtotals..presumably you want the document contents instead so change the
Set Entry = nav.getNextCategory(Entry)
to
Set Entry = nav.getNextDocument(Entry)
and tweak the VBA code to suit which columns you want... good luck !

MS-Word not allowing users to save a SharePoint document which has a field with multiple taxonomy terms

I tried creating an out of the box document library and added one taxonomy field. After I created a document and added a number of terms (about 50). If I try to edit the document in word it gives me an error because of the Document Information Panel when trying to save.
I think there is a limit with the number of characters in a field in the out of the box Document Information Panel. I am using SharePoint 2013 and Office 2013. Any ideas how to get around this issue?

Retrieving a sharepoint list in Infopath only shows first 100 records

I am retrieving a list of values from a sharepoint list, which works well but my problem is that it only retrieves the first 100 records. there are currently 500 records that should be available.
Scenario: I have two comboboxes on an infopath form:
A List of Locations
A list of areas within the locations
the list of locations will filter the list of areas but as infopath seems to only retrieve the first 100 records so most of the locations do not show any areas as there is nothing to filter.
By design, the query will only return the first page of results from the default view for the list. Change the item limit for the default view in SharePoint, and you'll change the returned values for InfoPath.
EDIT (links from my comments, here for greater readability):
Here are sources describing this fix in MSDN forum (scroll to the bottom), a blog comment that describes the SharePoint setting step-by-step, one with a screen cap of the somewhat counter-intuitive interface, and another describing performance implications on the server side.
Hope this helps.
Just documenting what I have discovered trying to resolve the problem. I have not been able to change the default view as yet as I dont have the permission to. That should change though.
One possible workaround I have found is that you can export the list to Excel which contains all the data that I was looking for. the file that sharepoint produces is an Excel Query file like "export.iqy". You can save and open the file in notepad. which will look something like the following
WEB
1
http://SharepointSite/_vti_bin/owssvr.dll?XMLDATA=1&List={14C4ED2B-3050-4C47-B5F3-6333C3B0FB28}&View={8E6124E0-23F2-4BA2-86E7-96E7F36BAEC8}&RowLimit=0&RootFolder=%2fLists%2fSharepoint%20Sites
Selection={14C4ED2B-3050-4C47-B5F3-6333C3B0FB28}-{8E6124E0-23F2-4BA2-86E7-96E7F36BAEC8}
EditWebPage=
Formatting=None
PreFormattedTextToColumns=True
ConsecutiveDelimitersAsOne=True
SingleBlockTextImport=False
DisableDateRecognition=False
DisableRedirections=False
SharePointApplication=http://SharepointSite/_vti_bin
SharePointListView={8E6124E0-23F2-4BA2-86E7-96E7F36BAEC8}
SharePointListName={14C4ED2B-3050-4C47-B5F3-6333C3B0FB28}
RootFolder=/Lists/My list
You can take the third line which is -
http://SharepointSite/_vti_bin/owssvr.dll?XMLDATA=1&List={14C4ED2B-3050-4C47-B5F3-6333C3B0FB28}&View={8E6124E0-23F2-4BA2-86E7-96E7F36BAEC8}&RowLimit=0&RootFolder=%2fLists%2fSharepoint%20Sites
And use that to retrieve the complete list. I added an new receive data connection, selected an xml document and added the above URL.
It is not formated particullary nice but it will return all the data that I was expecting.
I think that Argalatyr solution is much simpler at this point, but it depends on if i am able to get the default view changed.
there is yet one workaround of this without such hardcoding. If you open Query editor, then you have there available ribbon with menu items. Open "Home" -> "Select top rows" and enter there some realy high number (I have in my list 596 rows, so I entered there as limit of top rows 20000 and I got whole list).
Sorry, I don't have available English version of Excel, so I cannot add screenshots.
enter image description here

Resources