最新动态
Add a search box to your intranet site
2025-01-01 18:38

To provide your users with easy access to results from your organization, add a Microsoft Search in Bing search box to any intranet site or page. These are some of the benefits:

  • A search box on your intranet portal provides a familiar, trusted entry point to start searching
  • Can be added to your SharePoint (classic and modern), SalesForce, Confluence, and other intranet pages and sites
  • Supports all major web browsers, including Google Chrome and Microsoft Edge
  • only search suggestions from your organization appear, web suggestions are never included
  • Takes users to a Microsoft Search in Bing work results page, which excludes ads and web results
  • You control the appearance and behavior of the search box, including the ability to land users on a default vertical or a custom vertical you've created

If you have questions or comments about adding or using an embedded search box, share them with us at aka.ms/ESB.

You need to add two elements to the page: a container for the search box and the script that powers it.


For SharePoint classic or modern pages, download bing-search-box.sppkg from the Microsoft Search public repro, deploy it to your SharePoint app catalog, then add the app to your SharePoint sites. For details, see Deploy your client-side web part to a SharePoint page.

On the Confluence page, select Edit, add an iframe widget with these parameters, and Publish.

  • URL:
  • Title: or
  • Width:
  • Height:

In your Visualforce Pages, create a new view and add the code in the Markup section.

  1. Log in to your SalesForce account as an admin and select Setup in the upper-right corner to open a Setup page.
  2. On the left side panel, select Platform Tools > Custom Code > Visualforce Pages.
  3. Create a new View and enter a name for it. In the Restrict Visibility section, set Visible to all users.
  4. Save your view.
  5. In the middle of your view, select New to open Page Edit. Enter a label, a name, and select the Available for Lightning Experience, Experience Builder sites, and the mobile app check box.
  6. In the Visualforce Markup section, add this code and Save.

You can also customize the height and width of the search box with this code


To add the Visualforce component to your SalesForce homepage:

  1. Go to your SalesForce homepage, .
  2. Select the Gear icon, then Edit Page.
  3. Select the + (plus) icon anywhere on the Homepage to add the Visualforce component there.
  4. On the left side, select Visualforce. On the right side, select the Visualforce Page Name you created earlier.
  5. Add a label and Save. On your SalesForce Homepage, the search box you created should appear.

For intranet sites or pages available to mobile users, add isMobile: true to the settings object:



To help users search faster, when the page or site loads place the cursor in the search box by adding focus: true to the settings object:



To help the search box better fit with the style of your intranet, there are various configuration options you can use. Mix and match options to suit your needs.



To provide easy integration between your line-of-business apps or intranet sites and your work results, you can also specify a default or custom vertical users should land on when they select a search suggestion.

Use the vertical option in bfbSearchBoxConfig to define the vertical you want. For example, if you want users to always land on the Sites vertical, one of the default verticals, use the value "Site-sites".

For custom verticals, use the hash at the end of the URL. You can find these values by searching from the work page on Bing, clicking a vertical label, and copying the value after the number sign (#).

If embedding a script isn't an option for the site, use an iframe to add the search box. You won't be able to customize the search box.

    以上就是本篇文章【Add a search box to your intranet site】的全部内容了,欢迎阅览 ! 文章地址:http://ww.kub2b.com/news/18304.html
     栏目首页      相关文章      动态      同类文章      热门文章      网站地图      返回首页 企库往资讯移动站 http://ww.kub2b.com/mobile/ , 查看更多   
最新文章
荣耀手机数据恢复教程荣耀手机找回「荣耀手机数据恢复教程」
在使用荣耀手机的过程中,大家难免会遇到不小心删除重要照片的情况。这些照片可能包含了珍贵的回忆,一旦丢失,可能会让人感到非
手机副卡怎么注销手机副卡「手机副卡怎么注销」
随着移动通信技术的不断发展,手机副卡已成为许多家庭或企业用户的常用选择,它为用户提供了更多的便利和灵活性。然而,当不再需
三星s8怎么样值得买吗 64G版苏宁易购4999元s8手机「三星s8怎么样值得买吗 64G版苏宁易购4999元」
  【PConline 导购】当下很多手机都有一流的硬件配置和出色的使用体验,消费者在购机时也会优先考虑这些产品。就拿三星的旗舰
马拉松赛道上的奇特造型,究竟是展示自我还是博眼球,你怎么看?
或许你会发现,每次马拉松比赛都会出现奇特造型的人物。这不,2025象山马拉松也有一些打扮另类的跑者,他们的出现瞬间成为赛道上
售价21万的诺基亚Vertu手机 你肯定没用过!手机超长待机「售价21万的诺基亚Vertu手机 你肯定没用过!」
人人都说知道诺基亚,但你真的通晓诺基亚吗?在诺基亚旗下奢侈手机公司VERTU(威图、纬图)相信很多人都不知道。而Vertu品牌研发
苹果11原相机自拍是反的怎么调回来苹果手机拍照怎么是反的「苹果11原相机自拍是反的怎么调回来」
  苹果iPhone11(系统版本是iOS 14)相机自拍呈现反方向是【平面镜成像】原理,可在自带的相机设置中修改拍摄方向,也可以在自
阿维塔06即将上市,1天后公布价格
06倒计时一天,实际上有必要重新认识一下这个品牌。阿维塔成立于2018年,主要大事件:2021年阿维塔科技全球品牌首发,正式亮相,
最新个人简历电子版 个人简历手机版免费(三篇)手机简历「最新个人简历电子版 个人简历手机版免费(三篇)」
无论是身处学校还是步入社会,大家都尝试过写作吧,借助写作也可以提高我们的语言组织能力。写范文的时候需要注意什么呢?有哪些
360行车记录仪,走过风景,走过你——体验G300 3K版前,我要分享一份记录仪避坑指南!360行车记录仪怎么连接手机「360行车记录仪,走过风景,走过你——体验G300 3K版前,我要分享一份记录仪
***感谢众测君翻牌,感谢品牌方信任***说起,大家应该都不陌生了。这东西除了能让你在说不清的时候说清楚,还有点其他用处。比如