Dependency not working in record view

We implimented Dependency for field Visibility, At record creation Visibility formula working fine but when we view the record these field are visible in record view.

We use this formula for all fileds in Department info and time info tab .

Formula we are using:

In create view fields are hidden that's working according our requirements:

Record view:

Please provide any solution for this.

Parents
  • Hi Sandeep,

    According to your formula in the logic, the fields will be visible only when two conditions are met.

    1. When $select_template_c field is empty and $relative_template_c is "No".

    But as mentioned in the above screenshot, $select_template is not empty and it is having some value in it.

    Can you please check the below things to debug this issue a little more and fix it.

    1. Can you please paste the entire code you have used in the dependency file and paste it, so we can check in a detailed way.

    2. Which version and edition of Sugar you are using? If you are using the latest versions, you can hide and show the fields conditionally through Studio itself. Do you even no need of writing the code in Dependencies also?

    3. Are you sure you are referring to the same fields you have used in the Sugar logic in the Sugar UI also? 

    4. When you are talking about record view, it applies to the existing records. Are you sure for all the existing records even though the condition is satisfied the fields are visible? One more thing to check here, After implementing this logic have you recalculated the records? If not you have to do this because for the existing records you have to edit and save (or you can do recalculate through the list view actions menu) the record to trigger this logic and to make it work.

    Hope this information helps to debug the issue.

    Thanks and Best Regards,

    PK

    www.bhea.com

  • We are using SugarCRM Version 11.2.0.

    Yes it's working fine in creating time issue is when we open record after record creation all field are visible. thats the why are fields are visible.

Reply Children