How to manage profiles?

Hi there

Has the new build of airkit removed the ability to manage profiles? I’m sure there used to be a delete button in settings to remove a profile, and the documentation mentions a + button in the top right to add a profile but I’m seeing neither in 18.2

Does anyone know how to add and remove a profile? Thank you in advance! I’ve tried in Firefox and Chrome, and no buttons!

Hi @Chris_Gray!

You’re right: the most recent version of Airkit (and all anticipated future versions) no longer allow profiles to be added or deleted. :frowning: This is part of a larger push to tie profiles and deployments together and remove the mental overhead that comes with managing them separately.

What were you looking to do by adding/removing a profile? It’s probably possible to achieve something similar with the profiles that come out-of-the-box.

Hey @Chandra_Bergmann

thanks for the reply!

I wanted to deploy a new version of our app with a totally different set of config - mapped to a different integration, as well as different profile/settings values (primarily a setting with a language code)

So essentially I would have:

Deployment 1: “English Production” Profile: Production (setting: Language: EN + Integration: UK API)

Deployment 2: “Netherlands Production” Profile: Production (setting: Language: NL + Integration: Europe API)

Just a note - when I say Integration, we have a Custom Integration for our api, with 2 connected accounts (Europe and UK) which use different tokens to access the same api schema

Hope this makes sense

thanks

This does make sense!

In cases like this, best practice is typically to create two different apps: one for the English Production, one for the Netherlands Production. There’s a lot of small things that changing the Language of an application can do, and even basic Web Controls like Labels get complicated quickly if each one of them needs to be able to display two separate versions.

If you’ve already built out the bulk of the desired flow, you can duplicate what you have by exporting it and importing the zip file. Any further changes made to the overall flow will need to be applied to both apps, but it should be easier to manage individual Web Controls when you don’t have to worry about displaying them in two different languages.

Does that fit your use case?

Thanks

I was hoping to avoid this as both countries are identical and this is an extremely complicated aikit implementation (maintaining upgrades across 2 apps is going going to be twice the effort) - We have a way to make the labels multilingual pretty easily using airdata.

How will profiles be managed going forwards? will all apps just get generatred with Dev/QA/Prod only?

thanks

Chris

That’s correct: going forward, all apps will come with Dev/QA/Prod profiles, and those will be the only profile available.

That said, if your Airkit implementation is sufficiently complicated, and you have an easy way to make the labels multilingual, you might be able to keep the English and Netherlands versions in the same app and track when version you’re in via something other than profiles. The first thing that comes to mind is initializing a Global variable at the start of each Journey, and configuring this variable so that it tracks whether the app should behave according to the English or Netherlands version. This Global variable could be used manually set the language in the labels and manually define which API to make calls to – which could either be straightforward or prohibitively cumbersome, depending on how many API calls a Journey requires.

Thanks Chandra

Yeah The app is very complex so this really isn’t going to work with multiple apps - I’ll see if I can make something work with your suggestion thank you

I’ll have a chat with our account manager as this is a bit of a deal breaker for us in terms of how our apps our setup

thanks again for your help

1 Like