Announcement

Collapse
No announcement yet.

Custom composed field like (created / modified)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom composed field like (created / modified)

    Hi Guys,

    Does anyone know how to create a field similar to both (created / modified) on the side default panel. Basically i have two field e.g a Sales Agent Name field (Link) and Sales Agent Fee field (Currency) and i need a custom field view which allow to show both fields next to each other. i have tried to look the code of the created / modified but seems that code was made specifically for both fields. see attached screenshot.

    telecastg item emillod

    Any help please this is important for me.

    Thanks
    Rabii
    Attached Files
    Rabii
    Web Dev

  • #2
    Hi rabii,

    I can offer a field with Wysiwyg type as an alternative.
    You can insert data there using a formula, links will be displayed as shown in the screenshot:

    Click image for larger version

Name:	image.png
Views:	188
Size:	4.8 KB
ID:	84956
    Last edited by lazovic; 11-09-2022, 02:27 PM.

    Comment


    • rabii
      rabii commented
      Editing a comment
      thanks i am aware of this option but i am interested in a custom field though. thanks for sharing though

    • esforim
      esforim commented
      Editing a comment
      Varchar (description field) + Formula?

      The code to create link and text is like this:

      [ ] (#)

      For example:
      [rabii](#https://forum.espocrm.com/member/1044-rabii)

      Now combine it formula like this:

      string\concatenate(AgentCommission= CommissionRate*SalePrice, [rabii](#https://forum.espocrm.com/member/1044-rabii)

      Version 2:
      string\concatenate(AgentCommission= CommissionRate*SalePrice, [assignedUserId](#staff/assignedUserId[/url])
      Last edited by esforim; 11-10-2022, 09:42 AM.

  • #3
    Thanks for your suggestion esforim but as mentioned before iam trying to avoid adding more field so i am thinking about creating a custom complex field which would hold both field.

    I appreciate your help.
    Thanks
    Rabii
    Web Dev

    Comment

Working...
X