Articles in this section
Category / Section

How to change branding of Bold BI

Published:

Bold BI provides a RESTful web API for Cloud and Embedded applications that allows other third-party applications to interact with Bold BI programmatically. Users can be able to customize the branding of the Bold BI Application by use of an API. Customizing Bold BI branding includes actions of changing site values.

API will support customizing branding of below items:

  • OrganizationName
  • LoginScreenLogo
  • EmailLogo
  • FavIcon
  • ShowCopyrightInformation
  • ShowPoweredBySyncfusion
  • Use24HourFormat
  • DisableUserPreference
  • DateFormat
  • TimeZone
SiteUrl and DataLanguage are only available on Embedded BI.

NOTE: Only users who have admin rights to the site or manage site settings permission can update the site settings and make all the applicable changes to the site.

Steps to customize the branding of Bold BI

NOTE: When you sign into the Bold BI, an authentication token is provided that should be attached in the request header (Authorization) for all subsequent API calls to authenticate the requests.

Follow the steps below to apply the customization branding of Bold BI:

  1. Set up and use the Bold BI URL as below:
    1. Embed BI: If https:///bi/site/ is your Bold BI Embed site URL, then the API end of this site will be accessed by https://{yourdomain}/bi/api/site/
    2. Cloud BI: If https:///bi is your Bold BI cloud site URL, then the API end of this site will be accessed by https://{yourdomain}/bi/api
  1. Add the following endpoint (/v4.0/settings/site) to the site URL and use the request HTTP method PUT in request Postman to update the settings. Set up the URL as shown below:
    1. Cloud BI: https://{yourdomain}/bi/api/v4.0/settings/site
    2. Embed BI: https://{yourdomain}/bi/api/site/<site_identifier>/v4.0/settings/site
  1. Add authorization header with a generated access token and content-type header as application/json then prepare request body with the desired branding using key and value items as shown in the following example:
    [
     {
       "Key": "OrganizationName,”
       "Value": "Bold BI"
     },
     {
       "Key": "LoginScreenLogo,”
       "Value": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjQwcHgiIGhlaWdodD0iNDBweCIgdmlld0JveD0iMCAwIDQwIDQwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3c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}	
    ]
    
    
Request Body Content:

Key Value File Format Example
OrganizationName String N/A [

{

“Key”: "OrganizationName”,

“Value”: “Bold BI”

}

]

LoginScreenLogo Base64EncodedString Svg/png/ jpg/ jpeg [

{

“Key”: “LoginScreenLogo”,

“Value”: “”,   //include encoded string here

“FileFormat”: “jpeg”

}

]

EmailLogo Base64EncodedString Svg/png/ jpg/ jpeg [

{

“Key”: “EmailLogo”,

“Value”: “”,   //include encoded string here

“FileFormat”: “png”

}

]

FavIcon Base64EncodedString Svg/png/ jpg/ jpeg [

{

“Key”: “FavIcon”,

“Value”: “”,  //include encoded string here

“FileFormat”: " jpg "

}

]

ShowCopyrightInformation boolean N/A [

{

“Key”: “ShowCopyrightInformation”,

“Value”: “true”

}

]

ShowPoweredBySyncfusion boolean N/A [

{

“Key”: “ShowPoweredBySyncfusion”,

“Value”: “false”

}

]

Use24HourFormat boolean N/A [

{

“Key”: “Use24HourFormat”,

“Value”: “false”

}

]

DisableUserPreference boolean N/A [

{

“Key”: “DisableUserPreference”,

“Value”: “true”

}

]

DateFormat MM/dd/yyyy

dd/MM/yyyy

d MMM

yyyy MMM d

yyyy

N/A [

{

“Key”: “DateFormat”,

“Value”: " MM/dd/yyyy"

}

]

TimeZone String N/A [

{

“Key”: “TimeZone”,

“Value”: “GMT-12:00”

}

]

SiteUrl String N/A [

{

“Key”: " SiteUrl",

“Value”: “”  //Include site URL here

}

]

DataLanguage String N/A [

{

“Key”: “DataLanguage”,

“Value”: “en-us”

}

]

  1. Successful status code of 200 confirms successful settings update with a status message as shown below:
    {
     "ApiStatus": true,
     "Status": true,
     "StatusMessage": "Site settings have been updated successfully"
    }
    

Related links

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
EO
Written by Enos Otieno Juma
Updated:
Comments (0)
Please  to leave a comment
Access denied
Access denied