HI,
looking at this video Headless Strapi Integration - Divhunt No-Code Web Builder - YouTube
I’m also using Strapi, but will change the strapi I’m using in dev to one in prod, hence the image prefix will change.
Thus I want to have a single place (a variable or function) where I’ll setup the value in the prefix. I’ll call it instead of the Replace function used in the video example.
Sadly we don’t have UI that can combine 2 variables yet into single input field.
What you can do is use UI to get both values and then wrap both values in brackets {}
For example if you have used UI to get $strapi->get(‘endpoint’) then wrap it manually to ${strapi->get(‘endpoint’)}
Then do the same for URL and merge both strings into text input field.
Could you share your domain name and I can help you do that?
the combined is now working with just ${strapi->get('endpoint','')}${rest.strapisocieteresult->get('data')->get('attributes')->get('logo')->get('data')->get('attributes')->get('url')}