self-service logo

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
paulo
Messages: 5
Registration: Nov 18, 2020 - 09:32

November 18, 2020 - 09:34

Hello,
how can a personalized logo for the self-service area be applied to all customers?
By customizing the customer profile?
And how, please?
Thank you.
paulo
Messages: 5
Registration: Nov 18, 2020 - 09:32

November 18, 2020 - 10:20

Thank you.
Yes, it works if I copy the logo to the directory on a workstation.
Can this be automated so that all workstations receive the correct logo?
For example, with the agent deployment?
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

November 18, 2020 - 10:43

A package like this will do the job:

Code: Select all

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

def install():
    wapt_path = WAPT.wapt_base_dir
    print('Install custom logo')
    filecopyto('waptexit-logo.png',makepath(wapt_path,'templates'))
    filecopyto('waptself-logo.png',makepath(wapt_path,'templates'))


def uninstall():
    wapt_path = WAPT.wapt_base_dir
    remove_file(makepath(wapt_path,'templates','waptexit-logo.png'))
    remove_file(makepath(wapt_path,'templates','waptself-logo.png'))
paulo
Messages: 5
Registration: Nov 18, 2020 - 09:32

November 18, 2020 - 10:45 AM

I'll try it.
Thank you very much.
paulo
Messages: 5
Registration: Nov 18, 2020 - 09:32

November 19, 2020 - 08:21

Hello,
I put the script in the setuphelpers folder of the WAPT agent package, for example?
At what point do I point the image file I want to copy to the templates directory?
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

November 19, 2020 - 09:36

Code: Select all

waptexit-logo.png
waptself-logo.png
The two files simply need to be in the root directory of the package
paulo
Messages: 5
Registration: Nov 18, 2020 - 09:32

November 19, 2020 - 10:46

Thank you,
I inserted the script into the agent package and copied the files.
It's not working, I must be missing something.
Locked