Dynamic URLs in SOTI Surf – Custom Attribute Not Resolving

Solved
FR
Fabian Reder
eikonasystemsschaeflein

Hi everyone,

We’re currently in an advanced phase of our SOTI project and are working on implementing dynamic URLs. The goal is to avoid creating a separate profile for each device and instead use custom attributes to achieve a more flexible setup.

During my research, I came across and implemented the following documentation:
👉 Dynamic URLs in SOTI Surf

The StoreNumber example perfectly matches our use case.
However, in our case, the custom attribute does not seem to resolve properly in SOTI Surf.

Has anyone experienced a similar issue or found a solution for this?
I’d really appreciate any insights or suggestions! 🙏

Best regards,
Fabian

a month ago
SOTI MobiControl
ANSWERS
RS
Robert Schäfer
a month ago

Hi Fabian,

Can you be more specific when you say "custom attribute does not seem to resolve properly in SOTI Surf"?

Is the value set in the custom attribute not appearing as part of the URL at all?

If thats the case, you probably don't have the "send to device" toggle enabled under global settings -> custom attributes.

Kind regards,

Robert

 

FR
Fabian Reder
a month ago

Hi Robert,

thanks for your quick reply! 🙏

The “Send to device” option is already enabled under Global Settings → Custom Attributes.
The issue is that the custom attributes are displayed correctly in SOTI MobiControl, but they don’t get resolved inside SOTI Surf – they simply appear as placeholders instead of the actual values.

So, the attributes are recognized, just not being replaced in the Surf browser.

If you need any additional information or logs, please let me know — I’ll be happy to provide them.

Best regards,
Fabian

RS
Robert Schäfer
a month ago

Hi Fabian,

No worries!

Good to hear that setting is set.

Can you give me the full URL that you have in your lockdown configuration (assuming here that its a lockdown you are using) as an example?

Here's an example of what i would expect to see: 

https://awebsite.co.uk/%CustomAttr:StoreNumber%

When you say "displayed correctly in MobiControl", if you mean that they appear under device details in the console, this is not evidence that the attribute is indeed being passed through to the device. I may have misunderstood you there but to check that the custom attribute truly is being passed through to the device, you can place the custom attribute macro in your lockdown template to see if the value pulls through. That would be a true way of confirming that it is indeed being passed through to the device and would eliminate any concerns around this area. (you may have done that already of course)

Solution
FR
Fabian Reder
a month ago

Hi Robert,

thanks again for your support! 🙏

I was able to solve the issue — it turned out to be a small detail I had overlooked.
The problem was that the percent signs (%) were missing around the variable in the configuration.
Once I added them (for example: %CustomAttr:StoreNumber%), the variable started resolving correctly.

Interestingly, it also seems that these variables work not only inside SOTI Surf, but also within the Lockdown configuration.

Thanks again for your help and hints!

Best regards,
Fabian

M
MiKe
a month ago

Yes it works also in Lockdown but there is one drawback (possible also for Surf payload as well) - if you change the Attribute it wouldn't update the Lockdown payload automatically and you have to reinstall the Lockdown profile (remove and force install). This is quite unfortunate IMHO and hopefully it would change in the future releases.