He didn't mention PowerClient. The question is can the Themes feature source files from a PBD. I'm pretty sure the answer is no.
The image files could be built into a PBD using a .pbr but as far as I know Themes isn't designed to grab them from there. Plus the json file that describes the theme can't be processed in a .pbr file.
Correct ... you need to deploy the *entire* THEME "folder" as per my PowerClient example. The same for a native PB App deployment and / or the new PowerServer deployment. The same technique is required (although, it can be mechanically different delivery ).
Hi... In one of my development research tests I tried moving the images to a different directory outside of the theme directory and modified corresponding theme json file to point to directory where theme image files now reside and I received a runtime error during application startup. In this scenario the only file residing inside the corresponding theme was just the json file. I tried using both relative and absolute path declaration in json file to location of theme image files and neither worked. Therefore, I am assuming that PB expects the corresponding theme image files to reside within the same json directory of the corresponding theme. Is this correct? Or, is it possible to move the images outside to a different directory outside of theme directory? Additionally, I created a build that included the theme images in pbr as part of the exe and did not receive any runtime errors because json file was not modified but json file did not recognize presence of theme image files. In this last scenario also the only file residing within them was just the json file. Any feedback is much appreciated. Thank You.
There are no replies made for this question yet. However, you are not allowed to reply to this question.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.