FAQ Database Discussion Community


How to write overwrite custom javascript for save button in quick create form

sugarcrm,sugar.js
I want to do some validation for my custom quick create form. I have added some JS code in full form. its working fine in full form. but same thing is not working in quick form. 'customCode' => '<input title="Save [Alt+S]" accessKey="S" class="button" onclick="this.form.action.value=\'Save\'; return test();" type="submit" name="button" value="Save">' ...

Export Methods for SugarCRM v10 api

python,api,sugarcrm
I am trying to make a call to the SugarCRM v10 api to get the output of a report without having to log into the web interface and click the export button. I would like to get this report as data that can be written into csv format using python...

How can we capture user events in dom from record.js in Sugar CRM 7.5?

sugarcrm
How can we capture user events in dom from record.js in Sugar CRM 7.5? For example: I have a select box in sugar CRM 7.5 record view. On change of this list i need to hide/show some fields in the interface. Thanks in advance...

Where can I find the names of default relationships in SugarCRM?

php,sugarcrm
I've been stuck a while because in a Cases logic hook I couldn't load contacts_cases relationship as I did with another custom relationship, like this: $bean->load_relationship('cases_lines'); $lines = $bean->cases_lines->getBeans(); $bean->load_relationship('contacts_cases'); $contacts->$bean->contacts_cases->getBeans(); The first was working, the latter wasn't. I found out that I was using the wrong name because it's...

Notice Array to string conversion in sugar charts [duplicate]

php,sugarcrm
This question already has an answer here: Reference - What does this error mean in PHP? 28 answers How do I fix this error? Notice: Array to string conversion in C:\xampp\htdocs\sugarcrm\include\SugarCharts\SugarChart.php on line 798 global $app_list_strings; $sortby1[] = array(); foreach ($data_set as $row) { $sortby1[] = $row[$keycolname1]; } $sortby1...

Trying to insert two of the same values in SugarCRM PDF Templates

html,sugarcrm,suitecrm
Ive made a new invoice template with the PDF Templates page. How do I make it as if there were two products selected for the invoice? When I try and add $aos_products_quotes_name, it makes two separate tables for two different producst. How can I make it so that two products...

How to change default sort in custom subpanel - sugarcrm?

sugarcrm
I want to put default sort by "Date Created" in custompanel. can you please guide me, how can I make it "Date Created" as default sort? Please help me....

how to disable special characters text field in sugarcrm?

sugarcrm
can anyone help me in this issue. I want to avoid special characters([email protected]#$%^&*()) in text field. Actually I have added javascript code for this. now I cant enter the spl characters. it's working perfect. But the problem is, the data is not going to be inserted after submitted. <script language="Javascript"...

How do I send CSRF token authenticity from a php app that I own to a rails app that I own?

php,ruby-on-rails,httprequest,csrf,sugarcrm
I am an admin for a sugarCRM instance and I have a rails app on heroku. I want to be able to automatically add contacts to the rails app if they are added in sugarCRM. I have written a before_save logic_hook in my sugarCRM: function pushConts($bean, $event, $arguments) { $r...

SugarCRM Extensions, modules and views

module,views,sugarcrm,suitecrm
I recently got employed at a company that mostly develops modules for SuiteCRM which is based upon SugarCRM. However there are a few points I don't really get at the moment and Google hasn't been too helpful either. I've been told that most of the development is done in the...

In which order are workflow items processed?

sugarcrm,suitecrm
I have a number of workflow items on cases in SuiteCRM. How can I determine the order in which these items are processed? In my situation, I am setting the priority of the case based on the values of some integer fields. However, these integer fields must first be populated...

How to redirect custom panel quick form to full form?

sugarcrm
How to skip quick create form when I click on create action button on my custom subpanel? I want to redirect when I click on create button. It needs to be redirected to full form on custom subpanel....

Custom Many to Many relationship subpanels between Campaigns & Product templates

sugarcrm
I'm running 6.5.8 Enterprise, and have been struggling with this. I need to create a Many to Many relationship with Campaigns and Product Templates. However, studio can only seem to manage a One to One. I seem to have the relationship in okay, but cannot seem to get the subpanels...

SQL Query to select row when list of five values get match with any of five coloumn

php,mysql,sql,sugarcrm
I have a table name called Kits in which 5 column is there for Book ISBN . So i want to select Row when 5 different value of ISBN gets matched with any of the 5 coloumn(ISBN_BOOK1,ISBN_BOOK2,ISBN_BOOK3,ISBN_BOOK4,ISBN_BOOK5) of table kits meant for Storing ISBN. if any one of the ISBN...

SugarCRM 7: Call BaseFilterLayout.applyFilter() method outside event context

javascript,sugarcrm
I'm working on a customization for Sugar Professional 7.2.x that pushes a filter from an auxiliary script into the filter function for the list view page. By setting a breakpoint inside the applyFilter function and exporting the function itself as a member of the global object, I can then call...

Sugar CRM - MYSQL show contacts with same email address

mysql,sugarcrm
If I search in Sugar CRM I can find some email addresses which have been assigned to multiple contacts - I do not want this. I wish to have a SQL query which will list any email addresses which have been associated to multiple contacts. So in otherwords, list all...

SugarCRM on Bluemix

php,web,cloud,sugarcrm,bluemix
I'm trying to deploy SugarCRM community version on Bluemix. I'm using PHP runtime, I forked out the project from the git repository of SugarCRM community and I bound a mySQL service to the application. The application runs and came out with the standard installation page of sugarcrm, as I proceed,...

The right way to create a reminder workflow at suitecrm?

php,workflow,crm,sugarcrm,suitecrm
I am trying to create a reminder workflow at suitecrm. The reminder workflow should send a warning email to my email address if my "ticket module" (a module i built using module builder)'s "status" field stays pending for two days I followed the link (here) exactly like it says. My...

Add a field to select the associated product to a opportunity in Sugarcrm Ce / Suitecrm

sugarcrm,suitecrm
I want to add a custom field in the Opportunity creation that points to the associated product. I don't know if is possible using the studio, i tried and doesn't work. Anyone can help me? Regards....

SugarCrm - How to send e-mail to manager every time a Lead is updated?

sugarcrm
I'm new to SugarCRM. I've google but I can't find a solution for this. Every time a Lead is UPDATED (New Log Call, New Email Attached, New meeting, Status Change) I need to send an e-mail. How can I do this in SugarCrm? Best Regards, André...