Posts

Crawl the content from SOAP API using Sitecore Search

Image
Sitecore search can crawl any content from different sources like Sitemap, REST API, RSS, PDF, Word document, etc, We have a requirement to crawl the data from the Soap Service API and provide the relevant content to the user. Let's see how easily Sitecore Search helps us to crawl the content from SOAP API. For Example , Let's crawl the list of languages from the SOAP API  provided below and store each language's details as a separate index document in Sitecore Search Below are the sample SOAP API details along with request and response object details http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso Steps to configure the source crawler to crawl the content from the SOAP API Create the Source with Web Crawler(Advanced) , usually for all APIs we used to go with API Crawler, but in this case, API Crawler does not support SOAP API Update the necessary settings Max Depth , Parallelism  etc. Click on the Trigger tab to configure the Trigger to pro

Sitecore Search - API Crawler with Edge Pagination

Image
Sitecore Search provides different ways to index the items from 3rd party systems with the help of Source Connectors. There are different types of Source Connectors available: API Crawler API Push Feed Crawler Web Crawler Web Crawler(Advanced) I have provided more details here about the different sources for crawling different types of documents to get indexed into Sitecore Search. In this article, I would like to share the details about API Crawler in more real-time querying data and adding to the index. We have a scenario where I need to index all the items along with their placeholder components based on a specific template that has a layout assigned to it. I decided to utilize the Experience EDGE GraphQL Query to get the data and index it to Sitecore Search. We can use this for non-layout items as well. This article covers the following: GraphQL - Layout Query with Components GraphQL - Item Query GraphQL - Item Query with Pagination GraphQL - Search Query with Pagination GraphQL -

Exploring Sitecore XM Cloud Forms: A Comprehensive Overview

Image
  The most awaited news came from Sitecore about the release of XM Cloud Forms.  Previously Sitecore enthusiasts / Marketers used different ways of forms implementation in Sitecore to reach the target customers like WFFM (Web Form For Marketers) Sitecore Forms Embeddable Forms Framework(EFF) XM Cloud Form is the latest addition by Sitecore and especially used to create Forms on XM Cloud pages. It will only work with the latest version of Sitecore JSS (21.6) Note:  I have tried to use XM Cloud Forms in my local docker setup by cloning the starter   repo , but I couldn't see the option of Forms in the XM Cloud dashboard to get started. Lets explore together on the features of Forms. Similar to Sitecore Components, we can navigate to  https://forms.sitecorecloud.io/  to start creating the Forms There are 2 important tabs in creating Sitecore Forms  Forms  Webhook(for triggering the submit action) We can create, modify, delete, and activate the form from the Form tab.  Once the form is

XM Cloud - All about XM Preview and Edge GraphQL

Image
 I have recently started working on the xmcloud project to fetch the data from xmcloud using GraphQL, I have faced some challenges using GraphQL in both the XM preview and EDGE environment. I am sharing details that will help others who like to use GraphQL extensively for querying and searching content from xmcloud. Challenges : Need to access the item from the data folder which is not under the home node. I have written the GraphQL Item query to fetch the datasource item under the data folder. The response is fine in the XM preview environment with all the data from different fields like image,droplink,droptree,treelist, and treelistex, etc coming properly,  but when switched to EDGE the query does not work as expected, it provides the response in raw values. The reason behind showing raw value is that the items under the data folder do not have any site definition to them and it does have a presentation. If anyone faced this issue, then you will be happy now with the latest release o