---
title: Blog | Code
description: Code | CPQ, NPSP & PDO Services | Foglight Solutions
---

<https://www.foglightsolutions.com/blog>

<https://www.foglightsolutions.com/blog/lwc-quickaction-javascript-convert-buttons>

## [Lightning Web Components (LWC) from Quick Actions](https://www.foglightsolutions.com/blog/lwc-quickaction-javascript-convert-buttons)

November 11, 2021

[10 Minute Read![arrow right](https://www.foglightsolutions.com/hubfs/raw_assets/public/Foglight_Solutions_October_2021/images/icon_arrow.svg)](https://www.foglightsolutions.com/blog/lwc-quickaction-javascript-convert-buttons)

<https://www.foglightsolutions.com/blog/2gp-namespace-limits-broken>

## [2GP Namespace Limits Broken](https://www.foglightsolutions.com/blog/2gp-namespace-limits-broken)

November 20, 2020

tldr; Namespace Limits don’t work in 2GP (second generation packaging) and likely won’t for the foreseeable future.

[2 Minute Read![arrow right](https://www.foglightsolutions.com/hubfs/raw_assets/public/Foglight_Solutions_October_2021/images/icon_arrow.svg)](https://www.foglightsolutions.com/blog/2gp-namespace-limits-broken)

<https://www.foglightsolutions.com/blog/safe-navigation-apex/>

## [What is Safe Navigation in Apex?](https://www.foglightsolutions.com/blog/safe-navigation-apex/)

September 16, 2020

### What is Safe Navigation in Apex?

Salesforce recently talked about a new “Safe Navigation Operator” in the Winter ‘21 release notes. Check it out [here](https://releasenotes.docs.salesforce.com/en-us/winter21/release-notes/rn_apex_SafeNavigationOperator.htm).

For many years my friends and I have been waging a light-hearted code review war, and this new feature will end that war once and for all, at least for us.

[4 Minute Read![arrow right](https://www.foglightsolutions.com/hubfs/raw_assets/public/Foglight_Solutions_October_2021/images/icon_arrow.svg)](https://www.foglightsolutions.com/blog/safe-navigation-apex/)

<https://www.foglightsolutions.com/blog/1gp_to_2gp/>

## [Can 2GP packages upgrade 1GP packages?](https://www.foglightsolutions.com/blog/1gp_to_2gp/)

September 10, 2020

### Can 2GP upgrade 1GP packages?

That’s the idea of this article. I’m using a slightly different format this time. I’ll be documenting each step along the way so I’ll be discovering the outcomes as I go.

My goal here is to document the process of packaging in both 1GP and 2GP, and to have a bit of fun along the way. I hope to make a discovery or two along the way as well. Enjoy!

[6 Minute Read![arrow right](https://www.foglightsolutions.com/hubfs/raw_assets/public/Foglight_Solutions_October_2021/images/icon_arrow.svg)](https://www.foglightsolutions.com/blog/1gp_to_2gp/)

<https://www.foglightsolutions.com/blog/customizable_npsp_manage_allocations>

## [Customizable NPSP Manage Allocations](https://www.foglightsolutions.com/blog/customizable_npsp_manage_allocations)

August 21, 2020

So, you’ve installed NPSP and begun setting up some of the powerful out-of-the-box functionality that it provides! Features like automated soft credits, customizable roll-ups, and recurring donations, just to name a few. Most of these provide tremendous value in part to their ability to be tailored to meet your organization’s specific needs.

[2 Minute Read![arrow right](https://www.foglightsolutions.com/hubfs/raw_assets/public/Foglight_Solutions_October_2021/images/icon_arrow.svg)](https://www.foglightsolutions.com/blog/customizable_npsp_manage_allocations)

<https://www.foglightsolutions.com/blog/2gp_multiple_packages/>

## [Second Generation Packaging - Two Packages One Namespace](https://www.foglightsolutions.com/blog/2gp_multiple_packages/)

June 8, 2020

The time has come for you to create an add-on package, and you are determined to use Second Generation Packaging. We’ll show you how we did it here.

[9 Minute Read![arrow right](https://www.foglightsolutions.com/hubfs/raw_assets/public/Foglight_Solutions_October_2021/images/icon_arrow.svg)](https://www.foglightsolutions.com/blog/2gp_multiple_packages/)

<https://www.foglightsolutions.com/blog/2gp_and_ancestry>

## [Second Generation Packaging (2GP) and Ancestry](https://www.foglightsolutions.com/blog/2gp_and_ancestry)

April 6, 2020

So you’ve been happily building managed package applications on the platform and nothing is broken… but now Second Generation Packaging comes along and upgrading is not as simple as it was? You’ve come to the right place.

[14 Minute Read![arrow right](https://www.foglightsolutions.com/hubfs/raw_assets/public/Foglight_Solutions_October_2021/images/icon_arrow.svg)](https://www.foglightsolutions.com/blog/2gp_and_ancestry)

<https://www.foglightsolutions.com/blog/lwc_jest_unit_testing/>

## [Jest Unit Testing with LWC](https://www.foglightsolutions.com/blog/lwc_jest_unit_testing/)

March 25, 2020

### LWC Intro

Lightning Web Components is the newest programming model built to aid in developing a new breed of Lightning Components. Unlike Aura, LWC sets out to leverage the feature rich browsers we have come to know within the last few years, all while maintaining the ability to create lightweight, feature packed components and applications.

[6 Minute Read![arrow right](https://www.foglightsolutions.com/hubfs/raw_assets/public/Foglight_Solutions_October_2021/images/icon_arrow.svg)](https://www.foglightsolutions.com/blog/lwc_jest_unit_testing/)