Open the respective Knowledge Base search result using the openSearchResult API

InogicDyn365CE2 years ago5 Views


Introduction:

Microsoft presents a range of client APIs that enable developers to interact flawlessly with Dynamics 365 CRM. One of its recent addition is the openSearchResult, which opens one of the knowledge base article listed as per the search in the search control.

Now whenever we search for any article in knowledge based search control, we get the list of available articles as a result. A user can click on any of the listed article to open it and read it. Now what if we want to automatically open the first article every time we search. This is where this new API openSearchResult plays its part.

The openSearchResult accepts two parameters.

  • The first one is the resultNumber which is nothing but any numeric value starting from 1. This is the parameter where we can mention which article from the list of search results we want to open directly on every search. If we want to open the first record the value should be 1, for the second record the value should be 2 and so on.
  • The…



Source link

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
February 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28   
« Jan   Mar »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...