Best tip in Remedy Developer? Clear cache.

Today I was thinking about daily problems with BMC Remedy developer studio and have kind of 42 solve everything in app.
Every time when I have a problem with Remedy Developer studio, like errors and exceptions in Console, saving or getting forms, old values ,there is a very easy way how to solve it.

Shutdown the developer studio, clear cache folder and Start the studio again. This is really helpfull! 🙂
Path like: C:\……\BMC Remedy Developer\workspace\devstudiocache\

How to center content in the form

In this example we will make a centered form like a html div with absolute width and left and right margin set to auto;

  1. Set Layout Style: Fill in form properties (also form is responsible)
  1. Add a panel holder “PH_MainHolder” in the form.  Make sure the holder’s properties are set as mentioned:

Display Type:  Collapsible
Orientation:  Horizontal (can be vertical if you want to center in second axis)
Borderless:  True (depends on you, but true is nicer)
Minimum size: 800 (content cannot be thinner)

  1. Add three panels to the panel holder in order: “PH_MainHolder_Left”, “PH_MainHolder_Center”, “PH_MainHolder_Right”.   Screen Shot 2016-03-29 at 20.45.44
  1. Mark all three panels and make a header state to hidden.

Header State: Hidden

  1. Set properties of PH_MainHolder_Left and PH_MainHolder_Right to:

Minimum Size: 2 (same as initial)
Initial Size: 2 (initial size and we have to calculate it main panel)
Maximum Size: 3000  (or can be infinitive J )
Panel State: Expand
Slack Distribution Order: 1Screen Shot 2016-03-29 at 20.46.28

  1. “PH_MainHolder_Center” is panel where all fields should be placed and set following properties:

Minimum Size: 796 (800 – initial slack panels size)
Initial Size: 796 
Maximum Size: 796 
Panel State: Expand
Slack Distribution Order: 0 (default)

This tweak can be used in ARS 7.6 or newer.

Tip: Inside of PH_MainHolder_Center can be inserted another panel holder with same panels and properties but orientation as vertical. Result is that final center panel will be centered in both axes.

Thanks to Dave Sulcer

Change background-color of panel by ActiveLink (workaround)

Hello, I am working as a developer in BMC Remedy environment and would like to share a tips and tricks, this is my first post. My current version is 8.1.02 AIX Sometimes I have a new idea but standard BMC workflow doesn’t support few basic features, also workaround is necessary. BMC provides no option to change bg color of panel by ACL.

nav_changefield.PNG

 I am attaching actions that can be provided by active link. As you can see, there is no action similar to color changing. First option is make a splitter with 2 panels (black/white) inside of splitter and hiding/showing them due the two activelinks with different qualification. But there is easier workaround. Set the “Custom CSS Style” eg. unique identifier of html element of the desired panel to “changePanelBGColor” and execute the following line via “Run Process”, it is very easy to run jQuery action:

javascript:$('.changePanelBGColor > fieldset > div').css({"background-color":"blue"})

Instead of class changePanelBGColor you can use id of field (if you dont want to identify custom css style). Mentioned panel will change bg color to blue. You can use own css identifier or find css id inside of div. There is a example as  active/inactive tabs in

UIM_scrshot

Incident Console: PS: Be carful with midtier upgrade because of new versions can change html structure.