Cumulocity-IoT / cumulocity-app-builder

The Application Builder for Cumulocity provides a simple, coding-free way to create new applications inside Cumulocity. Application Builder is an open-source tool for you to create web applications in a no-code environment. Created by Global Presales.
Apache License 2.0
16 stars 6 forks source link

How to setup an image as background for all page of new app #93

Closed SAG-HenryChen closed 1 year ago

SAG-HenryChen commented 1 year ago

Dear team, Is it possible to upload an image as background for all pages of new application ?

DarpanLalani commented 1 year ago

Hi, It is not possible from User Interface. However you can download source and customize app builder to include your image as background for html body. you can do that my modifying css index.less file.

If you need to do application specific then you need do custom implementation for that. You can go through existing branding implementation here.

In theory, you may need to do following:

Store your image file in file repository. (May be provide upload file option. same like app Icon). Write custom code to store file Id in app.applicationBuilder.branding. object. (refer existing implementation for appicon here write dynamic css in branding.service.ts file.