Forum Discussion

dkasirajan's avatar
dkasirajan
Contributor
8 years ago

How to name map for common objects but has different parent - for reusablity

We have two desktop application , but its child window / pop up window  have same controls and functinality.  I want to reuse this controls and scripts  by having common name mapping.  Only Parents...
  • tristaanogre's avatar
    tristaanogre
    8 years ago

    The problem is, as I mention above, that you are not using what you actually have mapped.  

     

    Replace 

     

    Aliases.Revera_AnalysisMain_DiagnosticUtility.DependentSettingsDlg.rcpButtonProceed

    with 

     

     

    Aliases.Revera_OperatorInterface.DependentSettingsDlg.rcpButtonProceed

    Your mapping will handle if it's coming up as a different process due to the conditional mapping you're using.  You can use this way of referencing no matter which of the two processes it is.