17. Unlocked Packages | Fabien Taillon


Unlocked Packages

Fabien Taillon is an unlocked packages early adapter, Salesforce MVP, the CTO at TexeiFrance, the ParisDUG Co-organizer, also part of FTDreamin Team.


Sponsor

Proton Text is a complete SMS texting solution built for the Lightning Platform, and by one of our previous guests Pat McClellan.


Main Points

As developers, we need to learn new technologies fast and often. Xi talks to Fabien about Unlocked Packages, the new way to manage Salesforce solutions. What is Unlocked Packages, how to start to use it, what new challenges do we face when using it as well as the Texei sfdx plugin open-sourced by Fabien’s company.


Hands-on Video on unlocked packages

*Hands-on video refers to the screencasting I record to practice the things I learned from the gust on this topic. We all know that programming can only be learned by practicing.

YouTube Video URL

Unlocked packages jump start

Links


Contact Me

If you enjoy this podcast, please reach me out to let me know your thoughts or simply say Hello. My (Xi’s) contact info:

Take care, until next time :)!

Transcript

AI-generated, unedited.

[00:00] Our sponsor today is Proton Text, a complete SMS texting solution built for the Lightning platform by one of our previous guests, Pat McLellum. Here is reason number one that admins and users love this app. It's Lightning smart. Admins can easily configure the one-to-one messenger component for private messaging. Or collaborative team texting using queues or shared phone numbers, and using HasRecordId, the component to always know where it is, which conversations you want to see, and which people you might want to text. Proton Text uses Lightning Platform features and Apex logic to make the app intuitive and easy to use. It's not magic, just good design. Learn more at protontext.com. Salesforce Way Podcast Episode Seventeen: Unlocked Packages. Could have been twenty already if I worked harder.

[01:18] Salesforce Way podcast is meant for Salesforce developers. In each episode, a guest is invited to talk on one specific subject. Our goal is to help our listeners to not only become better Salesforce developers, but more in general, better software engineers. If you have anybody in your mind that could be a good guest for us. Please let me know and tell why you'd like to recommend. You can reach me out by email, Twitter, LinkedIn, or contact form, and I'd be so happy if you could connect with me. So all the information can be found in our website at SalesforceWay dot com.

[02:16] In this episode, our guest Fabien Taillon and I discussed three main points. We started with what unlocked packages is and how different it is comparing to the traditional change sets and the Salesforce migration tool. Then we talked about creating unlocked packages and the versions, and how to deploy to different types of works with the unlocked packages. And at last, we touched the Taxe SF DX plugin. Fabien's company open sourced to help manage dependent packages, among many other features. Hey,

[03:02] everybody! This is Xi Xiao. This is yet another episode of Salesforce Way podcast. Today I'm sitting with Fabien Taillon, right? Perfect. Pronounce your name correctly. Very good. Yeah. It's hard. And Fabien, I understand you are from Techsay Company, right? Exactly. You're right. Okay. Would you please introduce yourself? Yes. So, as you said, my name is Fabien Taillon. I'm a CEO at Techse, which is a French consulting company, and well, I've been working on Salesforce since almost ten years now. That's a very long experience. Yeah, things have changed since the beginning, but it's interesting. So. Uh huh, yeah. Good to have you on the show. Yeah, most of us Salesforce MVP and leader of the developer group in in Paris. Uh huh, nice. Uh, you know, several months ago, I had some chat with uh some of my show guests. Uh, for example, Shane McLaughlin, uh, John Daniel. They both recommended me to study this unlock package along with the DX, along with the Scratch work. So then I I paid attention. Then even in my work. I had the chance to really work on a small solution that doesn't have any dependencies on the existing metadata in the Salesforce environment. So I had the luxury to create a small package.

[04:33] You know, play around with these second generation packages. Which in this case is like unlock the packages, it got me hooked. So I want to have a chance to really talk about this, and I want to learn more. For one reason, it's because I'm still learning it. You know, I I had a really simple case. What if it has a lot of metadata in the environment? So how do we handle those situations? Those are unanswered questions for me. So that's why I invited you here. You had a lot of experience with with this new way of packaging, new way of working with the environment. So, thanks, thanks for coming. Thanks for having me. So let's start from the concept. What is the unlock packages, and we also understand that there's surrounding or different terms like the second generation. We have like managed packages. So could you somehow tell us what what are they and what are the differences? Yes. So currently, there is only one part that is GA, which is unlocked packages, and so this one is more focused on customers actually. So it would be. I would say a new. I want. I wouldn't say change set version two, but it's supposed to to replace the same use case like what you could deploy with the force.com migration

[06:03] tool with a package.xml or a change set to migrate metadata from. One place to another org, for instance. Whereas managed second generation managed package are more focused for ISVs actually. So, so actually, as I'm a consulting partner, I have mostly used unlock packages, which is actually the only part of second generation packages that are GA. Okay, so it's already general available for. Yeah, I think it's so it has been GA for almost a year now. Ah, okay, I think so. But comparing to what you just mentioned, the change sets or the Salesforce Migration Tool, which is using the ANT and the package dot XML for the deployment, why do we have this new thing? Why do we need this unlocking packages? Well, I think it's answering one need. Which is currently when you deploy stuff with I won't. We don't even talk about change set because lots of things are missing in change set, but you have almost all the metadata in the Force.com migration tool. So if you use Ant and A package that takes XML, you can deploy lots of things, but the thing is that if you deploy the same package, you are not exactly sure

[07:33] of what will happen depending on the metadata you have on your org, and it's not. Taking care of deletion of metadata. So, for instance, if I delete a field or an Apex class or validation rule or whatever, if I deploy metadata through Ant and the package. XML, it will just add new metadata, but it won't delete anything. You can still write a specific package to delete stuff. But it's either something you have to do manually, or you can script it. But that part out of the box of the package dot XML deployment, so you need to know what has been deleted, or maybe script something based on your different commit on your repository. But you have nothing that will do it for you out of the box, provided by Salesforce. The idea of unlocked packages—it's more, it's version actually. So you will install a version of a package. So you will be able to say, okay, I want to install version one point one, and then next time you will do a new version of your package. It will be let's say one point two, and when you install it to an org. What the installation will do is not just copy pasting metadata that are part of your package. It's like looking at what what are the difference between the package installed and the one that you will install now. So we will install one point two and say

[09:03] okay, what has changed between one point two and one point one? It will see what needs to be added, what needs to be changed, and once what needs to be deleted. And same thing. If we install it on an org that had only zero point nine, for instance, it will check all the differences and update everything, including deleting metadata that was removed from your from your package. Ah, okay. So I did have the experience with the Salesforce migration tool. If we want to remove metadata from the, for example, production environment, we need to create the package .xml with those so-called disruptive. Commands exactly run specifically to remove those metadata from production. But now with the unlock a package, if we remove the metadata from the package and create a new version. Then we deploy this new version to the production environment. Those metadata are also deleted from the production. Exactly. Oh, this is cool. That's good to know. Um, I understand to use the unlocking package, we more or less need to understand how the DX works and how the scratch work works, right? They are somehow three-legged stool, more or less. Do I understand correctly? Yes. So, unlock packages. So, first, you know, when you use the package .xml before, you

[10:34] still use it. But there is specific format for the metadata. For instance, if you look at an object like a custom object, you will have a big XML file that will contain all your object inside, including fields and. Object definition and lots of things will be in one file only. Whereas when you move to DX, there is a new source format for DX, which is a little bit different from the metadata format. Where, for instance, there will be one file for the object definition and one file per field. So you won't use the exact same source files, and your right. Unlocked packages are working with a new source format from DX. So you need at some point to have your source code or your source with all the metadata moved to the DX format. But you could, if you want, retrieve something from an org with the metadata API, then convert it with the DX command to the source format, and create a package from there if you want. If you don't want to use a scratch org, you could not use it. But I think Scratchbox. When you start to use it, you don't want to go back to sandbox again. So, yeah, I had the same experience. It's so good, but sometimes you have to work with the like the developer

[12:04] sandbox environment somehow. Yeah, yeah. But how about the challenges? It's a new thing. What things you have encountered as a surprise, or you want to give us some some red flags before really jumping into the pool? Well, there is one thing where we need to be careful is that currently. There is not one hundred percent of the available metadata that can be packaged inside a download package. So, for instance, something that happened. Pretty often, it's a standard value set, so you know it's a standard picklist, like an opportunity stage, for instance. This can be deployed with a package that XML on metadata API, but can't be part of an unlock package. So you need to be careful if you are working with a scratch org, for instance. And you modify some stuff in the scratch org, like adding new values to the standard value set, creating new Apex classes. You pull everything locally. You create a package from this. But standard value set won't be part of your package, so you need to be careful about this. That not one hundred percent of your source will be added to the package. Only the supported metadata. So, okay. But what what can we do with that? Usually, we start the project. We didn't know what kind of metadata type will be in

[13:34] the solution. Right. We go along the journey, and then we we realize one thing is missing from. the the scratch org, so there are few things to to note here. So the first thing is that there is a a website. If you look to metadata metadata coverage report. It's a documentation from Salesforce that lists all the available metadata and whether it's supported or not in the metadata API, in sandset, in unlocked packages. So you can see everything and know if it's supported or not in unlocked packages. And if it's not supported, you can still deploy with the regular metadata API. So I was talking about Ant. Obviously, I'm not using Ant anymore, but you can use the metadata deployment. With a SFDC command, so whether it's unlock packages or metadata deploy, I only use the SFDC CLI. So what you can do is first deploy with metadata API the source that can't be packaged in an unlock package, and then install your package. Okay. As a workaround, we we instead of just deploy the package, we now to run the command to deploy via the metadata API for those missing, unsupported, metadata. Exactly, and also DX is still a moving project, which means that what is not supported today. Will change in the future.

[15:04] So release after release, you get more and more metadata supported by unlock packages. So it's worth looking at every release: what's new, and what's supported that wasn't before. Excellent, so if we Google the metadata coverage report, I did hit the page from Salesforce Developer site, and that's exactly an excellent table telling us what metadata supported from different. Like from metadata API source tracking, unlock packages, manage packages. So there are all sorts of information over there. We will also put this link into our show notes in case our listeners want to also take a look. Thanks for sharing this. It's very useful. I open it all the time. There is one cool thing actually, also in the metadata coverage report, which it lists for every metadata the potential non issues that are linked to this metadata. So I don't know if you have something not working with unlock packages or even with scratch org, you can see if there is a non issue related to this directly from this page. Hmm. Okay. Yeah. I quickly scanned over the long list for different type of metadata. Indeed, for the unlock package, there are some metadata missing on the table. Yeah. But we we know that it's on the roadmap, right? We Salesforce is heavily building these things up for the future support. Yes, exactly.

[16:35] So, yeah. Hopefully, at some times there will be a a lot more than what we have currently. Yeah, let's hope we don't need to work with the at least not with the change sets. That was a horrible experience when I started to using it. Yes. Well, actually, that's one thing that is also different with unlocked packages. At least if you compare to Cheshet, is that currently it's command line only. So there is there is no UI for you to build your package. So well, I think there are some community built tools that may help you to do it. But on the Salesforce side, it's a Salesforce side. It's only you have to do everything with a command line. So, well, usually with this kind of project, you will set up Scratch Org and continuous integration and deployment. So. If you set up everything correctly, you have to do it only once, and then even your developer won't notice they are creating package. They will just push to a repo, merge a branch, or whatever. Everything will be done behind the scene by the continuous integration and deployment. But if you are just an admin starting with unlocked packages, you may want to look in the setup where you can create them. And so far, there is no UI for for that. Okay, I see. That's indeed a challenge for admins or some

[18:05] consultants who do not write code. They they have hard time to really understand DX, understand the scratch work and unlock packages. We we definitely see that challenge in in the ecosystem. Okay, so we discussed a lot about the basic of unlocking package. Now let's get some nitty gritties and really get to the fun part. That something was not well documented in the internet as of now. So let's talk about the the custom object or custom fields. So there are at least two scenarios. So when we create a new version of our local package and then push to the environment, we remove a custom field. What would happen, right? And then another scenario is if we totally delete the package from the environment. What would happen? Could you help us to clarify these scenarios? Yes. So in the first scenario, where you will create a new version of the package where one of the field is removed, what will happen is that this field. Is marked as deprecated, but it's still in the org, so you won't get. It won't be available in a page layout or anything. It just. Marked as deprecated, but the field is still there, meaning that the data is still there. So you can still export your data, and if later you want to, let's say, recreate the field because either it was

[19:35] a mistake or there are some business changes and you need the field back, you still have the data, so you don't have anything to fear about this. Removing a field from a package version will just deprecate the field, but keep your data, so you are safe in this specific scenario. Right. I also yesterday had a quick test. So when I go to the setup, then the object manager, I go to the custom object and go to the specific field that was removed from the newer version. Then there is the deprecated message on the page. That's the place we see this message, right? Yes. Okay. I see. Okay. That's a good explanation. How about when we uninstall the package? What would happen? Well, in this case, you need to be more careful. But I would say that if you go to install package under setup and click uninstall. You are, I mean, you know what you are doing. So in the other case, you could like remove a field by mistake, for instance. And it's fine because you won't get any data loss. In this specific case, when you uninstall a package, it will delete everything. That means that all the fields, all the custom object will be gone, so is the data. But what Salesforce is doing is that when you uninstall the package, it will give you a link with like a zip file with all the exported

[21:05] data that were in the the fields you deleted. So, if you go to install package, you have all your package installed, and at the very bottom of the page, there is a list of uninstalled packages. And you have a link that will give you the zip file with all the data. What you need to be careful about is that this file is only available for twenty four hours. So, if you want to keep your data, uninstall the package, keep the file, and keep it on your hard drive or whatever. But you need to download it right away, otherwise. It may be less three days after. I get maybe that's a must to take action once you uninstall a package. Then immediately download that backup file in case you need it later. Yeah, I mean, even if you think you don't need it, I don't think it's a yeah. Exactly, just just take it and then it's just CSV format like you that you like you are used to in Data Loader. So you if you need to reinstall the package later, you will have to re-upload manually the data. But at least it's a regular CSV format and you have the data. It's not lost.

[22:19] Hey, it's she here, your host. I really appreciate you listening to the show. If you enjoy our content, don't forget to go to our website, check the show notes of the episode, which contains the links to the points we just discussed in the show. Those are the things we consider important, but don't have time to cover in the talk. So after listening to this episode, do head out to our website SalesforceWay. dot com and find more useful information over there. Now let's get back to the show.

[22:57] Um, so if we get back to the unlock package, um, what we mentioned is like how to use it, how to create the package, create the version. Those things has already existed existing in the other technology stack, like in Microsoft, you know, front end, for example, in the npm package. We do see these tech kind of terms already, like existing for yeah decades. Like the package and the versions, but here in Salesforce, a unique challenge is that we already, for a lot of customers, we already have the work. We already have a happy soup metadata. If people don't know what happy soup is, it's just a mix of all the metadata from all different teams, vendors that deploy the metadata. Along the time, nobody really has a whole picture of what's going on in this whole environment. So, for the customers like these, how do they start to use the new unlocker packages? So, so actually, the best way to understand a lock package is if you never used it, is to compare it to what you install from an AppExchange. Okay. So you know you go to to AppExchange, you will download whatever AppExchange you want to use, and then instead of just having an API soup with all the metadata mixed up. Or the project inside the same org, you can just go to Setup and look at Install

[24:27] Packages. You can see your Apex Change Package. Click on it, and it will list you all the metadata that is part of this package. And if you go, I don't know, to an object and to a list of fields, you can see the fields with a small logo on the left saying, "Hey, this field is part of this specific package." So this is the kind of feature that I that are coming to to unlock packages. And you can really say, okay, so this specific metadata is part of this package, and when I deploy it in an organization, like production or any other sandbox, it will flag it as being part of this specific package. So it will help you. Take your API soup and put all the metadata in specific package where they should belong. So there will be one owner of one specific metadata. So one metadata can only be part of one package. So you will say this field is part of the I don't know sales cloud package. This one will be part of the service cloud package. And I say service cub or sales cub. It could be a user. You will split your org as you want, but it will take one metadata and say this is part of this package. And it will help you organize your org much better than how it was before, where you just didn't really know what what field. If you see a field, I don't know where it's used. Well, you just don't have any idea. Here, you can say, "Oh, it's part of the salesforce package," so these guys may know what it's

[25:57] used for. Okay. So, what I heard from you is that we try to, from the existing Happy Soup way, to untangle the environment. We split the metadata into a logic entity, so that we know. For example, we have the integration with System A. As one package, we have our sales cloud as another package. We know these two packages; they are serving different purposes, and then individually, they contain the metadata from that package. Exactly. Okay, is it difficult to untangle the environment? Actually, it is. Yes, so it's pretty easy to start from for a new project. Except maybe you may be afraid of starting with DX because you never tried any project with DX. But when you know how it works, starting a new project is very easy, actually. But trying to convert an existing org to scratch org on undocumented packages is a little bit more difficult. Because for both scratch org and unlocked packages, you need to have a set of metadata that.

[27:21] Doesn't have any missing dependency actually, so let's say I want to to take some custom object and custom fields and say, okay, this custom object A is part of my package A, and this custom object B is part of my package B. Okay, so that seems very easy to split actually, but maybe it's more difficult than you think because maybe on both layouts. There will be a field referencing the other object, and then it will be like, oh, I can't put my layout in my package because it's referencing another metadata that isn't part of this specific package, and so the scratch org won't build, and the unlocked packages won't build too because there is a missing dependency. So you need to have a repo that is self-contained and that doesn't have any missing dependencies inside the metadata. Okay. Have you done things like this for your customers? Yes. Actually, we are working currently with one customer. We haven't done one hundred percent yet. We started small. Actually, we started with a small project that was completely separated from everything that was in the org already. We just used the Salesforce platform, but no existing object. So this was easy. We set up everything. We we tried our lock packages. We are working, etc. But then, when we started to work on splitting the org in separate project, this and

[28:51] we are still working on it. Actually, it's a little bit more complicated because there are still.

[29:01] Dependencies that are hard to break, so you need to take some time to refactor your code to to be sure it can be splitted in separated packages, and they are also part of some metadata. For instance, I said that the object metadata is splitted now between the object definition and the fields. But there are still a few stuff remaining in the object definition. For instance, if you have an override or a compact layout or stuff like that, that may reference some stuff that you don't want to import in your package. So there is still some work to do. It's not just a you go there. You said this package will take this metadata and this metadata will go there. You just need to refactor. Both code and maybe some metadata to be sure that you can split everything in separated package. But I know that in your podcast with John Daniel, he talked about it. But how he splitted everything in his org? Yeah. Yeah, with dependency injection. Refactoring code, yeah, refactoring code is really high skill for developers and it's a highly demanded skills. But unfortunately, a lot of code we see in the real life in the Salesforce, they are not well designed. They have a lot of like hard coded dependencies which should not have been there. But those things, it's just just Difficult to break. So when you when we design the package,

[30:31] it's really hard for us to draw the clear boundaries between these packages, right? Yes, exactly. That's unfortunate case. Okay.

[30:42] So we have talked a lot from the concept level. So I think our audience has got a really good understanding. Let's walk through practically how we can use the unlock packages. But it's audio version, so I will just ask a quick questions. Then you can answer, like in a concise. Okay, sure. How does? Okay, so. I want to start with the unlock package, and so it's a clean environment. So there's no dependencies. What should I do? Well, so first we'll start by uh. So let's say we move full on DX and use scratch org. So you will start working as you would do. Even without a locked package, so you will start working on your scratch org, create fields, work on Apex class or Lightning components, and do whatever you need to do. Okay, then. You will you will start by creating one package. Maybe you will you will know that from the beginning you need to have two or three package with a common package, or I don't know. You you you can you can understand what needs to be in a base package and split it in two already. But I I would say that for starting. I would start small and then refactor later if I need to. I need to have in mind that I don't need to have dependencies everywhere, but maybe it's easier

[32:12] to say, okay, I have one small project. Let's say I am going to a new client; they have a small Salesforce project. I will build a package that is Salesforce, create everything is a scratch org, pull everything locally, and then there is a specific DX command that is Force Package Create. And I will say, okay, create me a package that is named, I will use maybe Sales Cloud or My Project or whatever name you want, and you will define this package. And then on this package, you will use a second command, which is a force package version create, and you will create a version of this specific package. So you will start by I don't know version one, then create version two, and every time you need to deploy something new and have a new version of your metadata, we'll just run the command again and say, okay, on Monday I created version one of the package and install it in my UAT environment. Then there are some fixes or some new stuff. So either I create beta version of the package to say, okay, I have a sprint of let's say two weeks. And during these two weeks, I will just test my package with a real user to be sure there is no issue. So I will create my package version one dot zero, install it in UAT, testing some stuff. I have some fixes to do. I will create a new version that will be a better version, beta version, that we one point zero point zero

[33:42] point one for instance. And when I'm ready, to because my package version one dot zero is ready and all tests are okay, I will just promote it. I will say, okay, this one is release. It's not a beta anymore. So maybe I I have created seven or ten version of the package version one dot zero that are all beta with different build numbers. At some point, I will say, okay, this one is ready. It's good. I will promote it to release. This will flag this specific 1.0 version to be the one, the true one that we can be that can be used to install in production, and when it's ready, we will install this one to production. Okay, so you just mentioned we can create the versions for the package, and if we do have a version that we want to deploy to production, we have a specific command to promote that version, so that we can successfully deploy to the production. Exactly, it's a safe net in in case we like accidentally deploy something we don't want to production, right? That's to prevent that from happening. Exactly. Okay, but for those non-promoted ones, we can still deploy to like the UAT or some other sandbox. Yes, yes, yes. Also, yeah, you can. You know, there is a four four numbers or. Version number, like a major, minor,

[35:13] patch, and build, and you can can say one dot one dot zero dot three, and create as many package beta version that you that you need to test everything before going to production. So I perceive that by doing this, we somehow separate the development. From the release management, when we do the release, let's say we deploy the package to the whatever environment, we only care about the package versions. And when we do development, developers care about the Git commit the versions in the Git repository. So these two things that somehow separated from for different scenarios. Yes, exactly. It's it's really if you set up everything in your CI on CD, developer may not even know that we are creating package. Or this is part of the release management. And the good thing with the project we had with our app builders is that as everything was created with the CI on CD, they just Didn't have to deploy anything actually, so deployment was just a task that was done. Because they were just pushing their updates to the repository to Git. And then everything was done by the automatic release management, so creating package with scripts, deploying, and so

[36:44] the deployment task as an admin was gone. It was just pushing to Git, and then everything was scripted in GitHub, or whatever Jenkins or Travis CI, whatever you want to use. Okay, I get it. One last question I still want to ask, which is related to one of your open source project, you have or your company open sourced this dependent package management tool, right? Which is a DX plugin. What that? What does it do, and what problem does it solve for us? Well, so when we started to work with with the unlocked packages, there is one thing that is, to my mind, still painful. It's uh, so you can say you can split in several packages. So let's say you have your base package with a few. Fields an object that are used by all the project, a few utils class or metadata that will be used across all packages because it's too common to everything. So we'll create this specific package. And then you will say, I will create a. I will take again the example about sales cloud and service cloud, but again, it doesn't have to be splitted in cloud. But I will create a sales cloud package, service cloud package, and both these packages will need to install first the base package. So you will go to your package definition, which is on your repository. You have a

[38:14] JSON file that will where you set up your your project. You will you will set up the very small part that will say okay my sales class project is depending on this specific unlocked package so I will have two unlocked packages one that need to be installed first and the second that need to be installed after and the issue that we had actually is that we need to to write the dependency on a specific version. So it's not like npm where I can say install like version one dot two at least, but if there is a one dot three, you can still install it. Here it's not working like this. I need to say install this specific version like one dot one. But as soon as we update the the base package with new fields or new utils class or method or whatever, and it moves to one dot two. I need to go to all the the package that depend on this one and update the ID of this base package to say, hey, we have moved to a new version, so now we are we are not using this ID anymore, but this new ID. So this is a little bit painful because, I mean, most of the time I'm not breaking anything, I'm just adding new feature. But still, I need to take the new ID of the base package and update the project definition of all the other packages that depend on this one. So this is

[39:44] still a little bit painful. Most of the time, it's not one change because I have this ID that is on the dependency definition on the package and. But I also have a script for developers that will just create the scratch org, for instance. Because you know, when you create a scratch org, you're just creating the scratch org. You want to create it. You want to push the metadata. You want to create some fake data. You want to assign permission set, etc. So I have a script that you just run, and that will create the scratch org for you. In this script, there is also the same ID, so that means that I have two places where I need to change the ID. Plus, I have also a script for the continuous integration and continuous deployment. That means that I have three three places where I need to update this dependency with the same ID. Okay, so that's quite painful. So right, but I guess in future Salesforce might considering to to solve this problem for us, right? We are supposed to only run run the command and then install whatever dependent packages there exists. Yeah, so that would be the ideal. That's the idea of the plugin we wrote to help us with this specific use case. The command you just run it on your when you are in your DX project. It will read the JSON definition of your project, see all the dependencies that are inside your project definition, and whereas you have one

[41:14] or ten dependencies, it will just pick the ID and install all the dependent dependent package for you. So you just have to run one command. And this command can be run in your CI/CD script, in your scratch app creation creation script, wherever you like. And then you just need to update the ID one time in the dependency section of your project definition. I got it. So, Fabien, if you give me the link to that open source repo, I'm gonna also put it in our show notes for our listeners. Sure, I will. Okay. Thanks, I think it's a good time for us to close up the session. Do you still have something else to say? I think I'm good. You had very good question actually, so thanks, thanks Fabien. So let's hope that we have more developers to learn these unlock packages and give the feedback to Salesforce. Well, I mean, it helped everybody to get our development experience better. Cool. Okay, thanks, Fabien. So, talk to you next time. Yeah, thanks for having me.

[42:25] I'd like to thank you very much as you have reached the end of the show. If you find our content useful, please let me know and connect with me. If you are using Twitter, don't forget to let me know the number one point you have learned in this episode. All the information about the show, about me, the RSS, the iTunes, my Twitter, the newsletter, and the other episodes can be all found at our website SalesforceWay.com. So thank you again, and see you next time.

Leave a Reply