Tip Tuesday - CPQ Implementation Performance Enhancement
1. Use string builder function instead of concatinating the strings using "+" operator.
2. When trying to contact a string inside a loop, add the values into an array using append function and join the array values outside the loop.
3. Use continue function frequently in for loops, if you want to ignore some iteration in the loop. For example, while lopping on Line Item Grid if you want to skip the part lines add an if condtion at the start of loop and use continue inside the loop.
4. Mark attributes as Exclude from XML, which are not required to be exposed in XML.
Tagged:
2