Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Creating binary file rules

Updated on April 5, 2022

Enhance and customize your application by creating a binary file rule that in a form of a rule stores a graphics file, such as an image, or other non-text files. Binary file rule type provides the security, inheritance versioning, and deployment benefits of rule resolution to a file.

For example, you can upload your custom image to your Pega Platform environment so that you can use the image in your application. You can upload different resources, such icons, fonts, and locales.
  1. In the header of Dev Studio, click CreateTechnicalBinary File.
  2. On the rule form, in the Label field, enter a name for your new rule.
  3. In the App Name (Directory) field, enter the name of the destination Web server directory for this file when the system extracts the file from the database.For example: To use a subdirectory of the application server, enter webeb.
  4. In the File Type (extension) field, enter the file extension.For example: To upload a graphics file, enter jpg.
  5. Optional: To change the application layer to store the binary file rule, in the Context field, select another built-on application.
    By default, the system stores the rule in your current application layer.
  6. In the Add to ruleset list, select a ruleset and a ruleset version to store the rule.
  7. Optional: To override the default work item that your application associates with this development change, press the Down arrow key in the Work item to associate field, and then select a work item.
    For more information about your default work item, see Setting your current work item.
  8. Click Create and open.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us