Extension: Link Button

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Kharg
    replied
    I just noticed that I forgot to add a basic mode, so I just released version 1.5.0 with the following changes:
    • Removed strip url option
    • Added Open Url option
    ​Open Url will directly redirect to the field url in the current tab, useful if you want an alternative to an entity linked record.

    Leave a comment:


  • Kharg
    commented on 's reply
    Not possible unfortunately, it wouldn’t know what’s the start or the end.

  • esforim
    replied
    Kharg this arrow button here, so we can look at all related record. I think this is hard and not possible (easily)?
    Click image for larger version

Name:	image.png
Views:	474
Size:	674 Bytes
ID:	105160

    Leave a comment:


  • Kharg
    commented on 's reply
    I already got other requests to support the url of a list, doesn't look so easy

    as for the second request, do you mean an array of buttons? just like multi urls work?

  • esforim
    replied
    Mr Kharg! I'm trying to be smart!

    One of my relationship is a Many-to-Many, so it is an array field. To use this button, I do a formula like this to view the 1st relationship.

    Code:
    cButtonVendor=string\concatenate($urlContact,array\at(contactsVendorIds,0))
    Click image for larger version

Name:	image.png
Views:	538
Size:	17.0 KB
ID:	105143
    After playing with this a few day now, I thought, "Hey!" isn't there a related list? URL is like so:
    https://espocrm.com/#Case/related/52...contactsVendor

    Click image for larger version

Name:	image.png
Views:	451
Size:	40.9 KB
ID:	105144

    Anyway trying to be smart I tried to use that URL, unfortunately it Error 404.

    So... too long didn't read feature request:

    1) Request support of URL list (if possible)
    2) Support of Array, so we can move left/right like email.

    Leave a comment:


  • esforim
    commented on 's reply
    Thanks Boss

  • Kharg
    commented on 's reply
    It's called title because it's the HTML title, tooltip wouldn't be correct as that's for the field label

  • esforim
    replied
    After some usage, I discover the what Title option is for so I decide to edit it. Also I think since you using Button Label. Best to hide all Field Label name so it look nicer.
    Kharg, would Tooltips be more correct name for this setting?

    Click image for larger version

Name:	image.png
Views:	510
Size:	29.4 KB
ID:	104835
    Click image for larger version

Name:	image.png
Views:	470
Size:	7.0 KB
ID:	104836

    Leave a comment:


  • esforim
    replied
    Stealing ChrisSka83 idea, this what the result of adding it to List view. Allow you to open it as "preview".

    The formula is in page 1. Look like 60px is still not enough in spacing if you want the label. Best to hide it in my opinion.
    And to make it read only if you using formula!

    Click image for larger version  Name:	image.png Views:	0 Size:	14.0 KB ID:	104830
    Click image for larger version  Name:	image.png Views:	0 Size:	31.5 KB ID:	104831
    Click image for larger version  Name:	image.png Views:	0 Size:	4.8 KB ID:	104832
    Click image for larger version

Name:	image.png
Views:	473
Size:	2.0 KB
ID:	104833

    Leave a comment:


  • esforim
    commented on 's reply
    My formula if anyone want to copy it:

    cButtonpAccountInfo=string\concatenate('https://espocrm.com/#Account/view/',accountId);

    Be sure to change your website!

  • esforim
    commented on 's reply
    Anyway, very happy. Kharg kudo

  • esforim
    replied
    Originally posted by espcrm
    Here my first idea, opening the primary Account from Contact. I have a feeling I will have trouble with Formula but we see how we go.
    Here is the result.
    Click image for larger version

Name:	image.png
Views:	511
Size:	139.0 KB
ID:	104826

    Looking at this, if I want multiple button, best to keep button label shorter. And create a whole new "Panel" or Row to add these button.​
    Attached Files

    Leave a comment:


  • esforim
    replied
    Here my first idea, opening the primary Account from Contact. I have a feeling I will have trouble with Formula but we see how we go.

    Some note: the "P" because I only plan to do it for primary account at the moment.
    The label and field name different because User-friendly???
    Left Icon denote relationship from what we going to. The right icon denote relationship of current. Good idea or bad?
    Anything else, well it up to you for design.
    Click image for larger version

Name:	image.png
Views:	519
Size:	39.3 KB
ID:	104823

    Leave a comment:


  • esforim
    replied
    Originally posted by Kharg
    The normal modal is best used for internal CRM pages that can't be opened using the Espo Modal, such as relationships list
    Trying to be smart with this new extension, I look at email and thought, this would be perfect! Too bad we can't edit the detail page. Look like the URL method is also blocked now as well!

    Click image for larger version

Name:	image.png
Views:	505
Size:	22.3 KB
ID:	104821

    Leave a comment:


  • Kharg
    replied
    The normal modal is best used for internal CRM pages that can't be opened using the Espo Modal, such as relationships list

    Leave a comment:

Working...