Aug 14 2023
01:36 AM
- last edited on
Mar 05 2024
02:56 PM
by
TechCommunityAP
Aug 14 2023
01:36 AM
- last edited on
Mar 05 2024
02:56 PM
by
TechCommunityAP
Hi Developers,
I intend to use multiple lines field as a text box, in which I can embed hyperlinks with <a> tag and plain text into. However, I found the default value of multi-line field has a character limitation. I am wondering what the specific character limit of default value is and if there is an alternative approach to embed hyperlink which can be clicked by users directly.
Thanks a lot
Aug 14 2023 05:48 AM - edited Aug 14 2023 10:52 PM
The default String fields take a max of 255 characters. You could use Text field type instead of the default String field, which supports entry of a text string that can contain more than 255 Unicode characters.
You can check the document FIELD (Definition) element reference for some more details
Aug 14 2023 08:19 PM
@Robina Thanks! But I didn't find the PlainText Text field. Could you please help me with more details?
Aug 21 2023 02:56 AM
Aug 21 2023 08:18 AM
Solution@Haowei715 hi, I actually managed to do this via rules (the same section as Work Item editing). I added a rule as: When work item is created, set a value for the field ... . HERE input takes up to 4000 characters 🙂 hope it helps
Aug 21 2023 07:25 PM
Sep 06 2023 04:24 AM
@OlgaPatapava but what about if I would like to type text as default so, when user create work item already has pre-defined text more that 255 characters. Now if I want to add in default field is limited.
Jul 17 2024 12:25 AM
@OlgaPatapava This has the limitation when we create a copy of workitem Azure Devops considers it as new workitem and add the default values rather tan copying the existing workitem field values
Aug 21 2023 08:18 AM
Solution@Haowei715 hi, I actually managed to do this via rules (the same section as Work Item editing). I added a rule as: When work item is created, set a value for the field ... . HERE input takes up to 4000 characters 🙂 hope it helps