Go to website
Definitions and best practices for implementing Flagsmith
Is it possible to clone a flag?
Q) Is it possible to clone a flag? This would mean create one 'template' flag that includes all tenants/segments. After cloning that flag you would have a flag with all the correct settings ready for use. A) Unfortunately at this time Flagsmith does not have that capability.
Can I copy Features across Environments?
Features are shared across Environments automatically.
Is there a way to await the response from the method bullettrain.identify()?
Identify returns a promise, so yes. Identify will resolve after the new flags have been resolved so flagsmith.getValue / hasFeature, etc. will be updated after the promise resolves.
Is it possible to set a flag that has complete precedent over all users & segments?
Q) Is it possible to set a flag that has complete precedent over all users & segments? This would allow turning off a feature and later turning it on again without having to think for which segments the feature was initially turned on. A) Unfortunately at this time Flagsmith does not have that capability.
Can I bulk change flags?
You can use our API to bulk change flags. There's no way currently within our UI to bulk change flags.
How do I identify an anonymous user? ie one that is not logged in.
In this case you should generate a hash for the user on your client side, cookie it, and use that to identify the user.
Is it possible for Flagsmith to push updated values to clients?
Q) Is it possible for Flagsmith to push updated values to clients? So when a value gets updated in Flagsmith's console, the client will know the updated value? A) We don't currently support real time flags. We do have webhooks which people use with their own real time infrastructure however.
Can my application send multiple values with remote config?
Yes, that can be done with Flagsmith.
Is there an upper limit on the number of unique users I can create?
No, not at all. There are pricing bands depending on the number of monthly API calls from the SDKs.
Can I create flags via an SDK API?
To create flags, you will need to use the REST API directly. More info on the REST API here: https://docs.flagsmith.com/api/
Can I create Environments using the API?
Yes you can create environments via the API - there's info on how to do this here: https://docs.flagsmith.com/clients/rest/
Is there way to render traits in users list in your webUI
We don't have the option to view in the webUI currently. You can get use Traits via the API.
What is the difference between Feature Flag and Remote Config?
A Feature Flag is an on/off. Remote Config, rather than just an on/off allows you to set values to strings, bools or numbers. It is often used for things like api keys and adding settings to components.
When I query for feature flags what method / API should I be using to pass the user email address?
You need to identify the user, so you would call - bulletTrain.identify(""""); More on user Identities here: https://docs.flagsmith.com/managing-identities/
In the React SDK, is it possible to separate the initialization, like in the Node.js API?
Q) In the React SDK, is it possible to separate the initialization, like in the Node.js API? In other words, initialize without getting flags and then get flags later? A) Yes, there's a preventFetch option in flagsmith.init for this exact usecase. Then you can call identify/getFlags whenever you want.
Is there any way to export a config in Flagsmith?
There's not at the moment. You could write a script to export things via the API.