I would like to add a link in a HTML rule that could open a rule (an Acticity or a DataTransform specified by its Class and Name) directly in Designer Studio, the same way you can do it by using the open rule icon in Live UI. Is it possible?
Could you share your code where you invoke this method and the Pega version? Couple of things to remember while using this method is that
1) The user should have developer portal access in order to open the rule in designer studio
2) While the invoking this from html rule you should get the correct window. You could check to see if you can access the method (for example window.pega.desktop.wks.openRule) from developer tools and investigate as a first step.
The first argument represent which portal the rule should open into. Example "Developer" or may be "pxPredictionStudio". The next 2 parameters are for its rule type and rule name. The last one is optional if you don't specify it should be rule resolved.