Comments (3)
@StefanMaron, thank you for your feedback and that you are trying it out :). I will check and comment on the state.
from openfeature-al.
@StefanMaron, will it be possible to add a code?
Can you try to use this example https://github.com/vody/CustomerRewardsFFExample with your flag identifier?
from openfeature-al.
with this code, if I just do what I described above, am seeing the fields being cleared but not removed.
Eventually, after a few relogs, I can see the field being gone completely.
I also tried die Condition provider. And I did not see those issues (yet) with this one.
pageextension 50100 CustomerList extends "Customer Card"
{
layout
{
addlast(General)
{
field(Testfield1; 'MYCOOLTESTFEATURE')
{
ApplicationArea = MYCOOLTESTFEATURE;
}
field(Testfield2; 'DEMOFEATURE')
{
ApplicationArea = DEMOFEATURE;
}
}
}
trigger OnOpenPage()
var
FeatureMgt: Codeunit FeatureMgt_FF_TSL;
begin
if FeatureMgt.IsEnabled('MYCOOLTESTFEATURE') then
Message('Yayyyay!');
end;
}
codeunit 50100 "TestInstall"
{
Subtype = Install;
trigger OnInstallAppPerCompany();
begin
AddCustomFeature();
end;
local procedure AddCustomFeature();
var
PostHogProvider: Codeunit "PostHogProvider_FF_TSL";
SecretProvider: Codeunit MySecretProvider;
ISecretProvider: Interface "Secret Provider";
PersonalAPIKey, ProjectID : Text;
begin
// App PostHog provider. It will load all available features automatically.
ISecretProvider := SecretProvider;
ISecretProvider.GetSecret('PostHogPersonalAPIKey', PersonalAPIKey);
ISecretProvider.GetSecret('PostHogProjectID', ProjectID);
if not PostHogProvider.AddProvider('SMC_POSTHOG', PersonalAPIKey, ProjectID) then
Error(GetLastErrorText());
end;
}
from openfeature-al.
Related Issues (16)
- Deleting a feature flag does not disable functionality HOT 2
- Move to Harness Client API HOT 1
- Optimizely Provider HOT 1
- SetContext Operation exceeded time threshold (AL method) HOT 1
- Provider_FF_TSL(Table 70254346).ConnectionInfo operation exceeded time threshold (SQL query) HOT 1
- Sorry, the current permissions prevented the action. (TableData Condition_FF_TSL Condition Read: OpenFeature) HOT 1
- Manual Decision Provider HOT 1
- Document GPL-3.0 license use for Enterprice conditions HOT 1
- Failed to copy environment HOT 1
- Extension somehow breaks other extensions install HOT 16
- Add Early Access Features for PostHug provider
- Validate flags on demand for a background session HOT 1
- AL-Go Setup
- PostHog report identities
- RunTime App for OnPrem / NuGet App Artifact for PTE Extensions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openfeature-al.