Impact of Gen-AI on IT Jobs - Growth Mindset Show
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
.NET
.NET Assemblies
.NET Core
.NET Standard
Active Directory
ADO.NET
Agile Development
AJAX
Alexa Skills
Algorithms in C#
Android
Angular
Architecture
ArcObject
Artificial Intelligence
ASP.NET
ASP.NET Core
Augmented Reality
Aurelia
AWS
Azure
Backbonejs
Big Data
BizTalk Server
Blockchain
Bootstrap
Bot Framework
Business
C#
C# Corner
C, C++, MFC
Career Advice
Chapters
CIO
Cloud
COBOL.NET
Coding Best Practices
Cognitive Services
COM Interop
Compact Framework
Cortana Development
Cryptocurrency
Cryptography
Crystal Reports
Current Affairs
Custom Controls
Cyber Security
Data Mining
Databases & DBA
Design Patterns & Practices
DevOps
DirectX
Dynamics CRM
Enterprise Development
Entity Framework
Error Zone
Exception Handling
Expression Studio
F#
Files, Directory, IO
Games Programming
GDI+
General
Generative Engine Optimization (GEO)
Google Cloud
Google Development
Graphics Design
Hardware
Hiring and Recruitment
HoloLens
How do I
HTML 5
Internet & Web
Internet of Things
Ionic
iOS
Java
Java and .NET
JavaScript
JQuery
JSON
JSP
Knockout
kotlin
Leadership
Learn .NET
LightSwitch
LINQ
Machine Learning
Microsoft 365
Microsoft Office
Microsoft Phone
Mobile Development
Multithreading
Nano Banana
NetBeans
Networking
Node.js
Office Development
OOP/OOD
Open Source
Operating Systems
Oracle
Outsourcing
Philosophy
PHP
Power BI
Printing in C#
Products
Progressive Web Apps
Project Management
Python
Q#
QlikView
R
React
Reports using C#
Robotics & Hardware
Ruby on Rails
Salesforce
Security
Servers
SharePoint
SignalR
Silverlight
Smart Devices
Software Testing
SQL Language
SQL Server
Startups
String in C#
Swift
TypeScript
Unity
UWP
Visual Basic .NET
Visual Studio
WCF
Wearables
Web Development
Web Services
Web3
Windows 10
Windows Controls
Windows Forms
Windows PowerShell
Windows Services
Workflow Foundation
WPF
Xamarin
XAML Standard
XML
XNA
XSharp
Register
Login
0
Answer
How to search External data using BCS
sreenu kolusu
13y
1.2k
0
1
Printing in C#
Reply
I have created External Content Type using Bussiness Data Connectivity Template from visual studio in my previous Post.Please refer
this post
.
Now i want show how to configure the search service to index that data and show results in a way that is useful to the end user.
To display search result items we need to setup profile pages.
Profile pages are used to show the detailed information about an external data record. The search service will link its results to the appropriate profile page. If you do not set up a
profile page, then the search results will contain a useless link.
how to Create profile page please refer this
post
.
After creating profile page we need to set this profile page to the external list.
i. Go to central administration --> manage service applications-->bussiness data connectivity services.
ii. Select external content type and click on Configure and specify Host SharePoint site URL.
iii. Click on Create/upgrate from the ribbon.
Now am showing to how to configure the search service to use this ECT while crawling and indexing. The search service uses Content Sources to identify and control the content it needs to
search. You will also need to set the account to use for the crawl operation. This account should be the same as the one you used to set permissions in the Business Data Connectivity
service and it must have read access to the AdventureWorks database.
1. Go to Central Administration, Click on "Manage Service applications".
2. Click on "Search service application" from the list of services.
3. in the left panel, click Content Sources under Crawling.
4. Click on "New Content Source".
5. Specify Name of the Content Source, select "Line of Business Data" as Content source type, select external content type, and check Start full crawl of this content source. Click on
"OK".
6. In the left panel, click on Scopes which is under "Queries and Results".
7. Click on New Scope.
8. Specify Scope name and click on "OK".
9. in the list fo scope click on Add Rules to the newly added scope.
10. Select Content source radio button in Scope rule type and select newly added content source type from dropdown in content source. click on "OK".
newly added scope will be available for search after 15 mins.
11. Now go to your site, click on "site actions --> site settings".
12. Click on Search scopes which is under site collection administration.
13. Click on Display groups.
14. Click on "Search Dropdown".
15. mark checkbox for the newly added scope and set default scope.
16. Click on Advanced search.
17. Mark checkbox for the newly added scope.
here am showing external data ..
18. Now go to home page , enter search keyword in search control and press enter.
19. it will display result based on search keyword.
20. when you click on search result link it will show detailed information for that link in profile page.
Thats it..
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Post
Reset
Cancel
Answers (
0
)
Related Discussion