by Urdhva Tech

Need to add a value to one of your drop downs? Sick of adding values the long, hard way? With this add-on you can now add to your drop downs right when you are editing or creating any record in SuiteCRM.

Includes a 30 day guarantee
Try it Now

#4938 - Only see the key not the value on a pdf template

Closed Bug? created by Quentin Verified Purchase a year ago

Capture d’écran 2023-07-06 à 15.54.22.png

Capture d’écran 2023-07-06 à 15.55.08.png

have you an issue ?

  1. Quentin member avatar

    Quentin Verified Purchase

    a year ago

    no issue ?

    • urdhvatech member avatar

      Urdhva Tech Provider Affiliate

      a year ago

      Hello,

      Apologies for the oversight; I seemed to have missed your previous message. In order to extract the accurate value within the UT dynamic dropdown, it's necessary to insert a certain code snippet into the core file. Feel free to inform me if you require assistance, and I can provide guidance on where and how to implement it.

      Thanks & Regards, Team Urdhva Tech

    • Quentin member avatar

      Quentin Verified Purchase

      a year ago

      Good morning, Thank you for the feedback. I am at your disposal for the code to insert.

    • urdhvatech member avatar

      Urdhva Tech Provider Affiliate

      a year ago

      Thank you for the confirmation. Kindly insert the provided code snippet in the section where conditions are being checked for the enum field type, located around line number 76. in the file modules/AOS_PDF_Templates/templateParser.php Add the following line:

      || $field_def['type'] == 'UTDynamicEnum'
      

      After the insertion, the final code should resemble the screenshot below provided.

      dynamicenum.png

      Let us know how it goes.

      Thanks & Regards,

      Team Urdhva Tech

    • Quentin member avatar

      Quentin Verified Purchase

      a year ago

      I have insert the code but it's not the same :

      Capture d’écran 2023-08-31 à 09.14.53.png

      Don"t work

    • urdhvatech member avatar

      Urdhva Tech Provider Affiliate

      a year ago

      It seems you have syntax error in your code. $field_def['type'] == 'UTDynamicEnum'

      Thanks & Regards, Team Urdhva Tech

    • Quentin member avatar

      Quentin Verified Purchase

      a year ago

      Good ! It's working Many thanks !!

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "Great add on for a small one off cost allowing admin users to give rights to edit dropdowns from the edit screen!"

    Read More Reviews