How to display the first 100 characters in the description field on My Requests portal?

Annie10
Tera Contributor

Hello,

I've applied My Request Filter to the description field in the Portal under My Requests. We are currently dealing with an issue related to excessively long descriptions. Is it possible to retrieve only the first 100 characters from the description field to ensure that the page does not appear cluttered?   Thank you

 

Example:

Annie10_0-1704828721124.png

 

8 REPLIES 8

Thank you @SanjivMeher , for pointing out my mistake.  My Requests widget is not custom.  Could you please let us know how we can reduce the length of the description field? Thank you!

 

Annie10_0-1704845179138.png

 

So to make changes, you will have to clone the existing widget, and update the new widget. I think the f.display_value is where you have your description. I would prefer not to make changes to the OOB widget unless it is absolutely important.

 

You can actually remove description from the widget instance if it is not important and too long. The other option would be to store a truncated value in a different field in the request table and show.

 

SanjivMeher_0-1704846204841.png

 


Please mark this response as correct or helpful if it assisted you with your question.

@SanjivMeher ,

Thank you for your ongoing support. I'm still uncertain about the what to do.

To clarify:

Step 1 involves cloning the existing widget named "My Requests."

For Step 2, 3, 4 - What is should I do?

@SanjivMeher ,

I appreciate your suggestion of storing a truncated value in a different field and displaying it. I checked the fields in the request table, but I'm unsure which field to use for this. Any suggestions?