[Yifei] content of the extended fields for Credential design-text display format

Source: Internet
Author: User

This feature was noted when working with Hua Lin: So we did a simple test.

We have previously introduced how to design extended fields and display them as bar codes and QR codes. In fact, the content design contains some small details, such as the text display format.


If we want to convert a string to a date format before 9.0, the numeric value is displayed as a percentage, and the numeric value is converted to a big write format. What should I do?

Method 1. Write a trigger to update a Custom Field

Method 2 Write a UDF

After 9.0, the extended fields are added to the credendesign, and the extended fields can easily display text formats.

Let's do a simple test:

First: design a custom image. We will take four fields and two numeric values and two text types. I'm using: test date UDF04 test contains explicit UDF05 test percentage UDF19 test capital UDF20


Step 2: Create a new ticket


Step 3: Design credential

1. Design extension Fields


2. Set the display format:


You are familiar with setting explicit content. Fields derived from custom reports also contain explicit content. After entering the information, remember to click Save settings.



Final: credential Preview



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.