Product information not coming in Adaptive Search Hybris 1808 - sap-commerce-cloud

I have enabled Adaptive search for my project on Hybris 1808_7. I am getting solr facets and search profile information but still, product information is not getting rendered in the editor area.
Can anyone let me know what I am missing? Please find attached screen.

Backoffice is build with widgets. I suggest you to read the documentation that I've provided and read about ZK Framework too because that is how widget UI is created (it's almost like a HTML but it's a little bit different. Here you can find more about this framework). And to answer to your question, your problem comes from a widget because the product information is rendered dynamically like in this file: searchResultBrowser.zul, and to be more specific, for example here:
<html sclass="yas-result-title" conntent="#load(vm.sanitizeHtml(result.document.fields['name']))">
You will have to look after result item and see how it's retrieved and then see if your product is retrieved the same.

Related

Actions on Google - How can I display a table?

The Google Assistant can currently do this but I'm not sure if there is a way to display a clean table with the Actions on Google library. I would like to reproduce a table similar to what is displayed in the following screenshot:
This doesn't look like any of the components that are available in the library.
Would it be possible to achieve this with a BasicCard and Lists?
The exact UI above is not currently possible using the 3P components. You can use similar widgets like a list or carousel to get close to the UI above, or render the whole thing as an image and return as a card.
For anyone else with the same question, Google recently announced consumer availability of rich responses optimized for Smart Displays. As of 7/26/2018, you can now have responses with table cards.

Customize Search Portlet in Liferay DXP 7

I would like your support in order to get some help in customizing the search component in Liferay DXP 7.0 Enterprise.
I have reviewed all the available documentation but although I have found many articles about the issue, the step by step is not so clear for me.
I need to customize the native search component:
Change the input component to give suggestions while the user is typing the search terms
Change the search result page look and feel.
Anyone ever implemented anything like this?
I know this is an old thread, but StackOverflow keeps showing it as the first open question when I am navigation this particular tag...So here are some pointers, as this is a pretty broad topic...
The search is really confusing for adding customization. Mainly you have to provide some of them as contributors, using the asset framework. following the regular steps to build an asset for the asset publisher you will hit the best place to find documentation about the search contributors.
About the search page, best is to create a new page, besides the default one for extra freedom. As long you use the friendly URL /search it will a basic replacement. In this page you can add everything you need, except for translations for the friendly URL - not great. Another option is to keep the default page (which will not be visible in the build area 7.1.x, but you can edit after you search something and fall inside it).

Kentico smart search with custom web part

I have custom web part registered in Kentico web page and I would like to use Kentico smart search to search information from web part.
My custom web part contains grid view with following columns
Item Code
Item Name
Item Price
Mfg. Date
If user is going to enter "Laptops" in search box then system should search information based on Item Name.
Can anyone give me brief idea about Kentico smart search which satisfy above functionality?
Have you tried using the smart search index and set it to be the document crawler? In this case the crawler will index the HTML output of the pages - including the output of the web part.
I think you have a fundamental misunderstanding of how smart search operates.
Basically you'll use Smart search to index your database.
You can then use Kentico's Smart search API to filter a dataset to be used to bind into a repeater or datalist of some type.
The only thing I can suggest is consulting the Kentico documentation for your version of Kentico, specifically looking for smart search. If you included more information such as the Kentico version and the source of your data (documents, custom tables, etc) then someone may be able to give a clearer answer.

CRM 2011 Dialog with Dynamic Advanced Find

I have written a Dialog that uses an Advanced Find where the user types in part of a search term, i.e., similar to:
Dialog’s Query Step: Demystifying the Advanced Mode Capabilities.
In my case I created one to find all the Contacts in a post code area starting with "xyz..."
It works fine and I get the contacts in a picklist. How can I get this in a grid of results like you can for a regular advanced find? As I understand it the Query CRM data operation only gives you radio buttons or a list as output types. But is there some ingenious way of grabbing the results perhaps via a child workflow and writing them to a grid?
I'm sure you're looking for something a little more out of the box, but one approach would be to use an HTML web resource. You can mimic the dialog look and feel by using the CRM 2011 Style Guide included in the SDK (in the sdk\resources\styleguide folder).
I think this cant be done out of the box. You can of course create a webresource and then embed the advanced find view using fetchxml query.
Please take a look at the following url. Hope it helps.
http://crmentropy.blogspot.com/2009/11/embedding-advanced-find-views-in-entity.html

Working with Drupal views and theming views

I am new to drupal views. I know how to basically use views from from end i.e creating some views.
I wanted to know if i can create a view from my module and how do i theme a view that i have created.
Is there any clear ebook or something regarding this. I tried 1 book, But i felt it was not good explanation in it.
This is a fairly large subject. There are a lot of tutorials for Views & Panels out there.
Here's a link to the blog of the Views module author Angry Donuts, you'll find a link to the book he has written.
Have you checked drupal.org? You should find links to video tutorials and a lot of info about Views.
Is the question about theme views or programmatically create it? you can theme view by adding your own custom template for view, view field, view list, etc etc etc.
Now, create view or go edit some, at Basic settings, press Theme:information, and you'll see active template for each element of the view. So, you can copy required views template from views/theme folder to your_active_theme/templates, give it proper name (as written in Information pane), and press rescan in Theme: information.
After this, you should see your template highlighted.
That's actually it.
As for programmatic way of working with views, I suggest to create view via interface, and then call in in your module, and theme as you wish.
Please see this post for details.

Resources