Flagsmith Help Desk
Go to website
Back
Articles on:Best Practices
Definitions and best practices for implementing Flagsmith

Categories

  • General Admin
  • User Traits
  • A/B and Multivariate Testing
  • Best Practices
  • System Admin
  • Segments
  • Open Source
  • Data Management
  • Flag Analytics
  • Integrations
  • How do I identify an anonymous user? What about running AB tests with anonymous users?
    In this case you should generate a GUID/hash for the user on your client side, cookie it, and use that to identify the user. In terms of running tests against anonymous users, Flagsmith needs some sort of consistent ID that you store against the user on the client, otherwise it's impossible for us to serve a consistent test to that user. Generally people just create a random GUID and then store it on the client (e.g. using cookie on web) but it depends on your client implementation.Very popular
  • 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.Popular
  • 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.Popular
  • 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.Some readers
  • 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.Some readers
  • 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.Some readers
  • Can I copy Features across Environments?
    Features are shared across Environments automatically.Some readers
  • 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.Some readers
  • 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.Some readers
  • 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/Some readers
  • 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.Some readers
  • Can my application send multiple values with remote config?
    Yes, that can be done with Flagsmith.Some readers
  • 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/Some readers
  • 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.Few readers
  • 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.Few readers
  • 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/Few readers
  • Is it possible to create two keys in one environment and have different permissions?
    Q) I would like to have two environment keys in one environment, one can only get data, another one can get and set (like traits). Is it possible to create two keys in one environment and have different permissions? A) You could proxy the Flagsmith API to achieve this.Few readers
  • What happens if Flagsmith is down? Does the feature revert to defaults?
    Flagsmith Cloud is built on a fault-tolerant and redundant architecture, so you can be assured we have best in class uptime. However, we advise shipping your app with sane defaults in the event that it can't reach our API. RE: Does it revert to defaults? This would depend on your architecture.Few readers
  • Is the function startListening(ms) something that can "auto-fetch"?
    Yes, that hits the API for new flags every x milliseconds. Follow-up question: Will such startListening(ms) API calls be counted in monthly quota? Answer: Yes, this will count against your monthly API quota.Few readers
  • Is it possible to have a calendar based release using Flagsmith?
    Q) Is it possible to have a calendar based release using Flagsmith? ie deploy features but enable them on April 1st, and until then they are disabled? A) This is on our roadmap but unfortunately not a feature we provide today.Few readers
  • Does Flagsmith support Kill Switch feature?
    Yes - it can be accomplished with just with a simple flag.Few readers
  • When querying identities, is it possible to sort by creation date?
    Unfortunately this feature is not available right now. You may want to connect to your analytics platform such as Amplitude or Mixpanel using our integrations.Few readers

Not finding what you are looking for?

Chat with us or send us an email.

  • Chat with us

© 2022 Flagsmith Help Desk