• Simple logic hook Error 500 on On-Demand

    I created a namespaced before_save logic hook that queries the DB for the largest number in a custom field, increments the result and sets that on the record when a new opportunity is created. It works perfectly on On-Premise, but responds with an Error…
  • How do I cause a redirect after an after_save logic hook?

    Hello, In sugar 7 pro, I created a logic hook for Leads module in order to delete a lead after I convert it. That works fine, but after the actions are done, sugar redirects me to the page of the record that have been converted. And so I got an error…
  • Invalid usage of a function array_map()

    When trying to upload a package containing a logic hook to a sugar on demand environment, I am getting the error "Invalid usage of a function array_map()" The usage of array_map is here: $serviceTypeList = array_map ( "trim" , $serviceTypeList ) ; The…
  • custom subpanel in create view problem with getBeans

    Hello all, In the Enterprise version of sugar, you can add at the same time Opportunities with revenuelineitems. If you create a logic hook in the before_save of revenuelineitems and u want to load the relation with Opportunities and do getBeans() it…
  • Number field Validation

    I have been working on textfield validation and received good professional help in this community. I am grateful how helpful the members are in here. I would like to ask a quick question. I used a PHP debugger and the php aspect works fine, I just needed…
  • SQLCipher.jar was not found while executing the init-native command in the Installation process of sugar crm sdk

    After generating the custom app from the sugar crm mobile sdk, the below commands from the installation guide are working fine: ./sdk build ./sdk debug ./sdk update-native But while executing the ./sdk init-native command the following error is raised…
  • who changed a field last?

    Hello what i'm trying to achieve here is some sort of tracking/audit of a checkbox and display that on the campaign layouts. To be more specific i would like to know right next to the checkbox who was the one that enabled/disabled that checkbox. This…
  • Modify Relate field using Logic Hook

    Is it possible to change a Relate field (not relationship or Flex Relate) using a logic hook in Sugar Enterprise 7.9.1.0? If so, how? Thanks!
  • Is it possible to create a global after_save logic hook?

    I need to create an after_save logic hook that will run on all or a list of modules (array of module names to check) when a record in any of them is saved. Instead of copying and pasting logic hook definitions to each and every module, is there a way…
  • how to assign multiply users to a project

    for example : i have three project ( project1, project2 , project3) each project have project manager and under project manager there is supervisor and users and all users work should be under their project , also each project manager have his own rules…
  • Custom module logic hook to create Opportunity fails to link Account

    I have a custom module (Named QTES_Quotes) that needs to create an Opportunity record, transfer the field values and relationships, and save the record. I've gotten everything to work except for adding the stock relationship to the Accounts module (renamed…
  • logic hook to update multiple items in the same module that won't loop?

    I have a custom products module called wcont_WContractProducts. Each Product has a quantity, an id (as all modules do), and a bundle_id_c which allows me to identify a group of products. When any product belonging to a bundle is changed to have a new…
  • Call custom REST API from after_save hook

    Hi! I'm new to Sugar and I don't know hot to call a custom rest api from a hook in a custom module. I added the custom rest endpoint to custom module in sugar, I created the after_save hook class and method, but now I'm stacked to how to call the api…
  • Subpanel create dosent trigger hook

    I am working in hook. When I create a record from subpanel it dosent trigger the hook. But when I use `link existing record` the hook is executing. Which hook should we use when `create` from subpanel. $hook_array [ 'after_relationship_add' ][] = array…
  • How can i override save button call?

    Hi Team, How can i override save button call. I want to right some logic at client side on click of save button. What is the correct way of doing it. Regards, Deepak
  • After_save logic hook not executed when a Process Definition creates a new record

    This logic hook checks whether a record is new and a checkbox is checked, then links an account to the record based on the related contact. It works perfectly when a user creates a new record, but not when created by a process definition. The process…
  • display contact data in custom list view

    I created a new module that has a many-to-one relationship with Contact. This module is intended to record the office visits for a contact. In the Office Visit list view, I would like to display additional fields from the contact for example, birthdate…
  • How to Remove List view some field sorting links.?

    I want to Remove Listview Sorting link from some fields.. for example- if I have Name ,Email,Class, program, Cources So i want to Remove clicable sorting link from class abd program.... Any One help me ... Thankz
  • Email Logic Hook - After save

    Hello, I would like to execute a specific code after an email is received. The code parses the email subject and do specific actions. I would like a more custom way than binding the email with a case from the subject ( [Case:XXX] to Case XXX) However…
  • before_save logic hook runs multiple times (not infinite)

    My before_save logic hook runs multiple times. How do only run this logic hook once? The following methods do not work. I have tried them both. Prevent a Logic Hook From Running Multiple Times http://support.sugarcrm.com/Documentation/Sugar_Developer…
  • Alter multiselect dropdown values dynamically

    Hi all, I'm using SugarCRM 7.6, and still learning every day. I have created a multiselect dropdown in a custom module using studio. I also created a dropdown list that is used by the multiselect dropdown. If I create a new record, choose some values…
  • Trouble fetching related in record.js

    Hello I am having a bit of trouble with getting data from a relate field in a custom record.js file. Below I have the code sample. I've been trying different data:sync:complete and render triggers. The function is called but I can't get the data out.…
  • create custom fields in cases_audit table and save ip address

    Hi Friends, I want to create a new column (field) inside cases_audit table and store the IP address of users who has modified or changed the audited field. I am using SugarCRM community Edition 6.5.21 . Any input would be of great help. Regards, AKG
  • Additional column into created records tab of import of custom module

    Hello All, Below is the screen shot of Created Records section of Accounts module(Import). While importing custom module records into custom module we will get only two Columns (fields) (Name and Assigned User Name) by default. Is there any way to add…
  • Installable package failed - "unable to load bean"

    Hi. I'm trying to install a custom package that turns "Opportunity Name" field required in the Quotes module but I get an error in the Log: Mon Apr 24 21:36:22 2017 [3491][01d5bbea-1fa2-11e7-afde-063b661e1dc5][FATAL] Unable to load bean Mon Apr 24 21…
« 6 7 8 9 10 »