Surendra Sharma

Surendra Sharma

Search This Blog

Showing posts with label Sitecore. Show all posts
Showing posts with label Sitecore. Show all posts

Monday, June 17, 2019

Total Page View Crossed 250000

I am very excited to share that today my Sitecore blogpost crossed magical number 250,000+ page view all time.

Thanks for all the visitors and followers. I started this blog to share my ideas and findings with rest of the world. I hope this help people around the world in some useful and meaningful ways.

I will continue to share my real life experiences with you all in same way.

Stay tuned for some upcoming cool ideas ,implementations and sample code.

Pageviews all time history
Pageviews all time history


Wednesday, June 12, 2019

Search in Sitecore JSS

Happy to share that SUGCON India 2019 videos are published on Youtube. I conducted session on "Search In Sitecore JSS". I am sharing here recorded session on the same.


Friday, May 24, 2019

Sitecore Smart Comment Analyzer using Microsoft Azure Text Analytics Service

Happy to share that I have created new Sitecore module "Smart Comment Analyzer using Microsoft Azure Text Analytics Service".

One can use this module on Product page or blog website pages to collect comments from visitors. These comments will be analyze for their sentiment score as positive or negative. All positive comments directly published on the website page while all the negative and abusive comments will be stored in external SQL database which further reviewed by Sitecore backend team for publish approval. 

Watch the video for more details. 


Tuesday, May 21, 2019

SUGCON INDIA 2019

Happy to share that I have attended my first SUGCON INDIA conference in Bengaluru on 16-17 May. I conducted session on "Search in Sitecore JSS".

I met with lots of Sitecore developers who join this from different parts of India. I come to know about some cool ideas and implementation from their sessions.

Glad to saw few ex-colleagues as well after a long time.

I was lucky to win the Apple PowerBeats Wireless headphone in one of the lucky draw.


Hope to join the next SUGCON India 2020.


You can download my presentation on "Search in Sitecore JSS" from here.
 
Sharing few clicks from the conference. I hope you will enjoy these clicks










Friday, May 10, 2019

Coveo for Sitecore Developers exam certificate

Happy to share that I successfully cleared Coveo for Sitecore Developers exam.

Coveo for Sitecore Developers
Coveo for Sitecore Developers

Friday, April 19, 2019

Image tagging in Sitecore using Microsoft Computer Vision

Happy to share that I have created a module to add tags automatically to new or existing media library image item in Sitecore using Microsoft Computer Vision.

Watch the video for more details. 


Wednesday, April 3, 2019

Fixed : Sitecore multilist with search not showing data

In my Sitecore instance, I was not getting data in "Semantics" multilist with search field under "Tagging" section in Home item. By default this field should show atleast one value "Test tag".

Solution :-

Simply rebuild your master index. After that you should get data in multilist with search field.



Multilist with search
Multilist with search

Thursday, March 14, 2019

Sitecore Hackathon 2019 - Screenshot module


Happy to share that our RAS team participated in Sitecore Hackathon 2019 on Sat 2 Mar. We started our day at 6 AM and finished it around 10:30 PM.

Out of 6 different problem categories, we selected one of the category “Best enhancement to the Sitecore XP UI for Content Editors & Marketers” as our problem statement.

We have developed a Screenshot module for Sitecore Content and Experience Editor. It works like a charm.

Sharing below reference links for module video, Sitecore package and documentation.

I deliberately skipping all module details here in the hope that you will watch the video 😉.  Love to hear your comment(s), feedback(s) or suggestion(s).

RAS Team Sitecore Hackathon
RAS Team


Result will be announcements at the SUGCON EU 2019 on April 4th 2019 in London.

Till that time - stay tuned.

Saturday, February 23, 2019

How to execute Sitecore GraphQL query in Postman


GraphQL is querying technic to get the result in JSON format. 

It means now you can get Sitecore items in JSON format using GraphQL.

You can test your GraphQL query either directly on browser or on POSTMAN.
This article highlight how you can do the same using Postman GET and POST method.

Using POST Request

1.   Open Postman and create new Request
 
New Request Window
New Request Window

 
2.   Save Request by providing Request name, description etc.

Save Request Window
Save Request Window


3.   Select POST request type and enter request URL with “sc_apikey” query string as

Params in POST request
Params in POST request

4.    Select Body tab and select “raw” and format type as “JSON(application/json)”. Write your GraphQL query in body textbox as

Query in Body section
Query in Body section

This action add “Content-Type” as "application/json" in “Headers” tab.

5.   Click on “Send” button and you should get your query JSON result as

Post Request
Post Request


Using GET Request


1.   Open Postman and create new Request
2.   Save Request by providing Request name, description etc.
3.   Select GET request type and enter request URL with “sc_apikey” and “query” query string as “http://my-first-jss-app.dev.local/sitecore/api/graph/mygraphapi?sc_apikey={D259F575-F8E2-452F-8A1B-AB699CC6503C}&query={ search(fieldsEqual: [], first: 10, after: "3") { results { items {item {id name itemPath: path url } } } }}”. This will add key "sc_apikey" and “query” in “Params” section.

 
4.    Click on “Send” button and you should get your query JSON result as

Get Request
Get Request
Note:- While writing your query, just remove all escape lines. In other words, you must write your query in single line without any truncation.

That's it.
I hope you will use Postman for executing Sitecore GraphQL query.

Stay tuned for more such cool tricks.