Sharepoint 2010 Foundation SBS 2011 reset search index - sharepoint-2010

How do you reset the search index in Sharepoint 2010 Foundation runing on SBS 2011?
I have out of date results in the search which don't exist any more.
Doing a full crawl doesn't seem to remove them

If you go to your sharepoint central administration and then Manage Service Applications > Search Service Application > Index Reset (on the left nav under crawling).
This looks like what you are looking for.
"Resetting the crawled content will erase the content index. After a reset, search results will not be available until crawls have been run.
It is recommended that you deactivate search alerts during the reset so as to prevent alerts subscribers from receiving unwanted e-mail."

Related

How to read contact information from office add-in in word

I need to have an office add-in component (https://dev.office.com/getting-started/addins ) to allow user to select a contact from the global address book to insert that contact email in the word document.
Any suggestions if this can be done with office add-ins? if yes how can it be done? or it must be VSTO?
An Office Add-in is simply a web app (that happens to run in the context of an Office host), so you can design it to do the types of things that a web app can do, including issuing requests against REST APIs. Regarding the scenario you've described, I'd view it as 3 distinct tasks:
Get contact info from AD.
Present list of contacts to user (so they can select one).
Insert email address of selected contact into document.
1- Getting contact info:
Re the specific scenario that you've described, I'd suggest that you investigate the feasibility of using either the Microsoft Graph API or the Azure Active Directory Graph API to get contact information from the GAL. Please note that, in general, using Microsoft Graph is recommended over using Azure AD Graph.
2- Presenting list of contacts to the User:
Regarding UI design, because your Office Add-in is simply a web app, you can present the list of contacts to the user in whatever manner that your web app supports.
3- Inserting text into the Word document:
Regarding inserting text into the document when the user selects a contact via the Add-in UI, you'll use the Word JavaScript API to do this. If you haven't used the Word JavaScript API before, I'd suggest that you start by doing the Word Add-in quickstart, which shows how to insert text at various points in a document. Then, for additional details about the API, see the Word JavaScript API reference docs. (Which API operation you use to insert text into the document will depend the specifics of your implementation. I'd suggest that you post a separate Stack Overflow question that describes specifically what you want to achieve re insertion of text into the document, if you need help with that when the time comes.)

custom buttons are not displaying in Microsoft Office Outlook Client 2010

I have added two custom button in my order entity.
Both are displaying in Web version of CRM 2013 but not displayed CRM Outlook 2010.
I have tried using Workbench 2013.
Can anyone have idea to display those buttons using Workbench?
I have figure this out but i am not sure what is the actual fix for this.
The things i have done :
1. Apply a display rule to one the group control, which contains OrGroup as following
NOTE : for some entity i am able to display buttons in outlook without
MiscellaneousPrivilegeRule
CrmOfflineAccessStateRule
2. Another rule is Enable rule as per following
3. Delete my Internet Explorer cache (used by the CRM Outlook Client)
4. Fix javascript errors, which might cause this issue using Microsoft Dynamics CRM 2013 Custom Code Validation Tool
5. Also check for any UI errors in Outlook.
To see buttons in Outlook they must have either an enabled and display rule applied that checks for either the Web or Outlook client and returns true accordingly for each. So in your case because you want the button to appear in both you must apply a rule that checks for each and returns true.
The RibbonWorkbench developer blog provides further information.
Please try:
1) Check for UI errors in Outlook: http://msdn.microsoft.com/en-us/library/bb608619.aspx
2) Make sure you have the CRM 2013 Outlook Client installed + the same/later rollup version as the CRM server.
3) Re-add the organization to the CRM Outlook Client
- Publish all customizations
- Remove the organization in Outlook
- Delete your Internet Explorer cache (used by the CRM Outlook Client).
- Re-add the organization to Outlook
4) If possible try with another computer that has a different Office version to test if the problem is related to the Outlook Client or to the ribbon customizations is CRM.

Using CMIS, how do I access the change log from SharePoint 2010

I am using SharePoint 2010 and accessing it from CMIS. The repositoryInfo section does not include a changeLogToken element even though the capabilities element mentions objectidsonly.
Is there something special I need to enable on SP to get change log working?

SharePoint 2010: Disconnect People Search from My Site

I've got the 'My Site' functionality basically disabled so users can't get to that stuff from the menu under their names. The problem is we have need for a company directory, and I used the Enterprise Search Center to create a staff directory and everything in the default results links to some page or another in the '/my' built in site collection. How can I disconnect the people search entirely from the 'My Site' system?
You can limit all the searches with a search scope to your site collection. That would trim out Personal from the results. Then set the scope on the search box or write a custom results page.

prevent duplicate site / page / layouts / templates / webparts, possible

We have a sharepoint environment with many sites (and sometimes many site collections). Each site (or site collection) has the same default page with some custom webparts that use sitecolumn values (for example a projectcode or clientcode) to show information from external systems. (for each project we have to create a separate site (or site collection) because of other reasons)
What is the best approach to minimize duplication? The dynamic parts of the page are stored in site columns. When we add a new webpart, ideally the default page every site/page should show the new webpart without spreading the update to the individual pages
Thanks
One approach you may want to take is to use the web part as a wrapper for a user control. The user control does the heavy lifting on the site. Once the web part is included on your pages, the user control should be able to tell which site it is being executed on and pull the necessary dynamic data from your site columns.
When you need to make updates, you update the user control and then redeploy the solution package to the farm. Each site will pick up the change as soon as the solution is deployed.
Here is a little information about this approach:
http://msdn.microsoft.com/en-us/library/ff649867.aspx.
The above article relates to WSS 3.0, but that should give you a starting point.
An approach you may want to look at for SharePoint 2010 is a visual web part. More info can be found here: http://msdn.microsoft.com/en-us/library/ff597539.aspx.