BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  How to apply custom theme to CSHS while opening from Workplace

    Posted 2 days ago

    Greetings

    We have a Process Application where have a custom theme. We have introduced the usage of Workplace to end users for doing some tasks. We would also like to view the UI using the styling which comes from the custom theme while opening CSHS from Workplace.

    RIght now for experiments, we have copied the custom theme to workplace app in DEV. Is it the correct way to do it ? If yes, should we be exporting and importing Workplace app to higher environment ? And workplace is a system app so would be good to understand on what is the correct way to do this

    Thanks



    ------------------------------
    Lakshya Agarwal
    ------------------------------


  • 2.  RE: How to apply custom theme to CSHS while opening from Workplace

    Posted 2 days ago

    Hi Lakshya,

    Given that you only want to change the theme, I would use the command that allows you to apply the theme from one deployed process app to any other deployed app:

    traditional: https://www.ibm.com/docs/en/baw/25.0.0?topic=scripting-bpmupdatetheme

    REST API: /std/bpm/containers/{container}/versions/{version}/update_theme from https://www.ibm.com/docs/en/baw/25.0.0?topic=apis-operations-rest-reference

    If you are going to use this command, a common pattern is to create a dummy "Theme Process App" that has nothing in it, but depends on a toolkit that contains your theme.  This will allow you to apply the theme to any project dynamically at runtime, while also enabling any project in development to depend on the theme and apply it to the project statically.

    Hope this helps,

    Grant.



    ------------------------------
    Grant Taylor
    ------------------------------