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

Categories

  • General Admin
  • User Traits
  • Best Practices
  • System Admin
  • A/B and Multivariate Testing
  • 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.Some readers
  • 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.Some readers
  • 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.Some readers
  • Is it possible for Flagsmith to push updated values to clients?
    No, We don't currently support real time flags. In other words, when a value gets updated in Flagsmith's console, the client will NOT know the updated value. However, we do have webhooks which people use with their own real time infrastructure.Few readers
  • In the React SDK, is it possible to separate the initialization, like in the Node.js API?
    Yes, there's a preventFetch option in flagsmith.init for this exact usecase. Then you can call identify/getFlags whenever you want. This option makes possible to separate the initialization, like in the Node.js API. In other words, initialize without getting flags and then get flags later.Few readers
  • Is it possible to clone a flag?
    Unfortunately at this time Flagsmith does not have that capability. What this means is that we are NOT able to create a 'template' flag that includes all tenants/segments and then cloning that flag with all the correct settings ready for use.Few 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.Few readers
  • Can I copy Features across Environments?
    Features are shared across Environments automatically.Few 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.Few 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/Few readers
  • Can my application send multiple values with remote config?
    Yes, that can be done with Flagsmith.Few readers
  • Is it possible to set a flag that has complete precedent over all users & segments?
    Unfortunately at this time Flagsmith does not have that capability. In other words, it is not possible to allow turning off a feature and later turning it on again without having to think for which segments the feature was initially turned on.Few 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/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 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 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
  • Is it possible to create two keys in one environment and have different permissions?
    You could proxy the Flagsmith API to achieve this. With this you would be able to have for example two environment keys in one environment, one can only get data, another one can get and set (like traits).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 it possible to have a calendar based release using Flagsmith?
    Go to your feature menu and select the feature you want to modify. Then click on "Create Change Requests". Create a tittle, description and select a day and time to release the feature. Select the number of people to approve changes to the feature. PS: It iFew readers
  • Does Flagsmith support Kill Switch feature?
    Yes - it can be accomplished with just with a simple flag. You can find more information in the following link. https://docs.flagsmith.com/guides-and-examples/flag-lifecyclekill-switchesFew 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
© 2023 Flagsmith Help Desk