<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nicolas Pouilloux on Medium]]></title>
        <description><![CDATA[Stories by Nicolas Pouilloux on Medium]]></description>
        <link>https://medium.com/@npouilloux?source=rss-e8c1087bad4f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*SoO3KCmoe6em6Bi_HT9NEg.png</url>
            <title>Stories by Nicolas Pouilloux on Medium</title>
            <link>https://medium.com/@npouilloux?source=rss-e8c1087bad4f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 01:26:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@npouilloux/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Lightning Web Components: Build Once, Use Everywhere]]></title>
            <link>https://medium.com/inside-the-salesforce-ecosystem/lightning-web-components-build-once-use-everywhere-4678b05131e8?source=rss-e8c1087bad4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4678b05131e8</guid>
            <category><![CDATA[isvs]]></category>
            <category><![CDATA[tech-experts]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[lightning]]></category>
            <category><![CDATA[salesforce]]></category>
            <dc:creator><![CDATA[Nicolas Pouilloux]]></dc:creator>
            <pubDate>Tue, 21 Jul 2020 14:01:03 GMT</pubDate>
            <atom:updated>2020-07-21T14:01:03.819Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7xlJnBqVLNOyEWIJkTEDQw.jpeg" /></figure><blockquote>As Technical Evangelists, we work every day with EMEA ISV partners, and we often get some interesting questions around all of our great technologies. We thought it would be a great idea to share these common questions and answers with everyone who might be interested. — Nicolas Pouilloux &amp; co-author <a href="http://www.medium.com/@kevin_reece">Kevin Reece</a></blockquote><p>Lightning Web Components is the Salesforce lightweight frameworks built on web standards that leverage new language constructs available in ECMAScript 7 and beyond.</p><p>Sounds awesome, right? That’s because it is. Do you want to know the best part? <a href="https://developer.salesforce.com/docs/component-library/documentation/en/lwc">Lightning Web Components</a> can be used directly in core products such as Sales and Service Cloud, but also in App Cloud (Platform) and Community Cloud — the same component, re-used in multiple products. Let’s take a look at how this is done.<br> <br> <strong>Prerequisites</strong><br><em> To follow this guide, you must have </em><a href="https://trailhead.salesforce.com/en/users/isvteprograms/trailmixes/isv-product-team-salesforce-dx-beginner"><em>Salesforce DX</em></a><em> setup on your machine, be authenticated against a DevHub, have the GitHub CLI installed and setup VS Code!</em></p><h3>Clone and Open the Project</h3><p>First, let’s start by cloning the Github repository containing some example code.</p><pre>git clone <a href="https://github.com/nicopollux/lwc_flow_communities.git">https://github.com/nicopollux/lwc_flow_communities.git</a></pre><p>Now, you can open the cloned project in VS Code by either running this command from the cloned directory</p><pre>code .</pre><p>or manually by selecting File &gt; Open and select your local folder.</p><h3>Top Tip 💡</h3><p>VS Code has many shortcuts already created for Salesforce DX, to access them simply press CMD+Shift+P together and you will see them all, and can easily search for the one you are looking for.</p><h3>Create your Scratch Org and Push the Project Source</h3><p>Creating your first scratch org is super easy, by selecting the VS Code shortcut “SFDX:Create a Default Scratch Org”, or typing this command</p><pre>sfdx force:org:create -f config/project-scratch-def.json -s -a &lt;ALIAS&gt;</pre><p><strong>Note</strong>: <strong>-s</strong> sets this to be your default scratch org and <strong>-a</strong> is the alias name you want to give to this Scratch Org<br><br>Once your scratch org creation has completed, you can quickly push your newly cloned metadata to the org by selecting the VS Code shortcut “SFDX:Push Source to Default Scratch Org” or typing this command</p><pre>sfdx force:source:push -u &lt;ALIAS&gt;</pre><p>Now you have a scratch org with your super sweet carousel Lightning Web Component, you can open the org and check it out, you can select the VS Code shortcut “SFDX:Open Default Org” or typing this command</p><pre>sfdx force:org:open -u &lt;ALIAS&gt;</pre><h3>Assign the Permissions</h3><p>Like every good Salesforce ISV, this example contains a permission set to control access to your new app, so before we sneak a peek at the finished component, we need to assign this permission set to our scratch org user, and that can be done via the Salesforce Setup; or, if you prefer the CLI, you can script the assignment and opening of the org to the new component.</p><p><strong>Permission Set Assignment — Setup Menu</strong><br>To assign the permission set from the setup menu you will first start at Setup → Quick Find → Permission Sets → LWC → Manage Assignments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GGPRYIGLc5-VG5kZH3f7nQ.png" /></figure><p>Once this is done, your user now has access to the app so open the App Launcher → LWC → Welcome tab.<br> <br><strong>Permission Set Assignment — DX</strong></p><pre>sfdx force:user:permset:assign -n LWC</pre><p>followed closely by</p><pre>sfdx force:org:open -u &lt;ALIAS&gt; -p /lightning/n/Welcome</pre><h3>Discover Lightning App Builder</h3><p>The Lightning App Builder is a point-and-click tool that makes it easy to create custom pages for the Salesforce mobile app and Lightning Experience, giving your users what they need all in one place.<br> <br>So, how did that component make its way onto that page? Let’s check it out by editing this page, and that can be quickly accessed from the settings icon and ‘Edit Page’ and when Lightning App Builder opens, you will see the carousel component in the ‘Custom’ section at the bottom of the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*leYG-C0dO6rQ9uSq-Rflow.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*ZRsp6Ia8gvSmEZ73cRVPgQ.png" /></figure><p><strong>Fun Fact: </strong>LWC components are not automatically available to Lightning App Builder, or Community Experience Builder, but it is really easy to expose the component to these tools, and to show you how, lets head back to VS Code and open the carousel <strong>(force-app/main/default/lwc/carousel.js-meta.xml)</strong> and it will look a little like this</p><pre>&lt;target&gt;lightning__AppPage&lt;/target&gt;<br>&lt;target&gt;lightningCommunity__Page&lt;/target&gt;<br>&lt;target&gt;lightningCommunity__Default&lt;/target&gt;</pre><p>As you can see, the ‘<strong>lightning__AppPage</strong>’ exposes the component to Lightning App Builder and ‘<strong>lightningCommunity__xxx</strong>’ exposes to Community Experience Builder.</p><h3>Create a Community and re-use the component</h3><p>It is super easy and fun to set up a Community, and you should definitely spend a lot of time on this in future so you don’t miss the amazing features of this product, but this will shortcut the steps to a basic community to show the amazing carousel component.<br> <br><strong>Create the Community — Setup menu</strong><br>In the Quick find, search for Communities Settings → Enable Communities → Save<br> <br> Once you have been redirected to the All Communities → New Community → Select the template you love (we 💙 Customer Service) → Provide a name → Create</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_P2kzm-NNEVT-H-VbdVnaw.png" /></figure><p><em>Wow, that was really quick! <br> </em><br>The next step is to open the Community Builder and find that carousel component to garnish your slick Community.</p><p>Open the Toolbox on the left side of the screen and you will see the Standard and Custom Components that are available to the Community Experience Builder and if you scroll down to the bottom, voila, there is the very same Lightning Web Component, without any additional configuration, ready to delight your community users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RuCqr0ezOO3cM_5Atp9ojg.png" /></figure><p>You have gone from cloning a repo to creating a community and utilizing your Lightning Web Component for all users interacting with your customer, from their Employee in the Lightning App Builder to their customers in the Community, with <em>clicks, not code</em> in less than 10 minutes. This is the power of the Salesforce Customer 360 Platform.</p><h3>Summary</h3><p>Consider how your Lightning Web Components can be built to be utilized in every Salesforce UI tool, giving you greater flexibility in your app, and by not duplicating components, you are simplifying your package and reducing maintenance effort and cost.<br> <br>Also, choosing to expose your innovation to your customers can enable them to create engaging experiences for all their users, helping them to achieve their business goals.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4678b05131e8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/inside-the-salesforce-ecosystem/lightning-web-components-build-once-use-everywhere-4678b05131e8">Lightning Web Components: Build Once, Use Everywhere</a> was originally published in <a href="https://medium.com/inside-the-salesforce-ecosystem">AppExchange and the Salesforce Ecosystem</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shield Platform Encryption for ISV: Part One]]></title>
            <link>https://medium.com/inside-the-salesforce-ecosystem/shield-platform-encryption-for-isv-part-one-9597c1020e2d?source=rss-e8c1087bad4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9597c1020e2d</guid>
            <category><![CDATA[isvs]]></category>
            <category><![CDATA[tech-experts]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[platform-encryption]]></category>
            <category><![CDATA[shield]]></category>
            <dc:creator><![CDATA[Nicolas Pouilloux]]></dc:creator>
            <pubDate>Thu, 10 Jan 2019 15:01:01 GMT</pubDate>
            <atom:updated>2023-07-06T09:26:29.536Z</atom:updated>
            <content:encoded><![CDATA[<h3>Shield Platform Encryption for ISV</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6s7hDYQ4dhl9BxSxEsvQOg.jpeg" /></figure><p>Congratulations! You’ve made it through the process and now have an app on AppExchange. But how do you ensure your app will work in an encrypted Salesforce Org? In the first part of this two-part blog series, that’s just what we’ll discuss: How to Test your App against a Shield PE activated Org?</p><h4>What is Shield Platform Encryption?</h4><p>I will not give a very detailed explanation here since I assume that you likely already have some knowledge of what Platform Encryption (PE) is — but if not, I recommend you watch these two short videos on <a href="https://youtu.be/dCt2Tzsum2Y$">Shield</a> and <a href="https://youtu.be/_LwCebmiYxk">PE</a>.<br> <br>Shield PE is one of the three features that compose Shield with Event Monitoring and Field Audit Trail. The purpose of PE is to allow a customer to add an extra level of security and compliance to sensitive, classified, regulated, and private data for many various reasons like regulatory compliance, internal policies or contractual obligations.</p><p>Shield PE is natively integrated with key Salesforce features and is using strong encryption at-rest capabilities with customer-controlled keys. A customer can generate and manage his own key material directly from the Setup UI or programmatically via the API. <a href="https://help.salesforce.com/articleView?id=security_pe_vs_classic_encryption.htm">Compare to Classic Encryption</a> with which you can only encrypt special type of custom text fields, Shield PE lets you protect some Standard Fields, Chatter feed, Search Indexes, Einstein Analytics Data Sets, Files and Attachments, and more.</p><h4>Technical Considerations</h4><p>As I am writing this blog, a customer cannot encrypt every single standard field of his Org — but with every release, we are allowing more and more standard fields to be encrypted.</p><p>It is also possible to encrypt custom fields of the following data types: Email, Phone, Text, Text Area, Text Area (Long), URL, Date, and Date/Time.</p><p>But encrypting custom fields comes with some <a href="https://help.salesforce.com/articleView?id=security_pe_considerations.htm&amp;type=5">considerations</a>:</p><ul><li>You can’t use encrypted custom fields in criteria-based sharing rules</li><li>Some custom fields can’t be encrypted</li><li>Fields that have the Unique or External ID attributes<em> (available if encrypted with the ‘Deterministic Encryption’ scheme)</em></li><li>Fields on external data objects</li><li>Fields that are used in an account contact relation</li><li>You can’t use Shield Platform Encryption with Custom Metadata Types</li></ul><p>One of the more common considerations is the usage of SOQL Queries. Encrypted fields that use the <strong>probabilistic encryption scheme</strong> can’t be used with the following clauses and functions:</p><ul><li>Aggregate functions such as MAX(), MIN(), and COUNT_DISTINCT()</li><li>WHERE clause</li><li>GROUP BY clause</li><li>ORDER BY clause</li></ul><p>This last consideration is very dependent on the kind of encryption scheme the customer is choosing — see the picture below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YL4a_oFYEYlcnyw5LK0esA.png" /><figcaption>Choosing the Encryption Scheme for a field.</figcaption></figure><h4>Impact for Customers</h4><p>You have to keep in mind that enabling Shield PE is at first a customer decision. When your package does not support fields to be encrypted, the impact is huge for an ISV Partner:</p><ul><li>The customer can decide to not buy your package</li><li>The customer can decide to remove your package</li></ul><h4>How to Test Your Package</h4><p>The picture below provides a good summary of testing your package:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hJbQPrIt8uANXOaS-_4LwQ.png" /></figure><p>A Managed Package can be tested in three steps and in a <strong>Test Partner Enterprise Org</strong> (or a Scratch Org if you are using Salesforce DX) that you should spin up from your Env Hub:</p><ol><li>Test at the installation phase by encrypting all standard fields first.</li><li>Your customer can also encrypt your <strong>Managed Custom Fields</strong> so you should try to encrypt them also. <em>Since Spring 19, customers can encrypt them </em><a href="https://releasenotes.docs.salesforce.com/en-us/spring19/release-notes/rn_security_pe_diy_managed_package.htm"><em>in a self-service way</em></a><em>, without having to open a case.</em></li><li>Even if the installation was a success, some Dynamic SOQL Queries may not have been spotted. Try to run all your test scenarios (Apex test Class as well as manual test) to make sure your app is still working.</li></ol><p><em>Have questions? Reach out to our Shield PE experts in our </em><a href="https://partners.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F9300000004g27"><em>Partner Chatter Group</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9597c1020e2d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/inside-the-salesforce-ecosystem/shield-platform-encryption-for-isv-part-one-9597c1020e2d">Shield Platform Encryption for ISV: Part One</a> was originally published in <a href="https://medium.com/inside-the-salesforce-ecosystem">AppExchange and the Salesforce Ecosystem</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>