Why This is Interesting Suspense Magic: React Suspense allows the component to “suspend” rendering while the data is being fetched, showing a fallback UI (like “Loading…”) until the data is ready. This eliminates the need for manual loading states with useState and useEffect. Caching Twist: The fetchUserData function uses a Map to cache results, so… Continue reading React Suspense for Data Fetching
Month: April 2025
Mastering useCallback in React
Introduction React has revolutionized the way we build user interfaces, and its hooks API has made state management and side effects more intuitive. However, as applications grow, performance can become a bottleneck. One tool in React’s optimization toolbox is the useCallback hook. In this article, we’ll explore what useCallback is, when to use it, and… Continue reading Mastering useCallback in React
A Practical Example Of useMemo
Let’s say you’re building a dashboard that filters a list of users based on a search term. Without useMemo, the filtering logic might run on every render, even if the data or search term hasn’t changed. Here’s how you might implement this without useMemo: import React, { useState } from ‘react’; function UserList({ users })… Continue reading A Practical Example Of useMemo
Most dashboards can be customized and additional portlets added.
Most dashboards can be customized and additional portlets added. Some examples of dashboards that can be customized are Transactions and Lists. An example of a dashboard that cannot be customized is Home. Steps to customize dashboard (Transactions as an example) 1. Navigate to Transactions > Transactions Overview > Settings portlet > Click Edit Custom Tab 2. Content tab > Portlets sub tab > Add additional portlets like ‘Custom Search’ 3.… Continue reading Most dashboards can be customized and additional portlets added.
Website URL is Showing Index.html
Some web site uses hosted page as their home page. Most often, when typing the website URL in the address barthe URL changes and displays /index.html file extension. Note: index.html is traditional filename which serves a general page, which is often referred to as a main or”index” page. For example, A web site URL www.mynetsuitestore.com. Everytime a shopper types… Continue reading Website URL is Showing Index.html
Change Purchase Request Form in Employee Center
Purchase request form in Employee Center role uses the Preferred Purchase order form. If the purchase request form has to be customized to show additional fields or hide existing fields, following are the steps to accomplish this. 1) Navigate to Customization > Forms > Transaction Forms. 2) Open the Standard Purchase order form by clicking on the Customize button. 3) Make changes to the… Continue reading Change Purchase Request Form in Employee Center
CSV Import: Vendor Bill > To remove the Department/Location/Class field value(s) on Expense Line(s)
. Create multiple CSV Import files: *Primary File: -Internal ID *Expense File: -Internal ID -Line ID -Department/Location/Class *Users may create a Vendor Bill Transaction Saved Search to pull up above fields. –Lists > Search > Saved Searches > New. -Click on Transaction link. -Under Criteria tab > Standard subtab > Add the following fields: -Type = is Bill -Account = is not (Select the Accounts Payable Account… Continue reading CSV Import: Vendor Bill > To remove the Department/Location/Class field value(s) on Expense Line(s)
CSV Import: Sales Order > To remove specific line item(s)
1. Create a CSV Import File with the following columns/values: -Sales Order Internal ID -Item Line ID (Refers to all Line Items to be retained) *Users may create a Sales Order Transaction Saved Search to pull up above fields. –Lists > Search > Saved Searches > New. -Click on Transaction link. -Under Criteria tab > Standard subtab > Add the following… Continue reading CSV Import: Sales Order > To remove specific line item(s)
Item Saved Search that will display the Item’s preferred vendor and the vendor price.
Item Saved Search that will display the Item’s Preferred Vendor and the Vendor Price. Navigate to Reports > Saved Searches > All Saved Searches > New Click Items Click Criteria Click Results Click Columns Field: Note: For every required field use the drop-down menu to select it and once adjusted click Add if needed. Select Name… Continue reading Item Saved Search that will display the Item’s preferred vendor and the vendor price.
Performing Workflow According to the criteria
While creating the workflow it will be performed on all the record from the corresponding record types. We can set criteria to perform the workflow only for the required records. Step1: Create a Saved Search with the expected criteria and save the search. Step2: While creating the workflow make sure to give the Created Saved… Continue reading Performing Workflow According to the criteria