Announcement

Collapse
No announcement yet.

Add custom text color to field

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

  • swati
    replied
    Maximus can you please guide me like where i need to write my code.

    I used "selectDefaultFilters": {"filter": "won"} in clientDefs but still All is selected by default.

    Leave a comment:


  • Maximus
    replied
    You can't set it in UI. You need to change the code for this.

    Leave a comment:


  • swati
    commented on 's reply
    how can i select won by default, i select won and refresh the page then it's again get select to All.
    Last edited by swati; 06-20-2019, 01:35 PM.

  • swati
    commented on 's reply
    Wow that was quite easy. Thank you so much

  • Maximus
    replied
    I mean this.
    Attached Files

    Leave a comment:


  • swati
    commented on 's reply
    I am new in espocrm. Can u please give me any example?

  • Maximus
    replied
    Use a filter, change 'all' to 'won'

    Leave a comment:


  • swati
    commented on 's reply
    Can you please tell me how can i set condition on type = link muliple.

  • swati
    commented on 's reply
    Sure, I will fix it.

  • Maximus
    commented on 's reply
    I have notice that you have violate the copyright rights on your EspoCRM instance. Due to the EspoCRM license you cannot remove EspoCRM copyright at the footer of the page. Please fix it.

  • swati
    replied
    how can i set condition on type = link muliple. like i have a field "customer name" of link multiple. when i select customer name it shows me all the name but i want only those name whose stage is "closed won".
    Attached Files

    Leave a comment:


  • swati
    replied
    how can i set up cron job to execute a URL ?
    I set my URL like "0 10 * * * curl -s "url..." > /dev/null" in "sudo crontab -u www-data -e" at end of the file But this is not working.

    Leave a comment:


  • swati
    replied
    Hi, How can i call getMailSender() from "\Espo\Services\Email" in my custom cron job. when I extends "\Espo\Services\Email" it gives me " Espo.ERROR: Uncaught Exception Error: "Call to a member function getScopeRestrictedAttributeList() on null" at /var/www/html/EspoEspoLatest/application/Espo/Services/Record.php line 155 {"exception":"[object] (Error(code: 0): Call to a member function getScopeRestrictedAttributeList() on null at /var/www/html/EspoEspoLatest/application/Espo/Services/Record.php:155)"}" error.
    and when i create "\Espo\Services\Email" object and then call getMailSender(), it gives me you can't call protected method error.

    Please help me out, I haven't found anything for this
    Last edited by swati; 06-11-2019, 09:35 AM.

    Leave a comment:


  • swati
    commented on 's reply
    Hi Telecastg, thanks for this reply.
    I replace office number by name and it is working now. Thank you so much.

  • telecastg
    commented on 's reply
    Sorry, not sure why is doing that, perhaps some other member or someone from the development team can explain why.

    What I can do is give you an example of how I created a many-to-one relationship in my application and hopefully that will help:

    I have a "Tenancy" entity that can have one or more "ServiceTicket" entities linked to it, so after I created both entities I went to Administration>>Entity Manager>>ServiceTicket>>Relationships and created a link type many-to-one mapped to Tenancy. Then I went to Administration>>Layout Manager>>ServiceTickets>>Detail and added the field "Tenancy" to the detail layout.

    Lastly, since Espo shows the "name" field of the Tenancy in the dropdown box in ServiceTicket detail view, and I wanted to display the property address, I used formula to put the property address as "name" in the Tenancy entity, then I can see that field when selecting a Tenancy from the ServiceTicket detail view.
    Last edited by telecastg; 05-21-2019, 06:24 PM.
Working...
X