Evening all
I've created some default setting entries under the Provisioning category.
Let's take these examples:
yealink_t46g_wallpaper = https://{$domain_name}/custom/wallpaper.png
yealink_t46s_wallpaper = https://{$domain_name}/custom/wallpaper.png
yealink_t46g_wallpaper_filename = wallpaper.png
yealink_t46s_wallpaper_filename = wallpaper.png
All works perfectly as it should and the wallpaper is provisioned correctly. But there's a lot of repetition and it takes a while to make all the changes, should I wish to simply change the filename.
Now these both have the same filename (the screens are the same size) so rather than have to define it twice (actually four times as the URL also needs the filename), can I create another entry called "yealink_480x272_wallpaper" and reference it in the previous four entries?
Example, something like:
yealink_480x272_wallpaper = wallpaper.png
yealink_t46g_wallpaper = https://{$domain_name}/custom/${yealink_480x272_wallpaper}
yealink_t46s_wallpaper = https://{$domain_name}/custom/${yealink_480x272_wallpaper}
yealink_t46g_wallpaper_filename = ${yealink_480x272_wallpaper}
yealink_t46s_wallpaper_filename = ${yealink_480x272_wallpaper}
I've tried one dollar sign, two dollar signs, the dollar sign in the curly brackets, but I can't seem to work out how to reference a default setting entry. Should I be defining the 'yealink_480x272_wallpaper' in variables rather than default settings? And how to then reference?
As always, thanks in advance!
Nick
I've created some default setting entries under the Provisioning category.
Let's take these examples:
yealink_t46g_wallpaper = https://{$domain_name}/custom/wallpaper.png
yealink_t46s_wallpaper = https://{$domain_name}/custom/wallpaper.png
yealink_t46g_wallpaper_filename = wallpaper.png
yealink_t46s_wallpaper_filename = wallpaper.png
All works perfectly as it should and the wallpaper is provisioned correctly. But there's a lot of repetition and it takes a while to make all the changes, should I wish to simply change the filename.
Now these both have the same filename (the screens are the same size) so rather than have to define it twice (actually four times as the URL also needs the filename), can I create another entry called "yealink_480x272_wallpaper" and reference it in the previous four entries?
Example, something like:
yealink_480x272_wallpaper = wallpaper.png
yealink_t46g_wallpaper = https://{$domain_name}/custom/${yealink_480x272_wallpaper}
yealink_t46s_wallpaper = https://{$domain_name}/custom/${yealink_480x272_wallpaper}
yealink_t46g_wallpaper_filename = ${yealink_480x272_wallpaper}
yealink_t46s_wallpaper_filename = ${yealink_480x272_wallpaper}
I've tried one dollar sign, two dollar signs, the dollar sign in the curly brackets, but I can't seem to work out how to reference a default setting entry. Should I be defining the 'yealink_480x272_wallpaper' in variables rather than default settings? And how to then reference?
As always, thanks in advance!
Nick