How can we set the full path of the image using getAbsoluteUrlOfNonManagedResources()?

It is possible to convert the short path of the image to the full path using ‘getAbsoluteUrlOfNonManagedResources()’. Currently, use the short URL ‘img/imagename.jpg’ when extracting the image URL from the configuration record for easy modification. However, in some cases, the image may not be fetched, and that’s when we use this method. With this method,… Continue reading How can we set the full path of the image using getAbsoluteUrlOfNonManagedResources()?

What is the use of ‘animation-timing-function’ in animation, and how is it used on a website?

The animation-timing function specifies the speed curve of the animation. The speed curve defines the TIME an animation uses to change from one set of CSS styles to another. Syntax: div {  animation-timing-function: linear; } Sample Code: <head> <style>  div {  width: 100px;  height: 100px;  background: red;  position: relative;  animation: mymove 5s infinite;  animation-timing-function: linear; } @keyframes… Continue reading What is the use of ‘animation-timing-function’ in animation, and how is it used on a website?

How can we enable Customer Ref. No. on the purchase history page of the website?

It’s possible to enable customer reference number in the transaction history table on the website through the NetSuite. For this, go to the website configuration and select the ‘Transaction_List Columns’ subtab from the ‘My Account’ tab. There is a section for the Transaction List Columns order history, where we need to set the ID as… Continue reading How can we enable Customer Ref. No. on the purchase history page of the website?

What is the use of ‘animation-iteration-count’ in animation, and how is it used on a website?

The animation-iteration-count property specifies the number of times an animation should run. Sample code <!DOCTYPE html> <html> <head> <style>  div {  width: 100px;  height: 100px;  background-color: red;  position: relative;  animation-name: example;  animation-duration: 4s;  animation-iteration-count: 3; } @keyframes example {  0%  {background-color:red; left:0px; top:0px;}  25% {background-color:yellow; left:200px; top:0px;}  50% {background-color:blue; left:200px; top:200px;}  75% {background-color:green; left:0px; top:200px;}  100% {background-color:red; left:0px; top:0px;}… Continue reading What is the use of ‘animation-iteration-count’ in animation, and how is it used on a website?

How to get the commerce category item details using API?

It’s possible that we can get the item details through the API using this method. With this approach, we can fetch all item details and manually specify the commerce category ID in the API link. categoryresponse: function () {            try {             var APIresponse =… Continue reading How to get the commerce category item details using API?

How can we use the ‘filedChanged’ and ‘lineInit’ methods of the client script?

We can use these two methods in sales record. First we need to create script then add the below mentioned code in the script. define([‘N/error’], function(error) { function pageInit(context) { console.log(‘init’) }); } function fieldChanged(context) { console.log(‘file changed’) }); } return{ pageInit: pageInit, fieldChanged: fieldChanged,} }) We can use these two methods with any record.… Continue reading How can we use the ‘filedChanged’ and ‘lineInit’ methods of the client script?