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.
#4938 - Only see the key not the value on a pdf template
have you an issue ?
a year ago
no issue ?
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
a year ago
Good morning, Thank you for the feedback. I am at your disposal for the code to insert.
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:
After the insertion, the final code should resemble the screenshot below provided.
Let us know how it goes.
Thanks & Regards,
Team Urdhva Tech
a year ago
I have insert the code but it's not the same :
Don"t work
a year ago
It seems you have syntax error in your code. $field_def['type'] == 'UTDynamicEnum'
Thanks & Regards, Team Urdhva Tech
a year ago
Good ! It's working Many thanks !!