Questions tagged [feature-management]
The feature-management tag has no usage guidance.
26
questions
1
vote
1
answer
16
views
I am trying to use method FeatureManagement.changeProtection to make Custom Metadata Object public but it doesn't work
I am trying to use method FeatureManagement.changeProtection to make Custom Metadata Object public but it doesn't work. I know that Custom Metadata types and Custom settings and External and Big ...
0
votes
1
answer
31
views
How do I define a dependency in 2GMP for certain Salesforce feature like Quote object?
How do I define a dependency in 2GMP for certain Salesforce feature like Quote object?
I need to release a package extension which should depend on Quote object.
How should I define such dependency?
...
0
votes
1
answer
27
views
Is there a way to implement feature parameters collection inside post install script?
Looks like Post Install script doesn't update Feature Parameters values.
I tried to use Without Sharing context and enqueueing a queueable job but nothing helps.
public inherited sharing class ...
1
vote
1
answer
42
views
What can be the possible cause of error "Unable to retrieve feature parameter Display. No results found."?
What can be the possible cause of error Unable to retrieve feature parameter Display. No results found.?
The line which fails is the following:
System.FeatureManagement.checkPackageIntegerValue('...
1
vote
1
answer
72
views
Is there any way to set feature parameters for beta versions which did not pass security review?
Is there any way set feature parameters for package beta versions which did not pass security review?
Assuming you are going to release a new version of package which will include feature parameters.
...
0
votes
1
answer
56
views
How to add feature based limit in second generation package scratch org?
I am trying to develop a second generation package with a scratch org, I need to add feature based limit parameters, however since scratch org in second gen package don't have the actual package, I ...
2
votes
1
answer
562
views
What does WDC stand for?
It's a feature for badges and thankyous that can be awarded to internal users.
There is lots of documentation on what it does and how to use it, but I am having the most difficult time finding the ...
3
votes
0
answers
192
views
Unable to perform Create, Edit, Delete on Protected Custom Object records in packaging org
I am trying to understand how the protected custom object works within a package context. With the help of Salesforce support, I was able to enable Feature Management option in the sample packaging ...
3
votes
0
answers
60
views
Feature Management Testing for Beta Package
We have used feature management for one of the packages. We would like to test the beta package, but we can't see the option to set Feature Management parameters in License Management Org?
When we try ...
2
votes
1
answer
518
views
Developing and deploying code using a trunk-based model in Salesforce
Disclaimer: I am not a Salesforce developer. I am trying to understand how to develop and deliver "features" incrementally to a production environment using trunk-based development.
Trunk ...
2
votes
1
answer
739
views
Create Scratch Org Definition file
To create a scratch org, a Scratch Org definition file should be created. Is there any way to identify the list of features and settings required?
Note: Our org has a lot of features as it is ...
0
votes
0
answers
51
views
Different license types for AppExchange app
We want to sell 2 different license types for our AppExchange app: Admin and User. The difference is that only an Admin can make changes to the custom metadata types that define the app configuration.
...
0
votes
1
answer
318
views
How do the FeatureManagement class methods identify the package?
The FeatureManagement Class methods include the word package e.g.:
checkPackageBooleanValue(String apiName);
and the apiName passed in doesn't have any namespace in the documentation examples. So ...
6
votes
0
answers
158
views
2nd gen package version with ancestor is failing with custom object with "protected" visibility
I'm having issues when creating a package version with ancestor that contains a custom object with visibility set to "Protected". Everytime I try I get this error:
xxx: Cannot modify managed object: ...
10
votes
2
answers
342
views
Use FMA Features for per-user licensing
As I understand the Salesforce FMA, you can enable certain Boolean toggles per LMA license. But those licences are per org, either:
As Site-wide license for all users of a subscriber org
An amount of ...
3
votes
0
answers
130
views
Managed Package: Feature Parameters - Advanced Usage
In our managed package we are planning to use Feature Parameters (in particular LMO to Subscriber, boolean) to be able to enable/disable feature in subscribers orgs right from LMO/FMA.
After reading ...
3
votes
1
answer
201
views
Fine-grained app licensing using FMA and Permission Set Groups
Salesforce.com own apps are licenced using a fine-grained hierarchy of user licenses and add-on licences where each license has costs and restricts what I can do in an app.
As an ISV selling Managed ...
2
votes
1
answer
58
views
Revert Public Visibility to Protected Prior to Packaging
I have a regular custom object that was marked as Protected in my 1GP packaging org. It has been included in the last few releases of the package as Protected.
In my DX Scratch Org, I had to ...
5
votes
1
answer
2k
views
Lightning: Hide Utility Bar Item based on conditions
We are using utility bar component to display notifications for users: https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_js_utility.htm
But according ...
2
votes
1
answer
64
views
How to restrict your lighting component to display only in Internal (Employee) Community and not in Partner or Customer Communities?
How to restrict your lighting component to display only in Internal (Employee) Community and not in Partner or Customer Communities?
Has anyone tried to do the above?
Can you do it using Feature ...
12
votes
3
answers
1k
views
Efficiently merge handle parallel feature branches in SFDX
Imagine a team of 5 developers using DX scratch orgs (using Salesforce' Falcon Template) for working on multiple features in parallel.
They start from a clean packaging org and a clean Git master. ...
2
votes
1
answer
247
views
FMA parameter update in LMO org using apex
We recently started using FMA app to manage some features in our managed package app. One of the requirement we have right now is on License create/update we need to update one of our FMA parameter (...
2
votes
1
answer
731
views
How to override System.FeatureManagement.checkPackageBooleanValue in development org
We are trying to use - Feature Parameters in one of the applications we are building. Got most of the info from https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/...
3
votes
0
answers
163
views
Design pattern to check FMA in multiple places in Lightning Component
We are building a managed package, we are having 10 business modules which is built on lightning component.
Recently we got a requirement to render the certain modules based on the feature management ...
1
vote
1
answer
680
views
Feature based branching [closed]
Wanted to get few suggestions from the community regarding feature based branching strategy. We are a large healthcare company with fair bit of presence on Salesforce.com platform.
We currently ...
17
votes
3
answers
18k
views
How can I Efficiently Check if the Running User has a Custom Permission?
Is there any way to check in Apex if the running user has a specific Custom Permission? The best I know of using available methods involves two separate SOQL queries:
public static Boolean ...