The Collapsible field is presentational-only and only affects the Admin panel. By using it, you can place fields within a nice layout component that can be collapsed / expanded. Admin Config Example collections/ExampleCollection.ts import { CollectionConfig } from ‘payload/types’ export const ExampleCollection: CollectionConfig = { slug: ‘example-collection’, fields: [ { … Continue reading Collapsible Field in payload default
Month: September 2024
Global Hooks in payload
Globals feature the ability to define the following hooks: beforeValidate beforeChange afterChange beforeRead afterRead Config All Global Hook properties accept arrays of synchronous or asynchronous functions. Each Hook type receives specific arguments and has the ability to modify specific outputs. globals/example-hooks.js import { GlobalConfig } from ‘payload/types’; const ExampleHooks: GlobalConfig = { slug: ‘header’,… Continue reading Global Hooks in payload
Color Coding – Field Service Management 3
Map Cluster Color Map clusters provide an overview of tasks clustered in the map. It can indicate if priority tasks are still unattended in a cluster of tasks on the map. This can help the user zoom in to the cluster and find where these tasks locations are. The color of the cluster can be… Continue reading Color Coding – Field Service Management 3
Color Coding – Field Service Management 2
Swatches Swatches are the colors available in each of the palettes. It is not supported to configure additional swatches or change their colors. The swatches for the available palettes are listed below: The swatches available to events are listed below: Adding a Color Group Going back to the use case on task priority, configure the… Continue reading Color Coding – Field Service Management 2
Proposal For Automated Management of Main and Intercompany Purchase Orders in NetSuite
Proposal Summary This proposal outlines implementation of an automated system within NetSuite that streamlines the creation and management of Intercompany Purchase Orders (POs) based on a manually created Main Purchase Order. The estimated effort for implementing the customization in the Sandbox and Production is 46 hours. The scope and the provided estimate are based… Continue reading Proposal For Automated Management of Main and Intercompany Purchase Orders in NetSuite
Color Coding – Field Service Management
Color Coding Color coding lets Scheduler users visualize event data. Users can select a color Group that color codes all events based on a property. The selected group colors are applied to events on the Board, Map, and the Assigned and Unassigned Task Panels. The information provided helps users make better and faster decisions based… Continue reading Color Coding – Field Service Management
Optimizing NetSuite Performance – First Load of a Record
Optimizing NetSuite Performance – First Load of a Record To provide the best customer experience, NetSuite leverages multilayer caching to speed up performance on frequently used operations. For the first execution of a record and action combination (for example, viewing a sales order), the system needs more time to load and perform the action. For… Continue reading Optimizing NetSuite Performance – First Load of a Record
Customize extension-related HTML and Sass files
To customize extension-related HTML and Sass files, you must use the override method. This involves placing copies of source HTML and Sass files from your Extras directory into your theme directory and making your customizations there. When you deploy your changes, the theme development tools detect the new files and initiate an override within the… Continue reading Customize extension-related HTML and Sass files
Issue of adding If in Sass files
void if constructions using exposed Sass variables. For example: @if $sc-color-secondary == $12345 { background-color: $sc-color-primary;} @else { background-color: $56789;} The problem with this is that the frontend does not know the else condition. Passing values within or grouping variables as mixins causes a similar issue. All of these issues are solved during the backend… Continue reading Issue of adding If in Sass files
User-Defined Function Calls in Sass
Avoid user-defined function calls. For example, assuming that $sc-primary-color is also: $sc-color-secondary: myfunc($sc-primary-color) /*editable(…) In this example, you set the result of an exposed variable, such as $sc-color-secondary, to a custom function, myfunc($sc-primary-color). Assuming $sc-primary-color is also declared as editable, when the SMT administrator changes the primary color value, the primary color value compiles quickly… Continue reading User-Defined Function Calls in Sass