how to call ajax with after loading algolia result? - magento2

Magneto Version : 2.3.0
Algolia Version : 1.11.3
I have integrated Aloglia into the M2 site and i need to run ajax call with product SKU after Aloglia results in the product list page.
can you please suggest me how can I call it?

Related

GetItemsAsync returns no items using .Net MAUI

I have migrated some code from the old Azure Mobile Client to DataSync, and the GetItemsAsync method is returning 0 items, although there are items in the database.
Here is the code snippet
public async Task<IEnumerable<Configuration>> GetItemsAsync() { await InitializeAsync(); return await _table.GetAsyncItems().ToListAsync(); }
If I execute the exact same command through the web portal the correct result is returned.
I am expecting the GetAsyncItems to return a list of items (as it did previous using the Mobile Service Client package).
The call returns a list of 0 items.
If I examine the http traffic, the correct request is sent to Azure and the correct response is returned.
Based on your final comment, you are using the client that uses the v3.0.0 ZUMO-API-VERSION and you are using the v2.0.0 ZUMO-API-VERSION backend. I'm surprised it is working at all.
When thinking about the ZUMO-API-VERSION
2.0.0 client works with either a 2.0.0 or 3.0.0 server.
3.0.0 client ONLY works with a 3.0.0 server.
So you can update the server, then update the clients, but not the other way round.

Magento 2 : How to get order id in guest checkout before success page?

I am using Magento 2.1.3. I want to get order id in guest checkout before success page. I have search on google and found some code like this.
$orderIncrementId = $this->checkoutSession->getLastRealOrderId();
Using chcekout seesion \Magento\Checkout\Model\Session object, I have try to get order id but it does not work.
In magento 1.x , we can easily get order id from checkout session using same method. In magento 2.x we can not able to do this.
In magento 2.x How to get order id in guest checkout before success page ?
Any help would be appreciated.
Thanks
try these lines of code :
$this->checkoutSession->getQuote()->reserveOrderId();
$reservedOrderId = $this->checkoutSession->getQuote()->getReservedOrderId();
$this->_checkoutSession->getQuote()->reserveOrderId();
$order = $this->_checkoutSession->getQuote()->getReservedOrderId();

Manage Product Magento Admin show empty page

I have did migration from magento 1.7 to 1.9 and i have saved same database , but whene testing the result i found this url (Catalog => Manage Products) gives empty page not show grid list product.
Any Suggestions to solve this error ?
At first you need to check the error logs (PHP error log, exception.log, system.log).
I think that this problem can be caused by third party extension, which is not compatible with new Magento version.
Try to turn off all extensions which are not the Magento core modules.

Meteor Cordova FacebookConnect Plugin: Which method should be called from client side?

I am using meteor cordova to create an android app. I am using cordova plugin: com.phonegap.plugins.facebookconnect to enable native android login in my app.
facebookConnectPlugin.login(['email'], function(userdata){
//which server method should be called here?
}, Function failure)
I would like to re-use the code. which method should I call to log the user?
I believe the plugin itself takes care of all the mechanism(s) necessary to get the user to provide login information, etc. All you have to do is create a javascript function that fires when the login is successful, or fails.
For instance,
facebookConnectPlugin.login(['NeededPermissions'], mySuccessFunction(), myFailureFunction());
then have two separate js functions that implement those two functions.

Get all status's from JIRA webservice

Is there a way to get all status types from the JIRA webservice, either through the api or through a JQL request? (The issue status is the field that is mapped to the swimlanes when the board is set up)
Whith JIRA REST API you can :
rest/api/2/status
or for each project :
rest/api/2/project/{projectIdOrKey}/statuses
see the online rest api browser : it's a wonderful tool :
https://jira.atlassian.com/plugins/servlet/restbrowser#/resource/api-2-status
For future reference, to see what's in a project's swimlanes for a JIRA agile board you make a request like this: https://jira.atlassian.com/rest/greenhopper/1.0/xboard/work/allData.json?rapidViewId=560 and it will return the relevant information.
Each board has a rapidViewId so you'll have to query for that yourself using a request like this: /rest/greenhopper/1.0/rapidview.
All this stuff can be found here: https://jira.atlassian.com/plugins/servlet/restbrowser#/resource/greenhopper-1-0-rapidview
This is for future reference so that people don't have to go through the same trouble I did when trying to figure this out. Hope it helps!