Search …

Syed W. Aslam

  • Home
  • Blog
  • About
  • Contact

Blog

Hybris Spring WebService

How to consume REST API in Hybris using RestTemplate

In Hybris and web development in general now, one of the most important use-case is consuming APIs. In this post, I will discuss how to consume a REST API that returns a JSON. This post is regarding how to use Read more…

By Syed W. Aslam, 6 yearsMay 20, 2020 ago
Hybris

How to read properties (with arguments) in Hybris using Java

There are multiple places where we can add a property in Hybris. I will be writing a different post explaining how properties work in Hybris. In this post, I will show how to read these defined properties using Java. Let’s Read more…

By Syed W. Aslam, 6 years ago
Flexible Search Hybris

How to search by an Enum value using Flexible Search

If we have an enum as one of the attributes of our ItemType, then searching for it using flexible search requires us to do a JOIN. Since Enum values are stored in the table Enumerationvalue item, we will have to Read more…

By Syed W. Aslam, 6 yearsMay 12, 2020 ago
Spring

Return a JSON without getting a 404 in Spring Controller

Sometimes when we have our method to return a JSON is setup wrong, we get a 404 even though we are hitting the method. To be able to successfully return a JSON, the method needs to return ResponseEntity<String> as in Read more…

By Syed W. Aslam, 6 yearsMay 2, 2020 ago
Android

How to open up a Dialog when clicking a Preference button and show a GIF in it in Android

In this post, I show how to open up a Dialog when a button in Settings is clicked and show GIF in it. I am using Kotlin in here, it is relatively easy to do the same with Java. Create Read more…

By Syed W. Aslam, 6 yearsApril 4, 2020 ago
Child Lock icon
Android Reviews

An Android app every toddler’s parent must have: Child Lock

Hello everyone! I am writing this post to describe an Android app that I believe every parent of young kids MUST HAVE. This app is for all those parents who give their phones/tablets to their kids so that they can Read more…

By Syed W. Aslam, 6 yearsMarch 28, 2020 ago
Hybris

Adding date in the Flexible query of Hybris

We can use the function TO_DATE() in the flexible query and pass in a date format to use as the second argument. For more information on TO_DATE() function, see here. An example of how it can be used is the Read more…

By Syed W. Aslam, 6 yearsJanuary 29, 2020 ago
Unity

How to scale background with text in Unity

In this post, I will show how to scale background according to some text. To make the background scale with text, follow the below steps: Make sure the Background and Text are in separate UI Objects. Nest the Text object Read more…

By Syed W. Aslam, 6 yearsOctober 5, 2019 ago
Java

How to check if a String contains an element from an array in Java

In this post, I will show a code snippet showing how to check if a String contains an element from an array in Java. Java 8 If you can utilize Java 8, then follow the snippet below. In this snippet, Read more…

By Syed W. Aslam, 6 yearsSeptember 29, 2019 ago
Java

Get specific digits of random number in Java

This post is about getting specific number of digits of random numbers in Java. We will be using the Random API from Java for this. Let’s assume we want 5 random integers from 0 to a 1000. Then, we will Read more…

By Syed W. Aslam, 7 yearsAugust 31, 2019 ago

Posts pagination

Previous 1 2 3 … 5 Next
Categories
  • Android (2)
  • Architecture (1)
  • Artificial Intelligence (AI) (1)
  • Dev-Ops (1)
    • Jenkins (1)
  • Hybris (25)
    • Backoffice (4)
    • Flexible Search (1)
    • WebService (2)
  • Java (5)
  • JavaScript (1)
  • LibGDX (1)
  • Liferay (2)
  • Listrak (3)
  • Management (1)
  • Reviews (1)
  • Snippets (5)
  • Spring (2)
  • Uncategorized (2)
  • Unity (1)
Subscribe to get our latest posts right away. We hate spams as well!
Subscribe to get our latest posts right away. We hate spams as well!

  • About
  • Blog
  • Contact
  • Home
  • Newsletter
  • Privacy Policy
  • WYRed/ Solutions Privacy Policy
Hestia | Developed by ThemeIsle